|
AJAX News: stay one step ahead with the very best and latest in AJAX
from around the world
[ Stay informed: click here to bookmark this page ]
If you want to make your website truly interactive, you might want to take a look at our JavaScript Editor. Your visitors expect to be able to be active in the browser and not download everything to his/her computer. Finally, the people behind websites such as online pokerrooms are starting to realize this fact.
Jump to latest AJAX news by SWIK, AJAX Matters and Ajaxian:
AJAX News on SWIK.net
Ajax on SWiK
Popular Toolkits
Ajax or Asynchronous Javascript and XML as it was first termed, is shorthand for Javascript UI development, particularly Javascript development that uses the XMLHttpRequest object. XMLHttpRequest and other techniques used to communicate to the server from Javascript prompted the invention of the word, using these techniques Web UIs driven by Javascript may be made more interactive with server data and more responsive, as small fragments of data may be exchanged efficiently bet
1 hour ago Passing objects in JSON representation from javascript (JSNI) to gwt java code and parsing them as objects
1 hour ago
1 hour ago
1 hour ago
2 hours ago
2 hours ago
2 hours ago
2 hours ago
2 hours ago
1 day ago
2 hours ago
2 hours ago
2 hours ago
eBooks have gone mainstream, and right now the open ePub format is getting a lot of attention, being the iPad’s book format of choice. Often overlooked in gadget-centric media is the fact that ePub is based on web standards, and therefore amenable to being rendered in the browser, sans plugins. Pure Javascript ePub readers are starting to crop up, and Keith Fahlgren has written about several of them:
Just in the last few days, details emerged of two new JavaScript ePub readers, rePublish from Blaine Cook (@blaine) and JSEpub (screenshot) from August Lilleaas (@augustl). These two new readers join @liza?s epubjs, which will be a year old on Tuesday. An improved version of epubjs powers the ePub Zen Garden, which helps ?dispel the myth that digital books can’t also be crafted works of visual design.?
All are open source, and as Keith notes in the comments, there’s also the commercial BookGlutton project. BookGlutton (which we covered earlier) shows the promise of browser-based eBooks: it lets you embed books as lightbox-powered widgets, and supports annotation.
The underlying structure of ePub is described on wikipedia:
EPUB consists of three specifications:
Open Publication Structure (OPS) 2.0, contains the formatting of its content.[5]
Open Packaging Format (OPF) 2.0, describes the structure of the .epub file in XML.[6]
OEBPS Container Format (OCF) 1.0, collects all files as a ZIP archive.[7]
Basically, EPUB internally uses XHTML or DTBook (an XML standard provided by the DAISY Consortium) to represent the text and structure of the content document, and a subset of CSS to provide layout and formatting. XML is used to create the document manifest, table of contents, and EPUB metadata. Finally, the files are bundled in a zip file as a packaging format.
In the case of unzipping, Keith points out the inflate library has been around since 1999. One can imagine other applications for zip too; for example, it’s often used as a format for bundling code (Java JARs, Python Eggs, Firefox and Chrome extensions), so reliable unzipping makes it possible to build browser-based IDEs and exploration tools against such archives.
2 hours ago
If you know you think you know your objects from your arrays and your null from your undefined, here’s a quiz for you from Perfection Kills.
I was recently reminded about Dmitry Baranovsky’s Javascript test, when N. Zakas answered and explained it in a blog post. First time I saw those questions explained was by Richard Cornford in comp.lang.javascript, although not as thoroughly as by Nicholas.
I decided to come up with my own little quiz. I wanted to keep question not very obscure, practical, yet challenging. They would also cover wider range of topics.
There are fourteen questions in all, starting here:
(function(){
return typeof arguments;
})();
?object?
?array?
?arguments?
?undefined?
3 hours ago
Implementing AJAX technology can be a hit or miss thing. Do it well and you'll have users raving over the slickness it provides to the general user experience while if you mess it up, you'll be at the receiving end of their wrath. Here are 24 tips to guide you with implementing AJAX technology within your web application.
AJAX MattersAJAX News from AjaxianAjaxian » Front Page
Cleaning up the web with Ajax
by Michael Mahemoff
3 hours ago If you know you think you know your objects from your arrays and your null from your undefined, here’s a quiz for you from Perfection Kills.
I was recently reminded about Dmitry Baranovsky’s Javascript test, when N. Zakas answered and explained it in a blog post. First time I saw those questions explained was by [...]
by Michael Mahemoff
3 hours ago eBooks have gone mainstream, and right now the open ePub format is getting a lot of attention, being the iPad’s book format of choice. Often overlooked in gadget-centric media is the fact that ePub is based on web standards, and therefore amenable to being rendered in the browser, sans plugins. Pure Javascript ePub readers are [...]
by Chris Heilmann
23 hours ago It is quite interesting to see how technology moves in circles. With canvas being the new fun toy to play with for creating browser-based games we have to find solutions to fake a 3D environment to be really fast (sure there is Canvas 3D but it is overkill for most games). The trick is to [...]
by Dion Almaer
1 day ago We have been long term fans of Román and the fantastic demos and samples that he puts together, usually involving CSS goodness. We messed up the other week though when we linked to his work on a scrolling coke can. I do these postings as a labor of love, and since Ajaxian isn't my day [...]
by Dion Almaer
1 day ago Mozilla Labs has released the magical 1.0 version of Weave and the doors are now open for developers.
When I was a part of Mozilla Labs day to day, I always loved the vision and team behind Weave. I kept wanting the implementation to match the vision, but it is a tough problem and it takes [...]
by Dion Almaer
4 days ago Anthony Calzadilla has a fun Friday example for us. He has a tutorial on how he animated an AT AT using CSS.
He goes over the different areas and how he uses animation and transforms.
For example, the head of the beast:
PLAIN TEXT
CSS:
@-webkit-keyframes rotate-head{
0% {-web translate(0px,0px);}
40% {-web translate(15px,5px);}
80% {-web translate(8px,5px);}
100% {-web translate(0px,0px);}
}
#atat #head [...]
by Dion Almaer
5 days ago Fan of Eiffel or the design by contract pattern that it espouses?
Řyvind Kinsey is, and he just created jsContract an alpha library to give you some pre and post condition abilities.
Here is an example:
PLAIN TEXT
JAVASCRIPT:
function _internalMethod(a, b){
Contract.expectNumber(a);
Contract.expectNumber(b);
Contract.expectWhen(config.mode === "divide", b> 0, "Divisor cannot be 0");
Contract.expectWhen(config.mode === "multiply", [...]
by Dion Almaer
6 days ago Aaron Boodman created Greasemonkey back in the day. He also worked on Gears. And most recently he created Chrome Extensions. I have a funny feeling that folks were pinging him daily "hey, when ya gunna give me Greasemonkey on Chrome" and he just delivered:
One thing that got lost in the commotion of the extensions launch [...]
by Dion Almaer
6 days ago A Googler and a Facebooker were in a pub discussing the complexities of building out a rich modern Web application. There are a ton of dependencies, and you need to be proficient in multiple languages and tools (JavaScript, HTML, CSS, SQL/NoSQL, backend languages, build tools, etc).
Well, they may not have been in a pub.... but [...]
by Brad Neuberg
7 days ago SVG-Edit is a nifty open source editing web app that uses SVG and doesn't need a server-side:
The SVG-Edit team recently announced SVG-Edit 2.4, code named Arbelos. New features include:
- Raster Images
- Group/Ungroup
- Zoom
- Layers
- Curved Paths
- UI Localization
- Wireframe Mode
- Change Background
- Draggable Dialogs
- Resizable UI (SVG icons)
- Convert Shapes to Path
Try out the demo [...]
by Dion Almaer
7 days ago The following post is a reprint from my personal blog. It is editorial in nature and even delves into random politics. I apologise. You can deal with it though :)
Steve Jobs didn't hold back when talking about Google and Adobe. That is great. Life is so much more fun when people speak their mind. I [...]
by Dion Almaer
8 days ago What can you do if you want to enable a fullscreen experience on the Web? You can't. Or, use Flash. Some claim that you shouldn't offer this ability as it is a security liability. Someone can put a fullscreen view that tricks the user into giving it information.
However, as much as I think user security [...]
by Chris Heilmann
10 days ago As part of an upcoming article on geo location I am putting together a few Geo Toys for myself and here is the first one. Addmap.js is a JavaScript that analyses an elements text content, finds geographical locations and links them to Google Maps. It also adds a map preview and a list of the [...]
by Dion Almaer
12 days ago The Freeciv.net crew has benchmarked a path in their canvas game. It is one data point, and tests more than just Canvas itself because a lot of code is running in the game. Thus, it ends up testing the union of a particular JavaScript path and the rendering of the canvas.
Here are the results:
With Bespin [...]
by Dion Almaer
13 days ago Román Cortés is having a lot of fun with CSS tricks these days. He just built an example rolling CSS coke can that uses background-attachment, background-position, and a few other tricks to get the effect. No fancy CSS3 needed here!
The key pieces used:
PLAIN TEXT
CSS:
p {
background-image: url(coke-label.jpg);
background-attachment: fixed;
[...]
...
|