Purpose:
To easily add pages to a website, this is primarily for pages that are topic or article-based. Once the project is advanced enough, some templates may include photo galleries or more intricate modules within the pages themselves.
What it Does:
- Adds Pages
- Modifies Pages
- Deletes Pages
- Retrieves Pages
Frameworks or Modules built by Third Parties:
These modules are used in this project.
- Kohana - PHP Framework using the MVC pattern
http://kohanaphp.com/ - Moxiecode's TinyMCE - JavaScript Rich Text Editor
- Moxiecode's Image Manager - Image manager to upload images and place them in the rich text editor, allowing the administrator to place the image how they like.
- jQuery (JavaScript library)
Note: Some files are part of the modules being implemented as 3rd party tools, so those won't be explained in depth, such as all the utility JavaScript files associated with the rich text editor (tinyMCE).
- Kohana PHP Framework
- app_name (usually app_website_name like app_lvgloves)
- controllers
- admin.php (might be better to be pages.php later)
This file has functions for managing the pages. The functions this file contains isn't for displaying the pages as would be viewed on the public portion of the website. - public.php - (might be sitename.php) This is normally the primary controller for the public view of the website.
- admin.php (might be better to be pages.php later)
- models
- pages.php
- pages_sections.php
- pages_links.php
- public
- css
- admin
- common_admin.css
- admin
- js
- css
- controllers
- models
- app_name (usually app_website_name like app_lvgloves)
- TinyMCE
LVGloves.com will be used for the example website that this project would be built for. The files are relative to the root directory. The listed files below covers both the admin and the way the pages are assessed from the public end as well.
app_lvgloves/controllers/admin.php
app_lvgloves/controllers/medical_store.php
app_lvgloves/models/pages.php
app_lvgloves/models/pages_links.php
app_lvgloves/models/pages_sections.php
app_lvgloves/public/css/editor.css
app_lvgloves/public/css/admin/common_admin.css
app_lvgloves/public/css/admin/pages/edit.css
app_lvgloves/public/css/admin/pages/manage.css (not finished)
app_lvgloves/public/css/medical_store/common_medical_store.css
app_lvgloves/public/js/admin/pages/edit.js
app_lvgloves/views/admin/view_pages_edit.php
app_lvgloves/views/admin/view_pages_manage.php
app_lvgloves/views/medical_store/template_medical_store.php
app_shared/public/js/jquery/form/form.populate.min.js (should be moved to the utils dir and renamed with its version)
app_shared/public/js/jquery/utils/seo/keywords.js (should be keywords.1.0.js)
app_shared/public/js/jquery/jquery-1.3.2.min.js
app_shared/public/js/tinymce/jscripts/tiny_mce/plugins/imagemanager/login_session_auth.php
app_shared/public/js/tinymce/jscripts/tiny_mce/plugins/imagemanager/config.php
Tables Used:
pages
pages_links
pages_sections
Files used in the creation or update of a page:
This is where pages are added or edited. This is essentially where the administrator sees a rich text editor to edit or create content for a page.
Files used in the management of pages:
This is where an administrator can search for pages that were created in order to edit or delete them.
Related Projects:
- Project Manager (concept phase)
- Note Manager (concept phase)
- Custom Blog with SEO in mind during it's inception. (concept phase)
What the CMS does
No comments:
Post a Comment