Sample Application
Download This Application
This is a sample web application built using ash.MVC framework. This sample application may be called an "Article Management Application".

What Does This Application Do?

This application provides facility to add, edit and delete articles which has attributes like date/time, title and content of an article.

Technologies Used

PHP5, MySQL

License

You can use and modify sample code for any commercial or personal use. If you like, please provide a reference or link to our website http://ash-mvc.org

Installation Procedure

  1. Place the file sampleapp.zip to any directory with webroot and unzip. This action will create a directory called "sampleapp" and all files of the sample application will reside in it including this readme file.
  2. Create a MySQL database called "article" and dump the SQL located at "doc/article.sql" into this database. This SQL files contains all schema and sample data required to run the application.
  3. Update database parameters in the config file "cfg/cfg.inc.php" as needed.
  4. Insert the URL http:///sampleapp/ to use the application. You may use username "admin" and password "admin" to login into application. Please note that there is another user called Visitor (Username: visitor; and password: visitor) who has all access privileges except the deletion of articles.

List Of Directories And Files

|--index.php
|-- readme.txt
|
|-- doc
|   |-- article.sql
|
|-- cfg
|   |-- cfg.inc.php
|
|-- gui/html/
|   |-- footer.html
|   |-- header.html
|   |-- login.html
|   |-- article_list.html
|   |-- article_add.html
|   |-- article_edit.html
|   |-- no-access.html
|
|-- gui/js/
|   |-- scw.js (3rd party javascript for displaying calandar. You can change
         the output date format by changing the variable value as var
         scwDateOutputFormat = 'MMM DD, YYYY'; ( On line 351 ); and you can
         change the display colors as from line 486 - 633)
|-- gui/style/
|   |-- style.css
|
|-- gui/img/
|   |-- contains all image files
|
|-- app
|   |-- login.php
|   |-- index.php (Controller File)
|   |-- logout.php
|   |-- no-access.php
|
|-- lib
|   |-- login.cls.php (LOGIN CLASS )
|   |-- db.cls.php (DATABASE CLASS)
|   |-- news.cls.php (CONTAINS ALL MANIPULATION CODING OF ARTICLE)
|
|-- FCKeditor (3rd party tool for incorporating wysiwyg editor)

Download This Application
    (ZIP File – Readme File inside)
Get Download Files Review Project Dashboard Know Plan And Wishlist