Technolgy Analysis Name:Xiaoyang Liu Student Number: 12425664 Introduction In this report, I will analyze and justify the technologies chosen for my proposed project. My project is to build a social media website that the users can create and share their events or activities with other users. I will read more
Continue reading »Laravel return view within web.php(routes file)
What I learned: Route::get(‘/’, function () { return view(‘welcome’); }); Welcome here is a view Views are stored in resorces->views folder Route::get(‘/hello2’,function(){ return View::make(‘welcome’); //it knows to look for the php extension because laravel is php framework }); Laravel supports two types of templates for views Php template
Continue reading »Laravel routing
All of laravel routes are maintained in a central location — routes.php Route::get(‘/hello’,function(){ return view(‘firstpage’);; // returns a html view which is a basic php file }); Samples:: <?php /* |————————————————————————– | Web Routes |————————————————————————– | | Here is where you can register web routes for your
Continue reading »Laravel foundamental knowledge
Laravel is a MVC framework Laravel recognizes common tasks required by web apps Included function: Authentication–verifying users and handling access Routing –directing requests effeiciently Database management – input and output control Mail- sending email Advantages Laravel is built on a strong foundation of components Key components: Symfony It uses composer ,
Continue reading »turn off the automatic theme update for wordpress
I researched and found out how to turn off the automatic theme update in wordpress. in wp-config file : add code below: 1 define( ‘WP_AUTO_UPDATE_CORE’, false ); source: http://www.wpbeginner.com/wp-tutorials/how-to-disable-automatic-updates-in-wordpress/
Continue reading »Set up domain redirect from dmtweb.ohyahoo.com to a specific page
I set up a domain redirect so that when people access dmtweb.ohyahoo.com, they will be redirected the entry point(index.php) file. before: after redirect:
Continue reading »Set up version control(Git) repository for the digital media technologies project
I created a repository in bitbucket as below: the reason I use it: I can backup my code by this repository. And it can provide me a method to recover the code if there is something wrong with my project.
Continue reading »Test running laravel on Cloud hosting which I am using
What I learn: In the last post, I managed to install and run Laravel on my local machine. Then I uploaded the project to my cloud hosting that I bought and tested the website. It is working. The hosting that I use: I uploaded it using fileziller FTP app.
Continue reading »research Laravel — the first laravel page
The experience that I learned The routes folder contains the configuretion about the routing rule: in web.php file, I added code below: Route::get(‘/hello’,function(){ return view(‘firstpage’);; }); ‘/hello’ indicates to ‘public/hello’ -> the method above defines that ‘/hello’ will render view firstpage.php which is in resources/views/ The result is as
Continue reading »The experience that I installed Laravel
The experience while I installed Laravel: Usual terminal commands: Here is a list of common commands: ls list files and directories cd change directory mkdir create a new directory cp copy files or directories mv move (rename) files or directories rm remove files or directories See the Terminal Commands category
Continue reading »