Category: FromSitesTree.com

Introduction to Laravel View #Laravel

[youtube https://www.youtube.com/watch?v=jqDToSwfqn8&w=640&h=360] From: http://sitestree.com/?p=10401 Categories:LaravelTags: Post Data:2017-01-03 21:58:59 Shop Online: https://www.ShopForSoul.com/ (Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com In Bengali: http://Bangla.SaLearningSchool.com http://SitesTree.com 8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning) Shop Online: https://www.ShopForSoul.com/ Medium: https://medium.com/@SayedAhmedCanada

Laravel Application Testing #Laravel

<?php use IlluminateFoundationTestingWithoutMiddleware; use IlluminateFoundationTestingDatabaseTransactions; class ExampleTest extends TestCase { /** * A basic functional test example. * * @return void */ public function testBasicExample() { $this->visit(‘/’) ->see(‘Laravel 5’) ->dontSee(‘Rails’); } } — public function testBasicExample() { $this->visit(‘/’) ->click(‘About Us’) ->seePageIs(‘/about-us’); } — Also check: Selenium web-drive: http://www.guru99.com/first-webdriver-script.html From: http://sitestree.com/?p=4687 Categories:LaravelTags: Post Data:2016-12-10 22:16:37 Shop …

Continue reading

Misc Laravel Resources #Laravel

Laravel on GitHub : https://github.com/laravel/laravel Laravel releases: Latest release is 5.3.16 (released on Oct 2nd) https://github.com/laravel/laravel/releases Laravel Development Branches Master: Should be the production ready version Develop : Should be the active development version Stale : Should be the ones – no longer under development and extension Laravel contributors: https://github.com/laravel/laravel/graphs/contributors Be one of them. From: …

Continue reading

Miscellaneous concepts and libraries for Laravel based development #Laravel

Miscellaneous concepts and libraries for Laravel based development      

Continue reading

Topic 3: Example : Misc Operator Examples #Linux/Unix: Shell Programming – 001

bash-3.2$ cat math.ksh #!/bin/ksh # Script name: math.ksh # This script finds the cube of a number, and the # quotient and remainder of the number divided by 4. y=99 (( cube = y * y * y )) (( quotient = y / 4 )) (( rmdr = y % 4 )) print “The …

Continue reading

Envoyer: Zero Downtime PHP application Deployment #Laravel #and Deployment

Zero Downtime PHP Deployment – Laravel application deployment Deployments you’ve only dreamed about. Zero downtime. Zero fuss. https://laracasts.com/series/envoyer/episodes/1 From: http://sitestree.com/?p=10673 Categories:Laravel, and DeploymentTags: Post Data:2017-06-30 17:55:28 Shop Online: https://www.ShopForSoul.com/ (Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com In Bengali: http://Bangla.SaLearningSchool.com http://SitesTree.com 8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning) Shop Online: https://www.ShopForSoul.com/ Medium: https://medium.com/@SayedAhmedCanada

Laravel Query Builder, Cheatsheet #Laravel

$users = DB::table(‘users’)->get() $user = DB::table(‘users’)->where(‘name’, ‘John’)->first(); $name = DB::table(‘users’)->where(‘name’, ‘John’)->pluck(‘name’); $roles = DB::table(‘roles’)->lists(‘title’); $roles = DB::table(‘roles’)->lists(‘title’, ‘name’); $users = DB::table(‘users’)->select(‘name’, ’email’)->get(); $users = DB::table(‘users’)->distinct()->get(); $users = DB::table(‘users’)->select(‘name as user_name’)->get(); $query = DB::table(‘users’)->select(‘name’); $users = $query->addSelect(‘age’)->get(); $users = DB::table(‘users’)->where(‘votes’, ‘>’, 100)->get(); $users = DB::table(‘users’)->where(‘votes’, ‘>’, 100)->orWhere(‘name’, ‘John’)->get(); $users = DB::table(‘users’)->whereBetween(‘votes’, array(1, 100))->get(); $users = DB::table(‘users’)->whereNotBetween(‘votes’, …

Continue reading

Laravel Testing Databases #Laravel

public function testDatabase() { // Make call to application… $this->seeInDatabase(‘users’, [ ’email’ => ‘sally@example.com’ ]); } — <?php use IlluminateFoundationTestingWithoutMiddleware; use IlluminateFoundationTestingDatabaseMigrations; use IlluminateFoundationTestingDatabaseTransactions; class ExampleTest extends TestCase { use DatabaseMigrations; /** * A basic functional test example. * * @return void */ public function testBasicExample() { $this->visit(‘/’) ->see(‘Laravel 5’); } }     <?php …

Continue reading

Topic 3: Example : Operator #Linux/Unix: Shell Programming – 001

bash-3.2$ cat operator6.sh #!/bin/ksh x=15.38 y=15.72 ((z = x + y)) echo $z   bash-3.2$ ./operator6.sh 30 From: http://sitestree.com/?p=12234 Categories:Linux/Unix: Shell Programming – 001Tags: Post Data:2018-05-08 15:32:42 Shop Online: https://www.ShopForSoul.com/ (Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com In Bengali: http://Bangla.SaLearningSchool.com http://SitesTree.com 8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning) Shop Online: https://www.ShopForSoul.com/ Medium: https://medium.com/@SayedAhmedCanada

Topic 3: Example: Expr statements in Shell Scripts #Linux/Unix: Shell Programming – 001

bash-3.2$ cat operator1.sh operator2.sh operator3.sh #!/bin/sh num1=5 echo $num1 num2=$num1+10 echo $num2 #!/bin/sh num1=5 echo $num1 expr $num1 + 7 expr $num1+7 #space matters for expr echo $num1 #!/bin/sh num1=5 expr $num1 * 2 expr “$num1 * 2” expr $num1 * 2 From: http://sitestree.com/?p=12230 Categories:Linux/Unix: Shell Programming – 001Tags: Post Data:2018-05-06 14:40:30 Shop Online: https://www.ShopForSoul.com/ …

Continue reading