Step 9: Conditionals

A conditional is how we branch our logic into different paths. "If some value is true, then we want to proceed in this way. Otherwise, let’s handle it in that way." As you can see, booleans and conditionals go hand-in-hand.

Homework: Continue tinkering with conditionals. Add a new boolean to your task array, and use its value to branch off into two different paths within your HTML.
Source: Laracasts

Step 8: Booleans

"Boolean" is a scary, but simple term to understand. It’s a data type that represents one of two values: true or false. As you’ll find, you’ll reference booleans constantly within your projects. So it’s important that you understand this one.
Source: Laracasts

Step 7: Associative Arrays

We’ve learned about basic arrays, but you may also creative associative arrays when necessary. The only difference is that each value within the array is associated with a key. Let me show you.

Homework: Create an associative array for a task. This array should include such details as the title of the task, its due date, who it’s assigned to, and whether it has been completed.
Source: Laracasts

Laracon US Live Stream

Laracon Live Stream

For the first time ever, Laracon US is offering a live stream plus early access videos.

When you purchase access on the day of the conference you will get an email link to access the stream and be able to watch all the talks except for the one by Ryan Singer.

Please note that in the event of technical difficulties or bandwidth issues, you will still have exclusive access to download the talk videos within 24 hours. Since proceeds from these sales will go to support the bandwidth for hosting the early access videos, they will not be processing refunds for issues with the live streaming.

We still plan on bringing the live blog here on Laravel News, but of course, video and audio is always nicer.

Source: Laravel News

Code My Views →

code-my-views

Code My Views is your on-demand development team. Offering services to provide a clean front-end so you can focus on what you enjoy, building the back-end.

The process is simple, send them your designs and within an hour they will give you a quote with a guaranteed delivery date. After that, their team will hand code the HTML and CSS (or SASS, SCSS, LESS) using the latest web standards.

Have no time to code? They also offer full MVP builds using Laravel and Vue.js. Take your idea to market by partnering with the talented Code My Views team.

***

Thanks to Code My Views for sponsoring Laravel News this week.

Source: Laravel News

October CMS releases their first stable version

october

October CMS has announced their first stable version:

Today is a long-awaited date for all of us, October has finally reached a stable release! This version is based on the foundation framework Laravel 5.1 LTS (Long Term Support). Over the past two and a half years October has become a go-to platform for many developers and clients. It has been installed more than 100 thousand times, there are thousands of active users and these numbers grow steadily every day.

To go along with the new release they have redesigned the site and made changes to their support area. If you are new to October here is a crash course video on how it works:

Congrats to the October team for shipping their first stable release!

Source: Laravel News

How Do I Distribute an NPM Package Written With ES2015

Today’s question is locked on the Node world. Imagine that you’re building an NPM package, but are hoping to use the latest and greatest that ES2015 has to offer. Is it possible to use all these modern features, while ultimately distributing a compiled version to all users? Of course! I’ll show you how.
Source: Laracasts

Canvas – A new minimal blogging app

canvas-blog

Canvas is a new minimal blogging app by Todd Austin built on Laravel. It features writing in markdown with the Summernote WYSIWYG, a media uploader, post tags, and post scheduling. It is designed to be a standalone blogging app not installed into an existing Laravel app, but it looks a great way to start your own blog and then build off the existing features.

The installation is really straightforward, especially if you are comfortable with Laravel. Using Composer all that is required is running:

composer create-project austintoddj/canvas

Then generate your application key:

php artisan key:generate

Next, open the UserTableSeeder.php file and set your login credentials, and finally run the install:

php artisan migrate --seed

After that, you are ready to start customizing the tags and begin writing your first blog post.

For my first look at Canvas, I’m impressed with the appearance of the admin. The only negatives I experienced was with the new post screen because adding a placeholder image is not intuitive. I expected the ability to select existing uploaded images or to upload a new one directly. Instead, it is just an input text where you have to enter the file name manually. The second minor thing is the date selection is not a calendar and expects it to be entered in this format, YYYY/MM/DD HH:MM:SS. I’d love to see that support strtotime or something a little more friendly.

Overall Canvas seems to be a great way of quickly creating a blog and a great starting point. For more information see the official site and Github project.

Source: Laravel News

1 3 4 5