# cjax **Repository Path**: mirrors_glensc/cjax ## Basic Information - **Project Name**: cjax - **Description**: Ajax Development Framework built in PHP and JavaScript - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-24 - **Last Updated**: 2026-03-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Cjax Web Development Ajax Framework ## Requirements + PHP 5.2+ + Strict Standards turned off ## Links Official Site: http://cjax.sourceforge.net/ Official Repo: https://github.com/ajaxboy/cjax Official Download Location: https://sourceforge.net/projects/cjax/files/ ## Instructions This reposition is for Folk only and contributions only, for downloads go to: http://cjax.sourceforge.net/. We build the releases internally because there are different packages that derive from this project (examples, plugins, docs, and 2 versions of Cjax). ## Introduction Cjax is a small lightweight but very powerful Ajax Framework that translate PHP Code into User Interface Actions. It can help to develop Ajax applications in record time, saving you up to 60% of development time once you are familiar with the simple to use Cjax API. Cjax is simplistic and uses Convention Over Configuration model approach. With its MVC design makes it quite easy to integrate into existing PHP-Frameworks (such as Zend, CodeIgnater, cakePHP, Yii, etc). In most cases all you need is one line of code. Cjax carries a plugin system (as well as the core) that makes PHP and JavaScript look like lovers, meaning that it is the most seemless integration of PHP and JavaScript that you can find. Unlike others libraries that try to mimic Cjax, for cjax there is no 'client' side involved, there is no inlines codes, there is no process request, all you need is your php code and that's it. Cjax is so easy to use that even a 12 year old could figure it out, go ahead, give it a try. ## Example code Check the a lot of examples and code at http://cjax.sourceforge.net/examples/ ## Full API Documentation http://cjax.sourceforge.net/docs/ (Also anyone can contribute/folk to the docs on this repo). ## Documentation It's really simple as ## The CJax's way, one line of php code does it all ## Example #1 - Ajax Call ```php click('#element_id' , $ajax->call('controller/the_function/')); ?> init();?> Click me ``` ## Example #2 - Ajax Form ```php click('#element_id' , $ajax->form('controller/the_function/')); ?> init();?>
Field #1
Field #2
Click me To Submit Form
``` ## Example #3 - Ajax Overlay, Lightbox ```php click('#element_id' , $ajax->overlay('some/splash/html')); ?> init();?> Click Show Overlay ``` ## 40+ more examples here: http://cjax.sourceforge.net/examples/