Micro Pages for Web 3.0 ?

More web 3.0 ideas

  • Build pages as collections of frames or iframes
  • Construct alternate access for pages to allow subsections to be delivered. This means a page could have a ‘full’ mode, or a ‘piece’ mode. ‘Full’ mode would deliver the entire page, ‘piece’ mode would deliver a designated piece of the page.
  • Use AJAX (with care), or dojo widgets (with care!)
  • Look into Google gadgets (I confess I haven’t done this yet)

Web 3.0 Implementation Ideas

This are very rough ideas.

Imagine requesting a page, identifying the start and end of the parts you are interested in, setting the BASE tag as appropriate, and leaving the contents of the HEAD section. That may deliver a functional page segment.

The idea is to pull in content from a page, that may not be constructed to deliver its content in segments. In other words, a traditional web page, intended to function as a unit - not a collection of elements.

Later refinements could filter unused elements to reduce the bandwidth requirements.

The Back/Forward buttons

If you have post data, the browser will alert you on Back/Forward buttons. Sometimes, this is inconvenient. An option is to calculate the length of the GET string, and if it is within your tolerance, whatever that may be, change the form method to “GET".

Works great. Very little effort. Code includes dojo.

/* Check to see if you can create a get string of less than 255 characters */
var aInputs=('id_of_first_input','id_of_second_input','etc');
var l=aInputs.length;
for (i=0;i<l;i++)
	if (dojo.byId(aInputs[i]) != null)	
if (sD.length < 255)

* Within your tolerance refers to the fact that different browsers and servers may function … differently.

PHP Sessions

I’m used to working on busy public servers. For my latest project, I have a server all to myself (what fun!). Could not understand why the sessions weren’t timing out.

The key php.ini settings that resolved the issue were the garbage collection numbers. After all, PHP doesn’t check the session files for timeouts on every request.

In addition, if you don’t assign a value to a session variable on every request, the timestamp on the file isn’t updated - so the session will timeout regardless of activity.


PHP Sessions




To use the cookie to limit the session length, regardless of activity, use session_set_cookie_params to set the lifetime of the cookie.


Web 3.0

Web 3.0 will be the aggregation of people’s presence on the web. It’s already happening with things like Google gadgets (maybe I’m behind the times). Imagine you participate in a social network or enjoy visiting a particular forum or blog. Instead of a simple RSS feed, you’ll be able to construct a page with those elements of those sites visible and functional. Sort of a portal into the parts of the web that are important to you.