Skip to content

A simple directory structure for Website development using PHP for backend

Notifications You must be signed in to change notification settings

swarmukh/simple_webdev_framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple_webdev_framework

A simple directory structure for Website development using PHP for backend

Description

A simple directory structure and basic PHP as well as JS functionalities are provided for easy development of any web application. Currently, configuration for only Apache is supported.

Features

  1. All resources are, by default, private and hotlink-protected
  2. Direct access to all resources is not allowed
  3. Sample error-document templates are provided
  4. Prevent older browser support with fallback as custom page for list of browsers to download if the user uses any unsupported browser
  5. Project-wide configuration for credentials from a single point
  6. SNS support for Google+, Twitter, OpenGraph and Bing
  7. PHP-Mailer provided pre-setup for sending mails using SMTP
  8. w3.css/w3.js provided as lightweight CSS/JS framework

All the above features can be changed to suite the demand of the work.

Directory Structure

project_root
|- Resources/
   |- Documents/ (* Put all your documents here *)
   |- Images/
      |- Browsers/
      |- Logo/
      |- Menu/
      |- Platforms
      |- SNS/
      |- Logo
   |- Includes/
      |- Forms/ (* Put all your forms here *)
   |- Scripts/
      |- Backend/ (* Put all your PHP files here *)
         |- Common/
         |- Library/
      |- Frontend/ (* Put all your JS files here *)
         |- Library/
   |- Styles/ (* Put all your stylesheets here *)
      |- Fonts/
|- .htaccess
|- browsersupport.php
|- home.php
|- index.php

Usage

  1. Rename 'template' in line 22 of .htaccess to your project name
  2. Edit all values in Project.php located at Resources/Scripts/Backend/Common
  3. Start developing.

Contribution

  1. Feel free to contribute. Just create a new branch and start developing on it
  2. Would be glad if .htaccess alternatives for different servers is added

About

A simple directory structure for Website development using PHP for backend

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published