Sunday, October 1, 2017

Laravel Project One

Requirements:
Php version up to 7.
Now we are using xampp home server. I will prefer Editor: PhpStorm for only Php. If you want where you want to want this software, for that you can knock me on this post comment i will give a link.
Installation: 
cmd:| composer create-project laravel/laravel project-one 

All framework will work as a MVC pattern: (Model, View, Controller).


Folder: 

1) app: 

1) all configuration file
2) Control class file, Model Class file
Controller class:::


All controller class will be available on this file. It's call controller class.
Controller will be work with view.


Model class:::

This is model class. Model will be work with database.



 2) Bootstrap:

For design



3) Config
all configuration file will be here. We will use app.php






4) database:

when we will create table on database then for every table we will create individual migration file.
see one migration file:
 



 5) public:
index.php main file for enter framework. all css, js and images will be here



6) resource:
all view file will be here



7) storage:
how Line by line debug  is happening all information is here.



8) tests:
project unit test purpose 



9)vendor:
all library file from collected different framework 



10) .env
all configuration add on this file like mail creation, database etc. 



11) composer.json:
 project description . Composer can find our project by this file. 



12) phpunit.xml:
project will be auto load by this file. No need required file

===============================================
.blade.php this file is comes from symphony . for .blade file will be more secured 

this file control the rote by function
 


and those are views file


0 comments:

Post a Comment