Jump to content

[SOLVED] Ajaxified CMS need design guide


nadeemshafi9

Recommended Posts

hello guys

 

i have a very complex DB 60 tables m:m rels and im gona create a new interface to it which is click and update on the spot on the page.

 

 

ok i have tried a few ways with many frameworks

 

i mean i tried one way with no framework

 

 

i need to update a feild most of which are varchar enum or int

 

for these i will have different interfaces eg a multiple file uploader, an image uploader and other types of relationship makers and selection boxes.

 

i dont whant to have to make one for each tabel.

 

so i need to make a generic form building script which makes a form based on what table and what feild type.

 

anyways should i use framework like prototype, im finding it easier to use normal js as it has a normal syntax.

 

any ideas and any other ways i could go abouts making this ?

Link to comment
Share on other sites

You could try Zend_Form for a "form building script". You can take it out of the framework, but you would probably want to check its dependencies first.

 

what iv done is i have taken the old system and taken all the admin pages whith there controlers and views from the admin directory and copied them into a directory called AJAX

 

now i modified each so they work correctly and instead of submitting they call a js function to do a AJAX post

 

when i press edit on a page on the front end of the site the page element which i wish to update or edit is replaced with the admin page form

 

the response of which after update is pressed is the same front end page element which is re-read from the database and re displayed by the admin page into the front end via ajax response.

 

Link to comment
Share on other sites

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.