Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Feb 2007
    Posts
    37
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation template management

    Hi All,

    i have been asked to develop a website either in php or in one of java
    techonologies ( struts or jsp) the very important point in this site
    is that it has the following features...

    1)the will be used for any purpose ( i mean still now there is no
    specification for the purpose of this project ) it may be news site or
    university site ... or something else

    2)the administrator of the site will not be having the knowledge of
    computer languages which means that he is not well known with html or
    css or php or java technolgies so we have to provide him with all the
    functions so that he should be able to manage the site without calling
    the programmers.

    2)the administrator of the site will be having the rights to create
    new templates , those new templates are a series of wizards to follow
    in which the administrator can select new things like ( background of
    the site , font type , advertisement photos direction ( right or
    left ),.... ), so once the administrator finished the creation of the
    template , he can view it and save it existing templates...
    the administrator will be having the rights to edit and change those
    templates also

    3) the templates made by the administrator will be available for the
    users to be used ( but not to be edited or deleted).

    4)each end user will be having account ( user name and password)

    5) there will be default template which will be apply to the website
    for whole the users as default template ( take example the background
    is green , font type is arial ....)

    6)both the administrator and the end user will be having the rights to
    change the default template of the website into one of the existing
    templates (templates which made by the administrator)

    but note that , the the administrator can login and change the defualt
    template to tempalate no 2 so the website will viewed for him using
    template2 and at the same time it might be the end user 1 will be
    login but he can apply template no 5 so a the same time they are using
    the website and for both of them they are using different templates.

    7) the end user will be having the rights to made his own template
    ( so he can do exactly like what the the administrator did in step 2)
    but the difference is only that the template made by the end user will
    be available only to the end user who created the template and for the
    administrator of the site but it will not be available for other end
    users ).

    the end user can also have the rights to edit/delete the template
    ( but as we said only his own templates)

    8)so if the end user want to change the default template of the site ,
    he can have one of the following choices

    a) either to select one of the existing templates made by the
    administrator
    b) he can create his own template and save to the system and then
    apply it to the website

    9) the administrator of the site will be having the rights to edit/
    delete all the kind of the templates ( either created by himself or
    by end users ).

    my question is
    1)i need it urgently how i can implement that , i thought to make the
    templates inside css so that each template will be stored separetly in
    css sheet , but how about the editing of the template i will not be
    able to read the contents of the css and then update it again

    2) how the administrator will manage the templates

    3)is there any API (AJAX API, jsf or java based API) to apply the
    templates to the website and is there any API to manage the templates
    of the site . is it possible to do it in java script ( like what is implementing in igoogle and googlepages where the user can move the frames and banners as he wants)

    please reply me i need it urgently

    Thanking you

  • #2
    Regular Coder
    Join Date
    Sep 2007
    Location
    AZ, USA
    Posts
    685
    Thanks
    6
    Thanked 46 Times in 46 Posts
    This is in the wrong category. Javascript is completely different from Java. The java forum can be found here.

  • #3
    New Coder
    Join Date
    Feb 2007
    Posts
    37
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation

    Hi thanks for your reply ,

    but have read from the internet that we can manage the template using css and java script , but i dont know how?????

  • #4
    Regular Coder
    Join Date
    Sep 2007
    Location
    AZ, USA
    Posts
    685
    Thanks
    6
    Thanked 46 Times in 46 Posts
    Strictly speaking, yes, you could template using external javascripts and document.write or another method. However, php or other server side includes are much better. It sounds like you would be better off with a CMS - content management system. The rundown in regards to your requirements:

    1) Native. It can be used for any purpose whatsoever.

    2) Native. It requires little to no technical knowledge to set up and even less to update and use.

    3) You would have to create that as an extension to the CMS. It would most likely be possible with PHP, Javascript, HTML, and CSS, perhaps with a little XML thrown in depending on the requirements of the CMS.

    4) Native+some extentions

    5) Native

    6) Native

    7) Possibly in some extensions, may require you to make your own

    8) See above

    All of the above features are mainly based on my experience with Joomla. There are other CMSes, such as Wordpess, Drupal, etc. The alternative to using a CMS would be basically creating your own.

    HTH, ~binaryWeapon


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •