Welcome Guest, Not a member yet? Register   Sign In
Cjax 5.9 RC (CodeIgniter Ajax Framework)- Released!
#1

(This post was last modified: 08-29-2016, 12:47 PM by phpajax.)

Update:
Cjax RCx has been released: Download --- https://github.com/ajaxboy/cjax/releases


Hello everyone!,


I have exciting news,  just released  5.9 RC of the Cjax Framework (Library for CI),  includes more than 70 demos, examples and documents.

5.8 has been a super stable release, but it wasn't compatible with CI 3.x. I have taken the steps to ensure that 5.9 is fully supported integrated library in CodeIgniter.

It is ready for you, to jump into it.  This was suppose to be a maintenance release but there were alot of improvements made, so I am making it a release candidate, so you can try it out. This is production ready, but again  - making it RC to make sure you take it for test drive and I can hear some feedback before it can be considered 100% production stable.

Download Cjax 5.9 RC  https://github.com/ajaxboy/cjax/releases[/url]
[url=https://github.com/ajaxboy/cjax/releases/tag/5.9rc6]



Installation instruction:

Download zip and place the contents of the zip where you CI installation is,  merging it with your site.

Go to the browser and go to http://yoursite.com/ajax.php?test/test

replace 'http://yoursite.com/' with your actual site. You will see a screen telling you about the test, then click continue, and you should see a confirmation, to see if it was installed on your site correctly or not.

After you run the test, you can find your ajax controllers in:

application/response/test.php

Review Cjax documentation for CI:
https://github.com/bcit-ci/CodeIgniter/w...odeigniter


Here is what a CI  Ajax Controller look like:


PHP Code:
class Test extends CI_Controller {


   public function test()
   {
           $ajax ajax();


           $ajax->success("Cjax Library for CodeIgniter rocks!");
   }




If you like what you see, be sure to read though the documentation. I know the format of the CI wiki looks bad, this happened when they migrated the site.


Thank you everyone, and please please, try it out and let me know if you have any issues or problems!
Reply
#2

I must say it looks pretty good, and you have put a lot of work into it. I will definitely try it out when I get time. Thanks for all your work on this.
Reply
#3

(08-17-2016, 07:59 AM)PaulD Wrote: I must say it looks pretty good, and you have put a lot of work into it. I will definitely try it out when I get time. Thanks for all your work on this.

Thanks for your kind words, will definitely love to hear back on how it goes. No problem!, do let me know what you think, when you try it!
Reply
#4

i applaud your efforts and upgrading to codeigniter 3. this looks really great at first glance.
but if you want people to take this seriously they need to be able to read the documentation.
its not that this page looks bad - parts of this page are unreadable
https://github.com/bcit-ci/CodeIgniter/w...odeigniter
Reply
#5

(This post was last modified: 08-17-2016, 01:05 PM by phpajax.)

(08-17-2016, 12:26 PM)cartalot Wrote: i applaud your efforts and upgrading to codeigniter 3. this looks really great at first glance.
but if you want people to take this seriously they need to be able to read the documentation.
its not that this page looks bad - parts of this page are unreadable
https://github.com/bcit-ci/CodeIgniter/w...odeigniter

Thanks for your feedback, keep in mind there is documentation available at : http://cjax.sourceforge.net/examples/  (under docs, mentioned on the very first line "70 demos, examples and documents."),  that documentation should match the one in the wiki, and surpass it, I spent a great deal of time updating the docs and examples recently. The only thing that is actually different, is  how you create CI controllers,  but even that is covered in the examples that come along the installation, in addition to the example I provided above.  But you are correct, that is no excuse to have the docs broken.  Keep in mind that what is broken is the format not the actual content or context, presumably anyone can edit that page and fix the format. I have gone ahead and fixed some of the formatting. Thanks for the feedback and you have already contributed, and have made improvement by pointing out that issue.
Reply
#6

(This post was last modified: 08-19-2016, 05:17 AM by phpajax.)

Quick Update:

Cjax 5.9 RC3 has been released.

This is this release summary:

This release improves upon RC1 and RC2, it expands the payload system, and provides payload support larger range of elements.
It includes a new pagination plugin (http://cjax.sourceforge.net/examples/pagination.php)
, adds another plugin 'Spin Text'  (http://cjax.sourceforge.net/examples/spin.php) which introduces text effects into Cjax. It also fixes small defects found in RC1. It updates the CI integration.

The links above have been updated, feel free to download and let me know if you have any problems or questions.
Reply
#7

(This post was last modified: 08-18-2016, 02:25 PM by PaulD.)

That looks cool, but where is the option for how many records to show per page? Or have I misunderstood the function?

PS My bad - sorry! I get it now.
Reply
#8

(This post was last modified: 08-18-2016, 03:17 PM by phpajax.)

I implemented this plugin in a production site recently (along with the autocomplete http://cjax.sourceforge.net/examples/plu...mplete.php).

The number of items per page - assuming you are building a grid (or a list) of items displaying x number of items, is the logic that would (currently) go on the ajax controller that feeds  data to each page.

How many items you display on the page is not currently part of the pagination. I guess I get the idea in what cases you would use it. This is probably something that I can add.

On the site I implemented this plugin in,   is playing 24 images grid. Pagination send the page number, and from the page number multiplied by the number of items you want per page, would give you a pointer to the next set of items to display, but didn't need to pass the number of items wanted.

I guess you would want that number for some sort of filter/search function?. I used the autocomplete plugin  to narrow down the items.

If you can specify exactly the use case, I might get better idea.
Reply
#9

Hey thanks, but no it is fine. I got it. Great work still!
Reply
#10

(08-17-2016, 04:18 AM)phpajax Wrote: Update:
Cjax RC 2 has been released. Download Here.
What happened to http://cjaxboy.com?
Reply




Theme © iAndrew 2016 - Forum software by © MyBB