-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathREADME
executable file
·35 lines (22 loc) · 1014 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
-----------------------------------------------------------------
Welcome to Rain Framework v.2
-----------------------------------------------------------------
INTRODUCTION
===================
RainFramework is an MVC framework for PHP, it has a strong but easy structure,
it divides logic by presentation, with the following MVC organization:
MODELS
^
user |
input > LOADER ----> CONTROLLERS ----> VIEWS
- LOADER, is the heart of the framework:
* get the input
* include libraries
* init settings
* connect database
* authenticate the user
* load the controller, selected by the user with the URI (es index.php/news/list/)
* draw the output
- CONTROLLERS, are the components that do "stuff", they load Models to retrieve data and draw the output with views
- MODELS, get the information from database
- VIEWS, are HTML templates, loaded with RainTPL