![]() | |
![]() |
| | Thread Tools | Display Modes |
#31
| |||
| |||
|
|
I've been thinking about an alternative approach, whereby the page is built on the fly with various AJAX calls to the server to pull in the necessary components. In the extreme, I could visualize doing away with Perl generated pages entirely. All pages are HTML, with AJAX calls to the server. The responding scripts would return JSON or XML data which would be interpreted on the client side as required. |
|
If a webpage is created on the client with multiple requests back to the server for content, then that webpage can't be saved for later offline viewing. |
#32
| |||
| |||
|
|
On Jun 1, 4:53 am, Dan Rumney <dancr... (AT) gmail (DOT) com> wrote: I've been thinking about an alternative approach, whereby the page is built on the fly with various AJAX calls to the server to pull in the necessary components. In the extreme, I could visualize doing away with Perl generated pages entirely. All pages are HTML, with AJAX calls to the server. The responding scripts would return JSON or XML data which would be interpreted on the client side as required. [...] I also started playing with this idea some months back. i wrote a post on this subject: http://schettino72.wordpress.com/200...script-widget/ |
|
I am successfully using this approach to design js widgets. |
#33
| |||||
| |||||
|
|
[...] I also started playing with this idea some months back. i wrote a post on this subject:http://schettino72.wordpress.com/200...-javascript-wi... The script is junk, or as you would put it, bullshit, as it does not degrade gracefully. [...] |
|
VK, PointedEars, Please don't hijack this thread to bicker about accessibility. |
|
(I wonder why people who want to build widgets don't start with something obvious and simple, say, form controls.) Thats easy. It is because people that want to build widgets dont want |
|
Next, please. |

|
PointedEars P.S. Since Dan is a Google Groups user and does not post with only e-mail address in the From header, he must have subscribed to this newsgroup (as you probably have). Therefore I doubt he appreciates your Cc:ing him unsolicited. |
#34
| |||
| |||
|
|
Thomas 'PointedEars' Lahn wrote: [...] I also started playing with this idea some months back. i wrote a post on this subject:http://schettino72.wordpress.com/200...-javascript-wi... The script is junk, or as you would put it, bullshit, as it does not degrade gracefully. [...] hehehe. good one. I guess you didnt get it. It is clear to everybody in this thread that we are not discussing about accessibility. remember? On Jun 1, 6:31 pm, Dan Rumney <danrum... (AT) warpmail (DOT) net> wrote: VK, PointedEars, Please don't hijack this thread to bicker about accessibility. |
#35
| ||||
| ||||
|
|
On Jun 1, 4:53 am, Dan Rumney <dancr... (AT) gmail (DOT) com> wrote: |
|
I also started playing with this idea some months back. i wrote a post on this subject:http://schettino72.wordpress.com/200...-javascript-wi... |
|
Note that you dont need necessarilly to get your json(or whatever data) from an AJAX call. I am passing the initial data data on div with display set to none. this way it is possible to save the page and see the content again offline. of course this would work only if the data is not modified dynamically. not sure your requirements ... but thats an idea. |
|
cheers, Eduardo |
![]() |
| Thread Tools | |
| Display Modes | |
| |