Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
3 + 9 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
   

Re: an ajax aproach in theme
by farshid on 2007/3/13 7:38:56

Hi all;

as I think the code I am working on, has exceeded the concept of just being in the theme area I have started a new thread here: https://xoops.org/modules/newbb/viewtopic.php?topic_id=57726&forum=8

so I will continue to post there, if some webmasters here finds it possible to merge these 2 threads, I will appreciate the time and effort of doing so.

Thanks.
Re: an ajax aproach in theme
by rabideau on 2007/3/11 14:40:28

Hi all,

For those who'd like to see (and help further develop?) Ajax based themes, we have a small project started on http://helpxoops.info.

This effort is based upon Damasters materials (actually it is his materials without modification, right now).

A great demo site to view this in action is: http://demo.xoopserver.com/

Any takers???? Stop by and register to help at: http://helpxoops.info
Re: an ajax aproach in theme
by xguide on 2007/3/7 8:49:04

Hi Farshid,

Glad to see you around.
I would not say that JSON is completely secure.
But with XMLHTTPRequest + JSON we get the best performance
(easier to code and i believe to fix too).



P.S. Damaster works is based on some array/object issue reported by Joe. I'll check the code and post here or pm.
Re: an ajax aproach in theme
by farshid on 2007/3/7 8:40:26

OOPS, read it right now, thats OK, we will switch to JSON, I just need some time.
Re: an ajax aproach in theme
by farshid on 2007/3/7 8:32:33

OK, I got what you mean, some how;
I want you to explain this a little bit more, cause I think an Ajax request could not call something out of its resided domain, correct me if I am wrong, what I have got from your post is that the problem here is the XML format used to send data which you suggest to be replaced with JSON, so please let me know what is the advantage of using JSON instead of XML, if your reasons are enough we will for sure make it work through JSON.

I will give JSON a try, I have not used it before but I know it is possible to use it with Rico and as you said it exists is prototype library; this way our next step will be to make these scripts work through JSON, not XML, If I have got what you mean we should out put page and blocks data via JSON... is that OK with you?
and do you think this will solve some problems?

I am waiting for any suggestions and data on the matter.

Who's Online

204 user(s) are online (137 user(s) are browsing Support Forums)


Members: 0


Guests: 204


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits