Git Product home page Git Product logo

rohitbudhathoki / laravel-crud-example Goto Github PK

View Code? Open in Web Editor NEW

This project forked from remotestack377/laravel-crud-example

0.0 0.0 0.0 363 KB

Laravel CRUD Operations with Bootstrap 4 Tutorial with Example: Create, Validate, Store Data in Database

Home Page: https://www.remotestack.io/laravel-crud-operations-with-bootstrap-tutorial-with-example/

PHP 87.52% Blade 12.07% Shell 0.41%

laravel-crud-example's Introduction

Component 2 - Task

This is an extension of Component 1 and using Laravel as a Framework for working with your views and data.

Data is again being stored as a json file and some of the previous PHP files are being used to read and update this data on the server side. The JsonUtility class has some additional methods in for amending this data on the server. In the previous task you wrote HTML directly through the HTML writer class. In this exercise you are to work with Views in Laravel, and use appropriate Routes to call methods in a ProductController class

You are required to:

  • embed these files into a Laravel Project - the structure already used will map into Laravel.
  • create a front end (views) that will allow a user to perform CRUD operations
  • products should be displayed with a reusable template (i.e. card)
  • follow good practice and naming conventions for defining your routes, and methods in the controller

A javascript file has been provided which includes axios calls for performing asynchronous web requests. If using this then make note of the id and class selector names being used. Axios is a package which is included with Laravel.

Sample Screens

An expected layout and structure could take the following form

CREATE + READ

IMAGE

Full Product Listing will include a blank template card at the end with POST (add button)

UPDATE + DELETE

IMAGE

A 'Selected' product will show a modified template with PATCH (update button) and DELETE (delete button) options

laravel-crud-example's People

Contributors

austere9 avatar remotestack377 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.