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    
Last Updated Ratings Unique User Downloads Download Rankings
2021-03-30 (18 days ago) RSS 2.0 feedNot enough user ratingsTotal: 441 This week: 3All time: 6,170 This week: 87Up
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

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:441
This week:3
All time:6,170
This week:87Up

For more information send a message to info at phpclasses dot org.