Docsity

Laravel Framework Case Study: Understanding MVC Architecture and Web Development, Assignments of Computer Science

Toggle sidebar
bg1
Name: Tausif Khan
Roll No: 14
Class: T.E/Comps(B)
Experiment -10
Title โ€“ Case study on Laravel Framework
Aim- Case study on Laravel Framework.
Theory -
1)MVC architecture
Ans: Model View Controller (MVC) is a software architecture pattern, commonly
used to implement user interfaces: it is therefore a popular choice for architecting
web apps. In general, it separates out the application logic into three separate
parts, promoting modularity and ease of collaboration and reuse. It also makes
applications more flexible and welcoming to iterations.
The Model
The model defines what data the app should contain. If the state of this data
changes, then the model will usually notify the view (so the display can change as
pf3
pf4

Partial preview of the text

Download Laravel Framework Case Study: Understanding MVC Architecture and Web Development and more Assignments Computer Science in PDF only on Docsity!

Name: Tausif Khan Roll No: 14 Class: T.E/Comps(B)

Experiment -

Title โ€“ Case study on Laravel Framework Aim- Case study on Laravel Framework. Theory - 1)MVC architecture Ans: Model View Controller (MVC) is a software architecture pattern, commonly used to implement user interfaces: it is therefore a popular choice for architecting web apps. In general, it separates out the application logic into three separate parts, promoting modularity and ease of collaboration and reuse. It also makes applications more flexible and welcoming to iterations. The Model The model defines what data the app should contain. If the state of this data changes, then the model will usually notify the view (so the display can change as

needed) and sometimes the controller (if different logic is needed to control the updated view). Going back to our shopping list app, the model would specify what data the list items should contain โ€” item, price, etc. โ€” and what list items are already present. The View The view defines how the app's data should be displayed. In our shopping list app, the view would define how the list is presented to the user, and receive the data to display from the model. The Controller The controller contains logic that updates the model and/or view in response to input from the users of the app. So for example, our shopping list could have input forms and buttons that allow us to add or delete items. These actions require the model to be updated, so the input is sent to the controller, which then manipulates the model as appropriate, which then sends updated data to the view. You might however also want to just update the view to display the data in a different format, e.g., change the item order to alphabetical, or lowest to highest price. In this case the controller could handle this directly without needing to update the model. 2)Introduction to Laravel Ans: Laravel is a PHP based web-framework for building high-end web applications using its significant and graceful syntaxes. It comes with a strong collection of tools and provides application architecture. Moreover, it includes various characteristics of technologies like ASP.NET MVC, CodeIgniter, Ruby on Rails and lot more. This framework is open source framework. It facilitates developers by saving huge time and helps reduce the thinking and planning to develop the entire website from scratch. Along with that security of the application is also Laravel take care of. Hence all its features can boost the web development pace for you. If anyone is familiar with the basics of PHP along with some intermediate PHP scripting, then Laravel can craft your work more easily. The current version of Laravel is 5.5.0, which is a stable release, released on 30 August 2017. And anyone can check its open source GitHub repository from this link below:

Ans: Web-based information system is an information system which uses Internet web technologies for delivering information and services to users. This technology is a software system and is used to publish and maintain data by hypertext principle. Web-based information system is the combination of one or more web applications, specific functionality-oriented components. Basically in this type of information system web browser is used as a front end and all the databases are used as a back end. Conclusion- Successfully completed the case study on Laravel framework.