ajaxboy / cjax

Lightweight Ajax Framework built in PHP with no foot-print. Allows you to build ajax functionality with a single line of code & do so much more, right from the back-end!
http://cjax.sourceforge.net/
66 stars 27 forks source link

Suggestion for CJAX 6.0 #13

Closed HallofFamer closed 8 years ago

HallofFamer commented 10 years ago

Hi there, it seems to have been quite a while since the last release of CJAX 5.7. I have some ideas for how CJAX 6.0 may look like, assuming this is being worked on.

  1. Namespace usage: I think it is about time to move on to PHP 5.3+ and drop PHP 5.2 support, because namespace is awesome to use. Nowadays most webhost provides PHP 5.3 or 5.4 servers, so its really no need to compromise for old PHP users.
  2. Mouse events: I dont think mouse events are already in CJAX, I brought up the idea before and the developer seems to be interested in looking at it for future releases. So how about in CJAX 6.0? The events such as onMouseDown and onMouseOver can be quite useful.
  3. Drag and Drop: I also made a suggestion about drag and drop before, it seems that there is already a functionality $cjax->drag but it just doesnt do the job yet. Maybe in version 6.0 drag and drop will be in full action? or perhaps as a plugin?

So these are what I can come out with, if the next version is being worked on now will it be feasible to expect release someday in 2015? Or will there not be a major release any longer?

ajaxboy commented 10 years ago

Hi HalloofFamer,

Thank You very much for your suggestions!, I will comment on each one of your points below.

  1. Using namespaces is a great idea, however the usage of it, of better said - the purpose of it is to avoid conflicting name conventions, Cjax's code is very lightweight and relative small (not a whole lot of classes), hence rendering that addition needless at the moment. I would absolutely do that in a huge size project with characteristics that name conventions ambiguity are likely to happen on class name conventions. Don't know further down the road, but as of this moment, there are no plans to re-write Cjax using namespaces.
  2. You are right, this absolutely deserves some attention, and it is the direction it needs to go.
  3. This goes hand and hand with mouse events, and also can be looked into further.

Yes it is very feasible!

Again, thank you for your suggestions, and they will be taken into consideration. Feel free to make any more suggestions at any time.

HallofFamer commented 10 years ago

Thanks for your reply, I am glad you like the idea I proposed. So have you thought about the suggestions I made, and if I may ask, when do you plan to work on the next version of CJAX?