@Aki
Method 1
Create folders for each sub-site and serve sub-site from there
e.g http://tovuti.co.ke/name_of_subsite

Method 2
Serve sub-sites based on params passed to main site 
e.g http://tovuti.co.ke?site=name_of_subsite
content can be loaded from FS or DB

Method 3 (or Method 1B)
Instead of folders, and depending on your host, you can create subdomains using Server Siide Script/Bin and serve content from there 
e.g http://name_of_subsite.tovuti.co.ke

As for the content you can give the users an option to create, redirect, proxy or clone from existing (if rich in space)
_______________________________________________

Without requirements or design,
programming is the art of adding bugs to an empty text file.
_______________________________________________




2012/1/17 kris njoroge <krsnjo@gmail.com>

Maybe you would need a structure that is better defined. All content for coast falls under coast then your users would just be posting under the respective headings. How to stop one user from deleting other users posts or pages. You would need a user/access management module that would dish out the appropriate permissions. What you say is possible. Actually what would the user need to input - text and pictures, graphs etc. Unless mistaken you might be reinventing the wheel - drupal does exactly what you are thinking out of the box ok might need some tweeks but would do the job. Me thots

On 16 Jan 2012 21:24, "aki" <aki275@gmail.com> wrote:
I've been looking at this scenario, as part of it falls into the KPLC monitoring project: Suppose I created a website and I'd like the end user to be able to create their own blank web which I can add further components, is this possible?   

I don''t want to use a CMS to do this because using a CMS takes me away from my framework and would really annoy me. I already knew basics of some platforms but ignored them for frameworks sake. It would be really dumb and stupid to find myself limited once again, as I did on the desktop and game programming last year.  

Assume this : I have a main page which is the default site. Any end user would like to add their own web page to my site.  So the very basic website structure would be this :

Main Page > main content
Add New Page > for end users to add their own content. Once the end user creates the page, it will be automatically linked to the mainpage. 

so the main page link info would be this , e.g : www.nokplcpowerexample.whatever 
and the end user created page would be this , e.g www.nokplcpowerexamaple.whatever/centralarea
and another end user created page would be this, e.g www.npkplcpowerexample.whatever/coastalarea

Any suggestions?

Rgds. :-)









 


_______________________________________________
Skunkworks mailing list
Skunkworks@lists.my.co.ke
------------
List info, subscribe/unsubscribe
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
------------

Skunkworks Rules
http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
------------
Other services @ http://my.co.ke

_______________________________________________
Skunkworks mailing list
Skunkworks@lists.my.co.ke
------------
List info, subscribe/unsubscribe
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
------------

Skunkworks Rules
http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
------------
Other services @ http://my.co.ke