Laravel – Tutorial

PHP OOP

How to install it

You need to get “composer” first

#-> composer create-project –prefer-dist laravel/laravel:^7.0 blog

Laravel has “artisan” file at Root directory.

#-> php artisan key:generate “PHP artisani kosturur, -arguments i pass edersin. ”

web :80/laravel/blog/public/

# -> Routes Located  :    project/routes/web.php

#-> views Located :    project/resources/views/welcome.blade.php

 

# -> Middleware : Between Request – And Response Filter  (Config Stored at   project/Http/Kernel.php)

  • Global Middleware :  will run on every HTTP request
  • Route Middleware  :

RoleMiddleware

Another Route

TerminateMiddleware

#-> Changing Default NameSpace

#-> Controller

Consstruct

Controller Calls Middleware

#-> Path Route

GET /my index my.index
GET /my/create create my.create
POST /my store my.store
GET /my/{my} show my.show
GET /my/{my}/edit edit my.edit
PUT/PATCH /my/{my} update my.update
DELETE /my/{my} destroy my.destroy

# You Can Assign Interface   – Implicit Controller.

 

#->  URL Checking

#-> Post Registration

 

#-> Response with cookie

#->

#-> ServiceProvider : Sharing data with all views.

# -> Using Blade : new View

#-> welcome . blade.php

#->

#-> Error Logging

#-> Forms

#-> Localization

#-> Session

#-> Validation Controller

#-> Mailer

#-> Ajax Controller

#Error Handling.

 

 

Reference:

  • https://mkdev.me/en/posts/top-5-php-frameworks-laravel-vs-yii-vs-zend-vs-phalcon-vs-symfony-their-good-and-bad-sides

Node JS Installation on Fedora

Step 1 – Setup Dnf Repository

First of all, You need to enable node.js yum repository in your system provided by the Node.js official website. You also need development tools to build native add-ons to be installed on your system.

For Latest Release:-

For Stable Release:-

Step 2 – Install Node.js on Fedora

After adding yum repository in your system lets install Node.js package. NPM will also be installed with node.js. This command will also install many other dependent packages on your system.

Step 3 – Check Node.js and NPM Version

After installing node.js verify and check the installed version. You can find more details about current version on node.js

Also, check the npm version installed on your Fedora system.

Step 4 – Run Demo HTTP Server (Optional)

This is an optional step. If you want to test your node.js install. Let’s create a web server with “Welcome Node.js” text. Create a file demo_server.js

and add the following content

Now start the web server using the command.

PHP – FPDF – Examples

 

Smarty Quick Installation

Reference : Smarty Web Site

Smarty Repository

[   ] Smarty-2.6.24.tar.gz 2010-11-11 18:20 149K
[   ] Smarty-2.6.24.zip 2010-11-11 18:20 188K
[   ] Smarty-2.6.25.tar.gz 2010-11-11 18:20 149K
[   ] Smarty-2.6.25.zip 2010-11-11 18:20 188K
[   ] Smarty-2.6.26.tar.gz 2010-11-11 18:20 149K
[   ] Smarty-2.6.26.zip 2010-11-11 18:20 188K
[   ] Smarty-2.6.27.tar.gz 2012-09-25 14:43 151K
[   ] Smarty-2.6.27.zip 2012-09-25 14:43 190K
[   ] Smarty-2.6.28.tar.gz 2013-10-01 15:24 151K
[   ] Smarty-2.6.28.zip 2013-10-01 15:24 190K
[   ] Smarty-3.0.0.tar.gz 2010-11-11 21:01 130K
[   ] Smarty-3.0.0.zip 2010-11-11 21:01 191K
[   ] Smarty-3.0.1.tar.gz 2010-11-12 10:09 130K
[   ] Smarty-3.0.1.zip 2010-11-12 10:09 191K
[   ] Smarty-3.0.2.tar.gz 2010-11-12 20:26 130K
[   ] Smarty-3.0.2.zip 2010-11-12 20:26 191K
[   ] Smarty-3.0.3.tar.gz 2010-11-13 08:33 130K
[   ] Smarty-3.0.3.zip 2010-11-13 08:33 190K
[   ] Smarty-3.0.4.tar.gz 2010-11-13 14:34 130K
[   ] Smarty-3.0.4.zip 2010-11-13 14:34 190K
[   ] Smarty-3.0.5.tar.gz 2010-11-20 22:02 131K
[   ] Smarty-3.0.5.zip 2010-11-20 22:02 191K
[   ] Smarty-3.0.6.tar.gz 2010-12-13 10:54 132K
[   ] Smarty-3.0.6.zip 2010-12-13 10:54 192K
[   ] Smarty-3.0.7.tar.gz 2011-02-11 17:09 132K
[   ] Smarty-3.0.7.zip 2011-02-11 17:09 192K
[   ] Smarty-3.0.8.tar.gz 2011-06-03 15:29 147K
[   ] Smarty-3.0.8.zip 2011-06-03 15:29 206K
[   ] Smarty-3.0.9.tar.gz 2011-09-16 13:17 147K
[   ] Smarty-3.0.9.zip 2011-09-16 13:17 207K
[   ] Smarty-3.0b7.tar.gz 2010-11-11 18:20 127K
[   ] Smarty-3.0b7.zip 2010-11-11 18:20 207K
[   ] Smarty-3.0b8.tar.gz 2010-11-11 18:20 125K
[   ] Smarty-3.0b8.zip 2010-11-11 18:20 183K
[   ] Smarty-3.0rc1.tar.gz 2010-11-11 18:20 119K
[   ] Smarty-3.0rc1.zip 2010-11-11 18:20 174K
[   ] Smarty-3.0rc2.tar.gz 2010-11-11 18:20 122K
[   ] Smarty-3.0rc2.zip 2010-11-11 18:20 177K
[   ] Smarty-3.0rc3.tar.gz 2010-11-11 18:20 123K
[   ] Smarty-3.0rc3.zip 2010-11-11 18:20 178K
[   ] Smarty-3.1.0.tar.gz 2011-09-16 13:19 178K
[   ] Smarty-3.1.0.zip 2011-09-16 13:19 249K
[   ] Smarty-3.1.1.tar.gz 2011-09-23 10:19 184K
[   ] Smarty-3.1.1.zip 2011-09-23 10:19 256K
[   ] Smarty-3.1.2.tar.gz 2011-10-03 16:04 186K
[   ] Smarty-3.1.2.zip 2011-10-03 16:06 258K
[   ] Smarty-3.1.3.tar.gz 2011-10-07 12:14 188K
[   ] Smarty-3.1.3.zip 2011-10-07 12:14 259K
[   ] Smarty-3.1.4.tar.gz 2011-10-19 15:23 188K
[   ] Smarty-3.1.4.zip 2011-10-19 15:23 259K
[   ] Smarty-3.1.5.tar.gz 2011-11-14 12:56 191K
[   ] Smarty-3.1.5.zip 2011-11-14 12:56 263K
[   ] Smarty-3.1.6.tar.gz 2011-12-01 10:32 191K
[   ] Smarty-3.1.6.zip 2011-12-01 10:32 263K
[   ] Smarty-3.1.7.tar.gz 2011-12-19 17:07 193K
[   ] Smarty-3.1.7.zip 2011-12-19 17:07 265K
[   ] Smarty-3.1.8.tar.gz 2012-02-20 11:24 195K
[   ] Smarty-3.1.8.zip 2012-02-20 11:24 266K
[   ] Smarty-3.1.9.tar.gz 2012-06-08 16:35 197K
[   ] Smarty-3.1.9.zip 2012-06-08 16:35 268K
[   ] Smarty-3.1.10.tar.gz 2012-06-09 11:54 197K
[   ] Smarty-3.1.10.zip 2012-06-09 11:54 268K
[   ] Smarty-3.1.11.tar.gz 2012-06-30 17:18 198K
[   ] Smarty-3.1.11.zip 2012-06-30 17:18 269K
[   ] Smarty-3.1.12.tar.gz 2012-09-25 14:43 198K
[   ] Smarty-3.1.12.zip 2012-09-25 14:43 270K
[   ] Smarty-3.1.13.tar.gz 2013-01-15 20:00 199K
[   ] Smarty-3.1.13.zip 2013-01-15 20:00 271K
[   ] Smarty-3.1.14.tar.gz 2013-06-27 22:13 200K
[   ] Smarty-3.1.14.zip 2013-06-27 22:13 272K
[   ] Smarty-3.1.15.tar.gz 2013-10-01 15:24 201K
[   ] Smarty-3.1.15.zip 2013-10-01 15:24 272K
[   ] Smarty-3.1.16.tar.gz 2013-12-19 17:53 203K
[   ] Smarty-3.1.16.zip 2013-12-19 17:53 275K
[   ] Smarty-3.1.17.tar.gz 2014-03-12 15:57 204K
[   ] Smarty-3.1.17.zip 2014-03-12 15:57 276K
[   ] Smarty-3.1.18.tar.gz 2014-04-07 14:37 204K
[   ] Smarty-3.1.18.zip 2014-04-07 14:37 276K
[   ] Smarty-3.1.19.tar.gz 2014-07-01 01:15 203K
[   ] Smarty-3.1.19.zip 2014-07-01 01:15 276K
[   ] Smarty-3.1.20.tar.gz 2014-10-10 09:39 203K
[   ] Smarty-3.1.20.zip 2014-10-10 09:39 276K
[   ] Smarty-3.1.21.tar.gz 2014-10-18 23:30 203K
[   ] Smarty-3.1.21.zip 2014-10-18 23:30 276K
[   ] Smarty-3.1rc1.tar.gz 2011-06-27 12:01 178K
[   ] Smarty-3.1rc1.zip 2011-06-27 12:01 249K
[   ] Smarty-stable.tar.gz 2014-10-18 23:30 203K
[   ] Smarty-stable.zip 2014-10-18 23:30 276K
[   ] SmartyTrademark.pdf 2010-11-11 18:20 65K
[DIR] docs/ 2013-06-27 22:13
[   ] sampleapp.zip 2011-11-22 15:41 5.3K

 

Apache enable Htaccess for directory