Jump to content

Recommended Posts

Hi guys, this is my first post in this forums :D

 

Well, I'm having huge problems with the admin panel of my cms, the thing is that I designed it to use ajax, but, if you try to send certain characters(& for example) or to make a module, it's a huge pain in the ass. So, I have a few question:

 

1)What should I do?

  a) Don't use Ajax, use an iframe and load the subpages there

  b) Keep using ajax

 

If you think b is better, then:

2) How do you guys use ajax on things like that?

3) Should I use an ajax framework?

3) Wich one?

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/52040-problem-with-admin-panel-and-ajax/
Share on other sites

I think you should use ajax, but via a framework like you said which should take care of the headaches for you. The two best in my opinion are Prototype http://www.prototypejs.organd Dojo http://dojotoolkit.org/. Dojo is a little more technical but flexible (maybe?) Prototype is more flash. I prefer Prototype in most situations.

Dojo is really impressive, I'm checking out prototype right now. But do you know a framework, but with server side functions? because, the main problem is there. Is a huge pain in the ass having to add really long urls that not always work and take a lot of time to make ajax work properly, I want, for example, that having this code:

<a href="somewhere.php" id="something">things</a>

It loads the somewhere.php in a div tag, same thing with forms.

 

Do you know any of the kind?

 

thanks

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.