wiki:Event/2011/GSoC/WebSetup

Version 4 (modified by anubhav, 11 years ago) ( diff )

--

WEB SETUP NEW ARCHITECTURE

http://uploadphotos.co.in/wp-content/uploads/2011/04/new_structure.jpg

Workflow And Summary

There are 2 methods to acivate the WebSetup :

  • Going directly to the web setup this will call the selector for the path of the correct Eden . This is extremely important in the case there are more than 1 Eden
  • Either clicking on the Setup on the index page of Eden .In this case selection is not needed as the session variable will be set from the URL post

After this, the file containing the dict of settings and modules in the Eden are copied in The modules of the Web setup and made to run.

  • if this is not possible i.e. the file containing the dict is not there then the s3cfg is copied and made to run so that the file containing the dict is made

After this the 000_config is parsed to modified_config and made to run

  • This will initialize the default values of the dict and postulate the correct syntax of 000_config

Then we will generate a login page using the index

  • This will contact the database of the correct Eden to make the admin login if the the setup has been run once (this can be easily idebtified by the 000_config)
  • No login page if there is setup is run for the first time

The forms for each setting is displayed ==

  • these forms are generated using

WEB SETUP OLD ARCHITECTURE

http://uploadphotos.co.in/wp-content/uploads/2011/04/old_structure-3.png

Note: See TracWiki for help on using the wiki.