Recommend this page to a friend! |
Download |
Info | Example | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not enough user ratings | Total: 76 | All time: 10,170 This week: 673 |
Version | License | PHP version | Categories | |||
ffs 1.0 | GNU General Publi... | 5 | PHP 5, Libraries, Configuration, Desi... |
Description | Author | |
This package can run an MVC application with a JSON configuration file. |
<?php |
Ffs - Framework From Scratch built for research purposes. Reinventing the wheel, every functionality without using the power of Open Source
Please consider some functionalities are a little bit raw, well, let's say, ugly. It's just done for research purposes to implement User Driven Development.
Helping
Your help is welcome. Think on a framework, what should have, what should not, and how. There you can help me, i'd like this to be for Frameworks what HURD is for Linux.
Todo's. There is on index.php, or somewhere a list of todo's...But: 1. If you think for example there is not enough separacion of concerns on MVC, and M V and C are not enough decoupled, just let's talk about it. This is the first think i'd like to do. 2. The next step, is to make every functionality independent and replaceble, just like the bundles in Symfony. I'm thinking on creating just services and configurations. Please not overingeneriazation, what i'm searching here, is maybe, overconceptualization. 3. After step 1 and 2, what i'm planning to do, is to implement UDD.
Instructions - Ffs 0.1 -
Please take a look at /Public/index.php comment for the list of todos in order of importance.
The code have been tested just with Linux/Chrome and Linux/Firefox. Many thanks, Virgilio Lino virgiliolino@gmail.com
Files (60) |
File | Role | Description | ||
---|---|---|---|---|
Public (1 file, 1 directory) | ||||
src (1 directory) | ||||
composer.json | Data | Auxiliary data | ||
dbimport.sql | Data | Auxiliary data | ||
LICENSE | Lic. | License text | ||
README.md | Doc. | Documentation |
Files (60) | / | Public | / | assets | / | js |
File | Role | Description |
---|---|---|
ajaxMaster.js | Data | Auxiliary data |
posts.js | Data | Auxiliary data |
Files (60) | / | src | / | Ffs |
File | Role | Description | ||
---|---|---|---|---|
Ffs (1 file, 8 directories) | ||||
MyApp (1 file, 3 directories) | ||||
Autoloader.php | Class | Class source |
Files (60) | / | src | / | Ffs | / | Ffs |
File | Role | Description | ||
---|---|---|---|---|
Application (4 files, 1 directory) | ||||
Controller (1 file) | ||||
Exception (3 directories) | ||||
Libs (1 file) | ||||
Model (3 files, 2 directories) | ||||
Request (3 files) | ||||
Response (2 files) | ||||
View (2 files) | ||||
FfsException.php | Class | Class source |
Files (60) | / | src | / | Ffs | / | Ffs | / | Application |
File | Role | Description | ||
---|---|---|---|---|
Config (1 file) | ||||
AbstractApplication.php | Class | Class source | ||
ApplicationFactory.php | Class | Class source | ||
Config.php | Class | Class source | ||
WebApplication.php | Class | Class source |
Files (60) | / | src | / | Ffs | / | Ffs | / | Application | / | Config |
File | Role | Description |
---|---|---|
WebConfig.php | Class | Class source |
Files (60) | / | src | / | Ffs | / | Ffs | / | Controller |
File | Role | Description |
---|---|---|
AbstractController.php | Class | Class source |
Files (60) | / | src | / | Ffs | / | Ffs | / | Exception |
File | Role | Description | ||
---|---|---|---|---|
Application (4 files, 1 directory) | ||||
Bag (3 files) | ||||
Model (2 files, 1 directory) |
Files (60) | / | src | / | Ffs | / | Ffs | / | Exception | / | Application |
File | Role | Description | ||
---|---|---|---|---|
Config (1 file) | ||||
ApplicationEnvironmentUnknown.php | Class | Class source | ||
ApplicationNotFoundException.php | Class | Class source | ||
FunctionalityNotImplementedException.php | Class | Class source | ||
RequestIncompatibleException.php | Class | Class source |
Files (60) | / | src | / | Ffs | / | Ffs | / | Exception | / | Application | / | Config |
File | Role | Description |
---|---|---|
InvalidConfigException.php | Class | Class source |
Files (60) | / | src | / | Ffs | / | Ffs | / | Exception | / | Bag |
File | Role | Description |
---|---|---|
ElementNotFoundException.php | Class | Class source |
InvalidKeyException.php | Class | Class source |
PropertyNotFoundException.php | Class | Class source |
Files (60) | / | src | / | Ffs | / | Ffs | / | Exception | / | Model |
File | Role | Description | ||
---|---|---|---|---|
FieldType (1 file) | ||||
DBMSInconpatibleException.php | Class | Class source | ||
InvalidModelDefinitionException.php | Class | Class source |
Files (60) | / | src | / | Ffs | / | Ffs | / | Exception | / | Model | / | FieldType |
File | Role | Description |
---|---|---|
ValidationException.php | Class | Class source |
Files (60) | / | src | / | Ffs | / | Ffs | / | Model |
File | Role | Description | ||
---|---|---|---|---|
FieldType (3 files) | ||||
Persistence (3 files) | ||||
AbstractFieldType.php | Class | Class source | ||
AbstractModel.php | Class | Class source | ||
WebModel.php | Class | Class source |
Files (60) | / | src | / | Ffs | / | Ffs | / | Model | / | FieldType |
File | Role | Description |
---|---|---|
EmailFieldType.php | Class | Class source |
IntegerFieldType.php | Class | Class source |
StringFieldType.php | Class | Class source |
Files (60) | / | src | / | Ffs | / | Ffs | / | Model | / | Persistence |
File | Role | Description |
---|---|---|
MysqlAdapter.php | Class | Class source |
PdoAdapter.php | Class | Class source |
PersistenceInterface.php | Class | Class source |
Files (60) | / | src | / | Ffs | / | Ffs | / | Request |
File | Role | Description |
---|---|---|
AbstractRequest.php | Class | Class source |
HttpRequest.php | Class | Class source |
View.php | Class | Class source |
Files (60) | / | src | / | Ffs | / | Ffs | / | Response |
File | Role | Description |
---|---|---|
HttpResponse.php | Class | Class source |
ViewModel.php | Class | Class source |
Files (60) | / | src | / | Ffs | / | Ffs | / | View |
File | Role | Description |
---|---|---|
AbstractView.php | Class | Class source |
AbstractWebView.php | Class | Class source |
Files (60) | / | src | / | Ffs | / | MyApp |
File | Role | Description | ||
---|---|---|---|---|
Controller (2 files) | ||||
Model (2 files, 1 directory) | ||||
View (2 files, 1 directory) | ||||
application.conf | Data | Auxiliary data |
Files (60) | / | src | / | Ffs | / | MyApp | / | Controller |
File | Role | Description |
---|---|---|
CommentsController.php | Class | Class source |
PostsController.php | Class | Class source |
Files (60) | / | src | / | Ffs | / | MyApp | / | Model |
File | Role | Description | ||
---|---|---|---|---|
FieldType (2 files) | ||||
CommentsModel.php | Class | Class source | ||
PostsModel.php | Class | Class source |
Files (60) | / | src | / | Ffs | / | MyApp | / | Model | / | FieldType |
File | Role | Description |
---|---|---|
CommentFieldType.php | Class | Class source |
NameFieldType.php | Class | Class source |
Files (60) | / | src | / | Ffs | / | MyApp | / | View |
File | Role | Description | ||
---|---|---|---|---|
Templates (7 files) | ||||
CommentsView.php | Class | Class source | ||
PostsView.php | Class | Class source |
Files (60) | / | src | / | Ffs | / | MyApp | / | View | / | Templates |
File | Role | Description |
---|---|---|
Posts.html | Doc. | Documentation |
_addComment.html | Doc. | Documentation |
_addPost.html | Doc. | Documentation |
_comment.html | Doc. | Documentation |
_comments.html | Doc. | Documentation |
_post.html | Doc. | Documentation |
_posts.html | Doc. | Documentation |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.