Posts

Showing posts from June, 2016

Working with MVC using Laravel 101

Laravel starting with MVC and Laravel from Scratch If you are afraid of coding or maybe MVC or maybe frameworks like Laravel, nette or *, don't worry, everyone is here to learn, someday you have to do it and trust me today is the day for you to learn MVC and Laravel ( checked your horoscope, your stars are shining bright ) Prerequisite: A working system ( OS X/ windows / linux(preferred -> you'll get to know why) ) basic knowledge of php, html, css, javascript, firebase, angular js, mysql, node js, Java An I.D.E. (hope you know, what we are dealing with) : PhpStorm (An advise not a suggestion) Working internet connection In a mood to do hands on Ooh, you got lucky, you just need php and html ( told you your stars are bright)  Let's begin now, Step 1: Installing Laravel Install Composer first, it'll help you to download all the dependencies which laravel or any other project require. You just need to command composer to do so. Go to this link to see

Model View Controller (The basics of </>)

M V C the basics of web development Today we'll have a look at Model, View and Controller. We'll all know that web technologies are the ones trending these days, everyone want to shift to web rather then going mobile. So let's see what is there in this fragment of web which keeps all the assiduous motivated to learn this and to make new developments in it. Let us first have a look at what MVC is in laymen language. Model: Model acts exactly as human brain, what it does is it keeps the business logic with in it and helps the application to implement what is required to make advancement in the service from business point of view. View: View is similar to our skin, all the users i.e other humans see it, our view (lets say eyes) obtain data from external world and sends it to our brain i.e. the Model, but here lies the issue, Views are not meant to directly communicate with the Models, that brings the 'C' i.e Controllers into the picture. Controllers: As per our