PHP Classes

JFWork: Tiny framework based on the MVC design pattern

Recommend this page to a friend!
  Info   View files View files (12)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 49%Total: 461 This week: 1All time: 6,075 This week: 571Up
Version License PHP version Categories
jfwork 0.0.2GNU General Publi...5.0PHP 5, Libraries, Design Patterns
Description 

Author

This package is a tiny framework based on the MVC design pattern.

It comes with a base script that can load a controller class based on the current request URL.

The controller classes can load view classes.

Picture of Jonathan Alexey
Name: Jonathan Alexey <contact>
Classes: 4 packages by
Country: Portugal Portugal
Age: 33
All time rank: 182824 in Portugal Portugal
Week rank: 420 Up4 in Portugal Portugal Up

Details

##JFWork ### how to use: 1. Create your controller at: JFWork/controller/&lt;nameofcontroller&gt;.php 2. Give some method like `function index(){}`; 3. Call by accesing via URL www.domain.com/index.php/&lt;nameofcontroller&gt;/&lt;nameofmethdod&gt; * * * ###Version: *0.0.2 Alpha* **Update:** load_views($filename) htaccess added. log_msg added to core/Common.php - nice to use to debuger or set an erros leves load_file added to core/Common.php - to loaded file with functions or other sort of file. virtual big object added - when extends a Engine, you actually get all class by doing this $this->yourClass->yourMethod(); fixed some issues * * * **License** This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/. * * * *JFWork* it's a tinyMVC. 2011 Jonathan Fontes

  Files folder image Files  
File Role Description
Files folder imageconfig (2 files)
Files folder imagecontroller (2 files)
Files folder imagecore (4 files)
Files folder imageviews (1 file)
Accessible without login Plain text file index.php Example running aplication
Accessible without login Plain text file possible.htaccess Data License text
Accessible without login Plain text file README.md Doc. Descriptions in markdown format

  Files folder image Files  /  config  
File Role Description
  Accessible without login Plain text file constants.php Aux. Auxiliary script
  Accessible without login Plain text file database.php Conf. Auxiliary script

  Files folder image Files  /  controller  
File Role Description
  Accessible without login Plain text file Index.php Class Auxiliary script
  Accessible without login Plain text file Welcome.php Class Example script

  Files folder image Files  /  core  
File Role Description
  Accessible without login Plain text file Common.php Aux. Configuration script
  Accessible without login Plain text file Engine.php Class Class source
  Accessible without login Plain text file JF.Work.php Aux. Application script
  Accessible without login Plain text file Timer.php Class Class source

  Files folder image Files  /  views  
File Role Description
  Accessible without login Plain text file welcome.php Example Example script

 Version Control Unique User Downloads Download Rankings  
 100%
Total:461
This week:1
All time:6,075
This week:571Up
 User Ratings  
 
 All time
Utility:66%StarStarStarStar
Consistency:58%StarStarStar
Documentation:58%StarStarStar
Examples:50%StarStarStar
Tests:-
Videos:-
Overall:49%StarStarStar
Rank:2729