Step 6: Understanding Arrays

Let’s learn about a new construct: arrays. Think of them as primitive collections of related data. Maybe you have an array of names, or animals, or practically anything. Even better, we can filter through this data and act upon it with ease.

Step 6 Homework: Create an array of any five animals, and then loop over them with foreach, and display each one within a list item.
Source: Laracasts

Step 5: Separate PHP Logic From Presentation

We’ll touch on a slightly higher level topic in this episode, but only lightly. If you stick with it long enough, you’ll begin to hear the phrase "separation of concerns." At our current skill level, this means we should give consideration to the fact that, at the moment, our PHP logic and HTML presentation are a bit too intertwined. Perhaps we can separate these concerns.

Step 5 Homework: Play around with creating a new file, preparing a few variables, and then loading a separate "view" file to present the HTML.
Source: Laracasts

Step 4: PHP and HTML

PHP is a language built for the web. As such, it mixes with regular HTML beautifully. Let’s learn how that all works in this episode. You’ll review embedding PHP in HTML, calling your first function, and fetching URL parameters.

Step 4 Homework: Echo a sentence onto the page, while fetching a URL parameters from the address bar.
Source: Laracasts

Step 3: Variables

Now that you’re ready to begin coding, let’s start at the top. What exactly is a variable, and why would ever use one?

Step 3 Homework: Create a variable, and figure out how to echo it onto the screen or page.
Source: Laracasts

Step 2: Install a Proper Code Editor

Before we get started, let’s ensure that you have a proper code editor installed on your machine. As you’ll find, code editors are much like fashion: everyone has their own preference. It doesn’t matter which you choose, so pick one!

Step 2 Homework: Install a proper code editor on your machine right now. It could be Sublime Text, Atom, PHPStorm, or a different one entirely.
Source: Laracasts

How Do I Restrict Access With Nginx

The very first #helpMeLaracasts question in this series comes from Mohammad, via email. He’d like to know how to restrict access to his website on the server level, using Nginx. Maybe his code has been pushed to production, but he’s not quite ready to let the public see it. Okay, let’s figure out what to do!
Source: Laracasts

VarDumper

In this episode, we’ll quickly review Symfony’s VarDumper component, which, again, Laravel leverages behind the scenes. As you’ll see, it provides significantly better output when dumping variables to the page.
Source: Laracasts

Zend Framework 3 Released!

After 17 months of effort, hundreds of releases, tens of thousands of commits by
hundreds of contributors, and millions of installs, we’re pleased to
announce the immediate availability of Zend Framework 3.

What is Zend Framework 3?

For Zend Framework 2 MVC users, the differences are subtle:

  • Increased performance; we’ve measured up to 4X faster applications under PHP
    5, and even better performance under PHP 7!
  • PHP 7 support.
  • A focus on de-coupling packages, to allow re-use in a greater number of
    contexts. In some cases, this has meant the creation of new packages that
    either split concerns, or provide integration between multiple components.
  • A focus on documentation. Documentation is now included within each component
    repository, allowing us to block contributions for lack of documentation, as
    well as automate deployment of documentation. See our new
    documentation site for the results.

Migration from version 2 to version 3 was at the top of our minds, and we have
provided a number of forwards compatibility features over the course of ZF3
development, and written migration guides
to help you navigate the changes.

If you are already familiar with our MVC, or want to get started with it, we
have created a new version of the skeleton application
that ships with minimal dependencies, and provides a number of convenience
features including the ability to select optional packages at installation, as
well as auto-register components and modules when adding them to your
application. Read more about the skeleton in the documentation.

For newcomers to the framework, we have been working on our package
architecture, and attempting to make each package installable with a minimal
amount of dependencies, to allow usage in any project, from Zend Framework MVC
applications to other popular frameworks such as Laravel and Symfony. All
components are now developed independently, with their own release schedules,
allowing us to ship bugfixes and new features more frequently. This change has
allowed us to tag multiple hundreds of releases in the past year!

The Zend Framework 3 initiatives also included a number of new features,
primarily around PSR-7 (HTTP Message
interfaces) support. These include:

Yes, you read that correctly: Zend Framework now ships with a microframework as
a parallel offering to its MVC full-stack framework! For users new to Zend
Framework who are looking for a place to dive in, we recommend Expressive, as we
feel PSR-7 middleware represents the future of PHP application development.

The release today is a new beginning for the framework, returning to its
original mission: a strong component library, with opt-in MVC features.

Join our community today; we’re available on the
#zftalk Freenode IRC channel, and via our
component repositories (for discussing issues and development).

— The Zend Framework Team —

Look for follow-up posts on this blog soon, detailing some of the new
features!

Source: Zend feed

Zend Framework 1 End-of-Life Announcement

With the release of Zend Framework 3, it’s time to halt development on Zend
Framework 1. As such, we hereby announce that Zend Framework 1 reaches its End
of Life (EOL) three months from today, on 28 September 2016.

Between now and then, we will only provide security fixes, if any security
reports are made in that time frame. Past that point, we will offer custom bug
and security fixes for Zend Framework 1 on-demand only to
Enterprise users of Zend Server.

Additionally, as of today, access to our legacy subversion server is disabled.
If you were using svn:externals to incorporate Zend Framework into your
application, please download the relevant package as listed in our
Zend Framework packages archives instead, or update your
application to use Composer.

If you need assistance migrating your Zend Framework 1 application to Zend
Framework 2/3 or Expressive, Zend offers architecture migration
services
.

If you are in need of Zend Framework 2/3 training, Zend offers both a
Zend Framework 2 Fundamentals course
and a Zend Framework 2 Advanced Concepts course.

Source: Zend feed

1 2 3 4