Because of its ability to communicate with the server, the XMLHttpRequest object (XHR), used in the technology Ajax (an acronym for Asynchronous JavaScript and XML, which should be pronounced "egiacs" although we prefer Italian "aiacs"), has a security lock that prevents you from running applications outside the domain in which it operates. This protection is necessary to prevent JavaScript Injection (techniques of "injection" extremely dangerous code in order to break the system) of various kinds, with the ultimate objective of "break" in the system.
This limit is now taken seriously and you're thinking, somehow, to solve it - directly into the XmlHttpRequest - without compromising security (see also: Third Proposal for cross-site extensions to XMLHttpRequest ).
Whatever the situation today is as follows:
Continued ...
It is available to update the Aptana IDE , the Web development environment that supports Adobe AIR and Apple iPhone . Among the changes include the improvement of the section with the update of the PHP Code Assist functions on both parameters. Also improved the "color" of the code. Added support for latest Ajax frameworks including prototype.js and jQuery . Also improved handling of Javascript.

For the complete list of new features click here .
Continued ...
The insertion of objects (especially Flash Objects) in web pages has recently become an often stressful. In other posts we have already addressed the topic of how to detect Flash and insert pages appropriately. As we talked about Unobtrusive techniques, we mark two well-known script can detect (and eventually install) and insert Flash objects on a page, in a very unobtrusive and afficiente: SWFObject and UFO .
Both scripts have essentially the same features and the same operation. The approach is to replace it with a particular tag using Javascript on your browser. As we know, this procedure eliminates the problem of activation of the Flash object imposed by Internet Explorer, however, implies that Javascript is enabled on the target browser.
Both scripts do not use any external libraries such as prototype.js for example. The most important difference between the two is that SWFObject is called when the TAG to be replaced is already loaded on the page, not exactly how Unobtrusive. Here is an excerpt of code that shows the call sequence:
1 2 3 4 5 6 7 8 9 10 11 12 13 14
| "flashcontent" > < div id = "flashcontent"> strong > < strong > You need to upgrade your Flash Player </ p > This Is Replaced by the Flash content. Place your alternate content here and users without the Flash plugin or with Javascript turned off will see this. > noscript < / code > Content here allows you to leave out < code inline = "true"> noscript </ code > tags. "swfobject.html?detectflash=false" > bypass the detection < / a > if you wish. Includes a link to < a href = "swfobject.html? detectflash = false"> bypass the detection </ a > if you wish. </ div > "text/javascript" > < script type = "text / javascript"> / / <! [CDATA [ , "sotester" , "300" , "300" , "9" , "#FF6600" ) ; var so = new SWFObject ("so_tester.swf", "sotester", "300", "300", "9", "# FF6600"); ) ; // this line is optional, but this example uses the variable and displays this text inside the flash movie so.addVariable ("flashVarText", "this is passed in via FlashVars for example only") / / this line is optional, but this example uses the variable and displays this text inside the flash movie ; so.write ("flashcontent"); / /]]> </ script > |
UFOs , however, allows un'approccio much more in line with the classic Unobtrusive script. The replacement of the TAG is in transparent mode without loading abbligare sequences, as shown in the example below:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
| < head > title > < title > Unobtrusive Flash Objects (UFO) | Sample Page </ title > "Content-Type" content = "text/html; charset=iso-8859-1" / > < meta http-equiv = "Content-Type" content = "text / html; charset = iso-8859-1" /> "text/javascript" src = "ufo.js" >< / script > < script type = "text / javascript" src = "ufo.js"> </ script > "text/javascript" > < script type = "text / javascript"> var FOR = {movie: "test8.swf", width: "300", height: "120", MajorVersion: "12", build: "0", xi: "true"}; UFO.create (FOR, "ufoDemo"); </ script > </ head > < body > "ufoDemo" > < div id = "ufoDemo"> p > < p > Replacement content </ p > "border: none;" / >< / a >< / p > Macromedia Flash Player "style =" border: none; "/> </ a > </ p > </ div > </ body > |
In the source code of the script of UFOs , in fact, you can immediately use - more appropriate - an event that careful loading the page before you complete the replace operation; approach therefore extremely well suited to most scripts are not intrusive.
Continued ...
Adobe has finally released the alpha version of Apollo . We are still far from the final version, but you can check out some of its features with the demo applications (. air) proposals online. The installation ( Apollo runtime ) of this Alpha weighs about 6Mb - for Windows. The Demo (Apollo sample applications) do not weigh even 600Kb. After installing the Apollo runtime will seem nothing changed on your PC (not added any links on the desktop or taskbar), even though you have installed - in fact - the new browser from Adobe! See Web2.0: Adobe is trying to Apollo?
Continued ...
Xopus is an XML editor (HTML) in WYSIWYG mode operating within the browser. I had already noticed some time ago, thanks to an article released on Ajaxian . I mention this now because it remains an interesting proposal in the landscape web2.0/editor. It is an interesting experience! Xopus has developed really well (with Italian support), with an excellent implementation of the context menu, although still not fully cross-browser, the current release 3.1 is supported only Microsoft Internet Explorer (version 6 and 7 ), however the developers have promised as soon as at least a compatible version with Firefox (February 1 has been released in alpha version 3.1.1 is compatible with Firefox 2.0 +).
As discussed elsewhere, the question of compatibility (cross browser) via the browser, and penalizes slows the development of tools, not even using special technologies such as Java applets or Adobe Flash, could bring a significant contribution to the Community! Conttibuto impeded - eventually - from unnecessary internal battles of the current producers of browsers: IE, Firefox, Opera, Mozilla, Safari, ...!
Viewing the demo will also see something more than simple HTML editor, to put it bluntly. Xopus proposes is the classic structure of the editor, the style and advanced features of Microsoft Word. You can, in fact, enter the page real smart objects that meet certain characteristics, making Xopus a particular case.
As indicated on the website:
Xopus is a good solution for Any Business That Has a back-end content management system and in-front-end publishing systems and two systems Which Therefore use the examination information. That structure to information, to Make Both Ends Meet, Therefore is a must.
You can watch a video demonstration that introduces the advanced editing features. Also you can try a demo directly.
Continued ...
It is available online version of Firefox 3.0 Alpha 2 , code-named Gran Paradiso. Among the features announced (the final version is expected in late 2007) we can use the browser off-line mode. All this reminds Adobe Apollo, which, although not present it as your browser, it evokes the essential features.
Continued ...
Latest Comments
Mark : @ Mark: Thanks for the answer. For example, if you have a code to save / use the folder ...
Mark : Thanks for the answer. For example, if you have a code to save / use the folder ...
Giovambattista Fazioli : @ Mark: in principle, absolutely, a lot depends on how and what to download. La. ..
Mark : Hello, good guide! I wanted to ask, you can use the same code to run a sql database? Instead of ...
Joseph : Hi I wanted to ask you how you can do in the post I uploaded a gallery of 50 images, for example, ...