Ajax Framework (CJAX) for Codeigniter 2.x+ |
[eluser]Ajaxboy[/eluser]
New Version Released 5.0-RC2 Some highlights: This release Fixes most of all IE issues. Extends the JavaScript Api - you now have access to ALL Js functions and Objects on the page. Adds speed to the overall framework - and to plugins, and provides options that can be used for easier development, it also adds an alternative to the current data processing for trouble shooting. This release also adds stability to the plugin system by proving the waitFor() function. Formatting fixes in IE and overlays, and other improvements, and other smallerer fixes, it also adds more options to the overlay. CJAX 5.0-RC2 June 11, 2012 Changes from RC1 TO RC2 * Support to access for ALL JavaScript OBJECS and Functions With the release of RC1, we gave you the ability to access all element's properties, now we are taking it a step further in RC2 - This is huge, and yes it means now you will have the possibility to access anything on the page through PHP. functions, methods, objects, window, document, element's functions and methods, everything!. Please Note: This is a brand new feature, and there is not enough time to get all these functions documented, there is no assurance that all javascript functions will properly sync. All this is done dynamically and there is not a "function per function" convertion. See below instructions of patterns and ideas how to access the rest of the objects/functions/methods/properties/elements. Again this is a brand new feature and it may change in the future. See: http://cjax.sourceforge.net/docs/php2jav.../about.php * Plugins New method - $plugin->waitFor() Waits for a script with a specified filename to load before triggering plugin. This helps to keep a clock on the plugin's execution which otherwise could fall into the asynchronous trap (loading and firing the before loading it's dependencies - or not being able to reach functionality that may affect loading APIs or synchronous APIs might have fired before the plugin has completely loaded and executed, hense unable to affect). This function is a flexible alternative to keep an exact clock and has proven very dependable so far. All depends on the type and size of the plugin or whether you are experiencing asynchronous "clock" issues. * Performance: Plugins Speed, and everythsing else's speed - This release is very important toward overall speed, and plugins speed, overcoming page load and shifting to Dom Load, now everything will load even faster. You will be able to notices the speed changes right away, for example in the uploadify plugin (download the new version of the plugin). These changes also affect the overall system, which will also trigger APIs faster. * Fallback: - Cjax currently depends on PHP SESSIONS to transmit APIs data over and across, some times some server might have issues with sessions, or from time to time session might seem not 100% reliable through the usage we're giving it. Currently the other option to fallback is COOKIES, but might prove on the same road. We have added a new setting which you may specify as $ajax->fallback = true;. This will remove the dependency on PHP SESSIONS and will automatically print a small script tag on the page which will serve the purpose. This is not a replacement on how the system currently works, it's just an alternative tool for these that might experience issues or to troubleshoot. * Config - while no configuration is required - we have added alternative options to allow you to easily debug, fallback, or other settings, through a config file. A new file in cjax/config.default.php is included, it allows you to configure these settings. You may also independently just call these settings like $ajax->debug = true or $ajax->fallback = true;. To make use of this config file you will need to rename it from config.default.php to config.php, this is to avoid it being overwritten in case you update/upgrade later. * Overlays now supports width property. * Overlay url now supports callback option - you may pass a callback within the settings and the requested contents will pass through the callback. Then you may manipulated before it is shown on the overlay. * Fixed some IE overlay formatting issues. Additionally, IE now plays nice with most of the demos, if not all. Download Quote:https://sourceforge.net/projects/cjax/fi...deIgnater/ Demos Quote:https://sourceforge.net/projects/cjax/files/Demos/ Plugins Quote:https://sourceforge.net/projects/cjax/files/Plugins/ Some links to the new stuff: http://cjax.sourceforge.net/docs/prepend_append.php http://cjax.sourceforge.net/docs/php2jav.../about.php |
Welcome Guest, Not a member yet? Register Sign In |