Laravel: Code Bright
Laravel: Code Bright
Web application development for the Laravel framework version 4 for beginners.
About the Book
TL DR; This title is the successor to Laravel Code Happy, which sold almost 3000 copies last year, and was considered one of the top learning resources for the Laravel framework. At $29 and cheaper than a good pizza, you will get the book in its current partial form, along with all future chapters, updates, and fixes for free. As of the day I last updated this description, Code Bright had 260 pages and was just getting started. To give you some perspective on how detailed it is, Code Happy was 127 pages in its complete state. Want to know more? Carry on reading.
Welcome back to Laravel. Last year I wrote a book about the Laravel PHP framework. It started as a collection of tutorials on my blog, and eventually became a full book. I definitely didn’t expect it to be as popular as it was. Code Happy has sold almost 3000 copies, and is considered to be one of the most valuable resources for learning the Laravel framework.
Code Bright is the spiritual successor to Code Happy. The framework has grown a lot in the past year, and has changed enough to merit a new title. With Code Bright I hope to improve on Code Happy with every way, my goal is, to once again, build the most comprehensive learning experience for the framework. Oh, and to still be funny. That’s very important to me.
Laravel Code Bright will contain a complete learning experience for all of the framework’s features. The style of writing will make it approachable for beginners, and a wonderful reference resource for experienced developers alike.
You see, people have told me that they enjoyed reading Code Happy, not only for its educational content, but for its humour, and for my down to earth writing style. This is very important to me. I like to write my books as if we were having a conversation in a bar.
When I wrote Code Happy last year, I was simply a framework enthusiast. One of the first to share information about the framework. However, since then I have become a committed member of the core development team. Working directly with the framework author to make Laravel a wonderful experience for the developers of the world.
One other important feature of both books, is that they are published while in progress. This means that the book is available in an incomplete state, but will grow over time into a complete title. All future updates will be provided for free.
What this means is that I don’t have to worry about deadlines, or a fixed point of completion. It leads to less stress and better writing. If I think of a better way to explain something, I can go back and change it. In a sense, the book will never be completed. I can constantly add more information to it, until it becomes the perfect resource.
Given that this time I am using the majority of my spare time to write the title (yes, I have a full time job too!), I have raised the price a little to justify my invested time. I was told by many of my past readers that they found the previous title very cheap for the resource that it grew into, so if you are worried about the new price, then let me remind you what you will get for your 29 bucks.
- The successor to Code Happy, seen by many as the #1 learning resource for the Laravel PHP framework.
- An unending source of information, chapters will be constantly added as needed until the book becomes a giant vault of framework knowledge.
- Comedy, and a little cheesy, but very friendly writing.
- Free updates for life! This includes all of the updates made to keep the book compatible with version 4.x of the framework. You will receive an email whenever an addition has been made to the title.
- Early information from a Laravel core developer.
- Support my future writing. I’d love to write more, and have some more books in mind for the future! Including some topics other than Laravel.
- My full attention. Find something you don’t like about the book? Let me know, and I’ll see if I can improve it!
- A photo of a red panda on the cover. Seriously, they are cute right?
All that for cheaper than a (good) pizza? Sounds like a deal to me!
Still not convinced? Let me share with you what Laravel’s author, and some of my readers have to say about my writing.
"Dayle Rees has been a central figure in the Laravel community for a long time. He's well known not only for his knowledge of the framework, but also his friendly attitude and keen ability to explain Laravel concepts to beginners. There are few people as qualified as Dayle to write a thorough introduction to the Laravel framework. With Code Bright, he continues the same accessible style that made Code Happy such a great introduction to Laravel 3." - Taylor Otwell, Framework Author.
"Reading Dayle's 'Code Happy' made it super easy to get up and going with Laravel. Even with the more advanced topics, his was of explaining things without complicating things is a talent in itself." - Chris Duell
"The holy grail for anyone wanting to learn Laravel." - Rujaun
"Code Happy allowed me to get up to speed super quick! Very entertaining read that keeps you engaged and wanting more! Thanks!" - Mike Rogne
"I bought Code Happy at the behest of Jeffrey Way's Laravel's Essentials course, and the wealth of knowledge available in this book is phenomenal. It is nice to purchase books from professionals who know what they're writing about, but as a Laravel Core Development team member Dayle gives you insight few others can. Dayle goes into every detail of the Laravel Framework, from Laravels amazing schema system to eloquent and beyond this book offers a wealth of knowledge worth having. I create Laravel tutorials on Youtube and Code Happy has been an invaluable tool. I couldn't have done any of it without this book." - Kristopher Rapier
“I used other frameworks in the past and then Laravel started to showed up in my twitter timeline. I was a happy coder with my framework of choice but I was seeing a lot of people moving out to Laravel. The website was nice, the documentation was clear and helpful but then I bought Code Happy just to have a big view on how Laravel worked. I end up loving the Laravel syntax, expressiveness and having a real idea how a Laravel app worked in no-time. I finally switched.” - Isern Palaus
”Code Happy was my launching pad into the PHP world. I had tried for quite some time to wrap my head around using a framework, it just never did quite stick. Once I got hold of code happy it all started to make sense. I completed my first Laravel application in a couple of weeks time and haven't looked back..” - Zane Conkle
”At the beginning of 2013, I decided to have a look at PHP Frameworks with the aim of finding something I could use both for my day job and personal projects. I asked Jeffrey Way for advice and he pointed me in Laravel's direction. To be honest, I had never heard of Laravel but a quick search on Google for tutorials revealed very good reviews for Dayle Rees' Laravel tutorials. I bought Dayle's Code Happy book and up to date, remains the best thing I've bought in the near past. The casual way with which he explains the concepts was very useful to my learning. The book covers everything you need to know to create a full Laravel web application. In fact, I am in the process of creating an in-house CMS (for my place of work) based on Laravel, two months after writing my first Laravel 'Hello World'. But the first tab on my browser window is always codehappy.daylerees.com, which remains my main point of reference. Thanks for the great job!” - James K. Ilaki
”Dayle's conversational style writing makes it feel like you have a more experienced developer buddy peering over your shoulder, helping you along. If I just wanted to know how something works, I would read the documentation, but the book also explains why it's useful, and when and where to use it!” - Rob Meijer
- The Container
- Web Server Configuration
- Project Structure
- Basic Routing
- Route Parameters
- View Data
- Custom Responses
- Response Shortcuts
- Basic Filters
- Multiple Filters
- Filter Parameters
- Filter Classes
- Global Filters
- Default Filters
- Pattern Filters
- Creating Controllers
- Controller Routing
- RESTful Controllers
- Creating Templates
- PHP Output
- Control Structures
- Template Inheritance
- Named Routes
- Secure Routes
- Parameter Constraints
- Route Groups
- Route Prefixing
- Domain Routing
- The current URL
- Generating Framework URLs
- Asset URLs
- Generation Shortcuts
- Old Input
- Uploaded Files
- Opening Forms
- Form Fields
- Form Buttons
- Form Macros
- Form Security
- Simple Validation
- Validation Rules
- Error Messages
- Custom Validation Rules
- Custom Validation Messages
- Creating Tables
- Column Types
- Special Column Types
- Column Modifiers
- Updating Tables
- Dropping Tables
- Schema Tricks
- Basic Concept
- Creating Migrations
- Running Migrations
- Rolling Back
- Migration Tricks
- Creating new models.
- Reading Existing Models
- Updating Existing Models
- Deleting Existing Models
- Eloquent To String
- Query Structure
- Fetch Methods
- Query Constraints
- Magic Where Queries
- Query Scopes
- The Collection Class
- Collection Methods
- Best Practice
- Introduction to Relationships
- Implementing Relationships
- Relating and Querying
Build An App 1: Playstation Game Collection
- Let’s think this through
- Time to get hacking!
- Application Logic
Where does it go?
- Procedural Code
- Object-oriented code
- Firing Events
- Listening for Events
- Event Subscribers
- Global Events
- Use Cases
- Inversion of Control
- Dependency Injection
- Coming Soon
The Leanpub 45-day 100% Happiness Guarantee
Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers), EPUB (for phones and tablets) and MOBI (for Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
C++ Best PracticesJason Turner
Level up your C++, get the tools working for you, eliminate common problems, and move on to more exciting things!
Functional Design and ArchitectureAlexander Granin
Software Design in Functional Programming, Design Patterns and Practices, Methodologies and Application Architectures. How to build real software in Haskell with less efforts and low risks. The first complete source of knowledge.
OpenIntro StatisticsDavid Diez, Christopher Barr, Mine Cetinkaya-Rundel, and OpenIntro
A complete foundation for Statistics, also serving as a foundation for Data Science.
Leanpub revenue supports OpenIntro (US-based nonprofit) so we can provide free desk copies to teachers interested in using OpenIntro Statistics in the classroom and expand the project to support free textbooks in other subjects.
More resources: openintro.org.
R Programming for Data ScienceRoger D. Peng
This book brings the fundamentals of R programming to you, using the same material developed as part of the industry-leading Johns Hopkins Data Science Specialization. The skills taught in this book will lay the foundation for you to begin your journey learning data science. Printed copies of this book are available through Lulu.
C++20 is the next big C++ standard after C++11. As C++11 did it, C++20 changes the way we program modern C++. This change is, in particular, due to the big four of C++20: ranges, coroutines, concepts, and modules.
I am a Software Engineer and I am in ChargeAlexis Monville and Michael Doyle
I am a Software Engineer and I am in Charge is a real-world, practical book that helps you increase your impact and satisfaction at work no matter who you work with.
In the book, we will follow Sandrine, a fictional character who learns to think in a new way enabling her to take a different course of action.
Invest In Digital Health - The Medical Futurist's GuideDr. Bertalan Mesko
Artificial Intelligence and Digital Health are booming. In this book, we explain why now it's a good time to invest in Digital Health and give recommendations on where to invest by looking at the top 24 technological trends we find the most promising.
Atomic KotlinBruce Eckel and Svetlana Isakova
For both beginning and experienced programmers! From the author of the multi-award-winning Thinking in C++ and Thinking in Java together with a member of the Kotlin language team comes a book that breaks the concepts into small, easy-to-digest "atoms," along with exercises supported by hints and solutions directly inside IntelliJ IDEA!
The Hundred-Page Machine Learning BookAndriy Burkov
Everything you really need to know in Machine Learning in a hundred pages.
Mastering STM32Carmine Noviello
With more than 600 microcontrollers, STM32 is probably the most complete ARM Cortex-M platform on the market. This book aims to be the first guide around that introduces the reader to this exciting MCU portfolio from ST Microelectronics and its official CubeHAL.
Software Architecture for Developers: Volumes 1 & 2 - Technical leadership and communication
2 Books"Software Architecture for Developers" is a practical and pragmatic guide to modern, lightweight software architecture, specifically aimed at developers. You'll learn:The essence of software architecture.Why the software architecture role should include coding, coaching and collaboration.The things that you really need to think about before...
The Future of Digital Health
6 BooksWe put together the most popular books from The Medical Futurist to provide a clear picture about the major trends shaping the future of medicine and healthcare. Digital health technologies, artificial intelligence, the future of 20 medical specialties, big pharma, data privacy and how technology giants such as Amazon or Google want to conquer...
Cisco CCNA 200-301 Complet
4 BooksCe lot comprend les quatre volumes du guide préparation à l'examen de certification Cisco CCNA 200-301.
CCDE Practical Studies (All labs)
3 BooksCCDE lab
"The C++ Standard Library" and "Concurrency with Modern C++"
2 BooksGet my books "The C++ Standard Library" and "Concurrency with Modern C++" in a bundle. The first book gives you the details you should know about the C++ standard library; the second one dives deeper into concurrency with modern C++. In sum, you get more than 600 pages full of modern C++ and about 250 source files presenting the standard library...
Modern Management Made Easy
3 BooksRead all three Modern Management Made Easy books. Learn to manage yourself, lead and serve others, and lead the organization.
Programming with Ease
3 BooksAlle drei Bände der Serie Programming with Ease in einem Paket. Darin findest du alles, was ich dir zu den wichtigsten Phasen der Softwareentwicklung im Hinblick auf Clean Code Development für langfristig hohe Produktivität sagen kann.Im Band Slicing findest du die Anforderungsanalyse im Rahmen eines iterativ-inkrementellen Vorgehensmodells aus...
2 BooksUnveil the power of Ansible and Vagrant with this bundle at a special price. You'll have everything you need to get started with Vagrant - learn the basics and how to create your virtual development environments, using Ansible as provisioner! About Vagrant Cookbook Vagrant Cookbook is a complete guide to get started with Vagrant and create your...
2 BooksDocker and Kubernetes are taking the world by storm! These books will get you up-to-speed fast! Docker Deep Dive is over 400 pages long, and covers all objectives on the Docker Certified Associate exam.The Kubernetes Book includes everything you need to get up and running with Kubernetes!
Growing Agile: The Complete Coach's Guide
7 BooksGrowing Agile: Coach's Guide Series This bundle provides a collection of training and workshop plans for a variety of agile topics. The series is aimed at agile coaches, trainers and ScrumMasters who often find themselves needing to help teams understand agile concepts. Each book in the series provides the plans, slides, handouts and activity...