Laravel Episode 7: CRUD Part 1


episode 7

Episode 7: CRUD Part 1

 

  • Changes since the last episode.
    • Switched out laravelcollective code to standard html code.
    • Moved validation messages to part of the form.
    • Updated elixir to version 5.
  • Create a new migration for products table.
    • id int(11)
    • product_name varchar(255)
    • sku varchar(30)
    • price decimal(5,2)
    • description text
    • timestamps
php artisan make:migration create_products_table
  • Create restful routes for products.
  • Create model for Product.
  • Order of creation.
    • view all page
      • pagination
      • view (show) link for each record
      • if no record exist, show message, else show records
    • create record page
      • form validation

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s