sticker

Subscribe! Enter your email address below:

NO SPAM: We absolutely hate spam. We will not share, rent, or give away your email address to anyone.You can unsubscribe at any time. Easily!

June 23, 2016

A very warm welcome to you out there in the PHP community, and thank you for joining us :)

This week the WordPress 4.5.3 maintenance and security release has been announced, available immediately.

Also Drupal 8 was first released 7 months ago, and there's still a lot to learn about it. Learn a little more about developing and debugging Drupal 8 projects.

In this weeks Acquia Podcast, Brandon Relph, the 15yr old CEO of goCreative, talks about his company and ventures.

Plus we have the first in a series of short videos teaching developers all they need to about creating their own business, and developing products that customers will actually be interested in.

And finally, International PHP Conference has been announced for October this year, happening in Munich. Early Bird tickets are on sale now.

Enjoy your weekend folks, 

Cheers
Ade and Katie

We love our sponsors. Why not try them?

From our sponsors:

SourceGuardian 25% Exclusively to PHP Weekly readers, we have an offer on SourceGuardian, up until the end of July2016 (was June 2016, but its been extended), to receive 25% off the purchase price of SourceGuardian. Protect your PHP code. Download the free trial and use the following discount code: bldcvzrh0FIw5AoY

Articles

Take a Look at The Top 5 PHP Frameworks For Developers
Nowadays, developers need to make complex websites and web apps, and above a certain complexity level. This is where PHP frameworks help, as it always helps to build a complex software application, and you can spend more time for specific tasks and functionality.

Using JSON fields with Doctrine ORM on PostgreSQL & MySQL
The latest versions of PostgreSQL and MySQL support a JSON data type. While completely separate NoSQL stores like MongoDB and Redis can be very tempting, using the JSON capabilities of your main RBDMS in environments in a hybrid mode might be a good choice.

Final, Private, a Reaction
I read a blog by Brandon Savage a couple of weeks ago and it triggered some thoughts. He refers to a blog by Marco Pivetta which basically states "Final all the things!". Brandon comes back with a more mild opinion where he offers the notion that this approach might be overkill. Since both posts got me thinking, I tried to organise my thoughts on this in the following post.

Tutorials and Talks

Using AngularJS 2 in PHP via PrimeNG UI Components
In this article, you will see how to use AngularJS 2 in PHP via the PrimeNG UI components. First we need to create an AngularJS 2 application from the beginning and then we will create a project. Finally, we will run the project.

Quick Tip: Local Development with Opera, Nginx 502 error
I was doing some local dev work recently, but for the first time in my “new” browser – Opera. I set up my Homestead Improved instance and its virtual hosts as usual, but then couldn’t get anything other than a 502 error to show up.

Command or Controller
A couple of weeks ago, while walking towards lunch with Jelrik, we were having a bit of a discussion about the use of the term Command. Not long before that, Jelrik had asked a question about naming of Commands in our Slack channel, which led to some confusion.

Let’s Debug in Drupal 8!
It has been nearly 7 months since the Drupal 8 first release and, as a developer, I am still in the learning process. It can be hard sometimes to know what is going wrong with your code and how to solve it. I will tell you a few things to know on how to develop and debug Drupal 8 projects and continue learning, learning and learning!

Mars Rover, Introduction
Welcome to this Mars Rover series. In this introductory article, we're simply going to describe our Mars Rover specifications.

Create a 'Conversation' Banner With Revolving Text in WordPress: Part 1
In this set of two tutorials, I'll show you how to create a text slider with an interesting effect: it will use a custom post type to pull in one piece of text after another in two blocks, creating the effect of a conversation at the top of the page. This will be overlaid over a photo of two people, so that the effect is that the two of them are talking to each other.

Deploying Sculpin to S3 with CircleCI
Until 10 minutes before the start of this month I had a VPS at Digital Ocean running with Jenkins and Gitolite on it, for privately hosted repositories. With Github's recent move to unlimited repositories I really didn't have a need to host them myself anymore, and after playing with CircleCI's free tier it didn't make any sense anymore to keep that VPS up.

Understanding Laravel Middleware
HTTP Middlewares provide a convenient mechanism for filtering HTTP requests entering your application. Laravel, for example, has a middleware for verifying a user's authentication.

Full E-Commerce Integration of Snipcart with WordPress
This is a full technical tutorial on how to completely integrate Snipcart's shopping cart platform with WordPress.

Avoiding the Burden of File Uploads
Handling file uploads sucks. Code-wise it's a fairly simple task, the files get sent along with a POST request and are available server-side in the $_FILES super global. Your framework of choice may even have a convenient way of dealing with these files, probably based on Symfony's Uploaded File class. Unfortunately it's not that simple. You'll also have to change some PHP configuration values like post_max_size and upload_max_filesize, which complicates your infrastructure provisioning and deployments. Handling large file uploads also causes high disk I/O and bandwidth use, forcing your web servers to work harder and potentially costing you more money.

Monitoring WordPress Apps with the ELK Stack
WordPress is an amazing piece of engineering. There’s little wonder that more than a quarter of all CMS-based websites are using it. In reality, though, WordPress sites crash just like any other site. Bad plugins or themes causing the “WordPress screen of death”, or WordPress updates going south, are an all too frequent occurrence.

Introducing Bitnami Development Containers
Folks who have known me for a while, know that I love to make things easy for developers. From my days as a usability engineer on the Visual Studio team, to my pet projects, to my tutorials and samples, making programming easy and fun has been a theme of my work since 1998. Now at Bitnami, I am happy to be working with a team who is as excited about this as I am. We have started a project that takes advantage of Docker to make developing with whatever framework you choose easy and fun. We call this project “Bitnami Development Containers.” This project is an extension of the development process that we have created for our own internal development. It only made sense to share our experience with developers everywhere.

How To Create Hello World Page In Yii2
In my previous article I introduced the Yii2 framework and how it works. In this second installment, I will discuss the creation of a Hello World page, and how to add it in Menu field. I will also create a page that will get a message from the browser and show it on that page. Let’s get started with the Hello World page first.

Symfony Components in a Legacy PHP Application
Symfony Components are a set of decoupled and reusable PHP libraries. They are becoming the standard foundation on which the best PHP applications are built. You can use any of these components in any of your applications independently from the Symfony Framework. The purpose of this post is to roughly describe how to implement some of the Symfony Components. 
News and Announcements

WordPress 4.5.3 Maintenance and Security Release
WordPress 4.5.3 is now available. This is a security release for all previous versions and we strongly encourage you to update your sites immediately.

Drupal 8.1.3 and 7.44 Released
Drupal 8.1.3 and 7.44, maintenance releases which contain fixes for security vulnerabilities, are now available for download

Laracon - 27-29th July 2016, Louisville
Three days of learning, growing and mingling with the Laravel community. It might just be the biggest Laracon yet. Tickets are on sale now.

Symfony Catalunya 2016 - July 22nd-23rd, Barcelona
The latest International Symfony event to be announced takes place, for the first time, in Barcelona. With a list of speakers combining communication skills with the most interesting topics related to Symfony, plus a live Podcast from the Sound of Symfony team, this event should prove to be unique. Early Bird tickets are still on sale. 

International PHP Conference - October 23rd-27th 2016, Munich
The International PHP Conference is the world’s first PHP conference. Over a decade of top-notch, pragmatic expertise in PHP and web technologies. Internationally renowned experts from the PHP industry meet up with PHP users and developers from large and small companies. Early Bird tickets are on sale now.

PHP Conference Asia - 22nd-24th August 2016, Singapore 
The second pan-Asian PHP conference will take place between 22nd and 24th August 2016 in Singapore - the Garden City of the East! Monday, 22nd August 2016 will be a Tutorial day, followed by two days of Conference. Come and meet with the fastest growing PHP communities in Asia. More than 300 attendees are expected in this single track conference. Tickets are on sale now.

ConFoo - December 5-7th 2016, Vancouver
ConFoo Vancouver is a multi-technology conference for web developers. 100 presentations by popular international speakers, focused on pragmatic solutions for web developers, with great content and amazing experience. Discounted tickets are on sale for the next few days.

Podcasts

Lately in PHP Podcast Episode 72 - Built-in Protection Against CSRF Security Attacks in PHP 7.1
Cross-Site Request Forgery (CSRF) are a type of security attacks that may cause user accounts to be abused, so attackers can make users perform actions inadvertently in a vulnerable site and cause serious problems to the users and the sites. There is a new proposal for PHP 7.1 to provide built-in semi-automatic protection against CSRF attacks, so it will be easier for PHP developers to protect the sites they develop against this type of exploit. That was one of the main topics discussed by Manuel Lemos and Arturs Sosins in Episode 72 of the Lately in PHP podcast hangout.

Voices of the ElePHPant - Interview with Elisa Towbis
This week Cal Evans talks to Elisa Towbis, of the South Florida PHP community.

Three Devs and a Maybe Podcast - Postgres Performance Tuning and Query Planner with Bruce Momjian
In this weeks episode we are very lucky to be joined by Bruce Momjian to discuss Postgres Performance Tuning and Query Planner. We start off the discussion around how Bruce got interested in Database Systems, a brief history of Postgres and his involvement with the project over the years. Following this we highlight the three main areas which affect database performance - hardware, server configuration and SQL/indexing. With this knowledge in hand, we then delve into the Query Planner, demystifying some of the terminology and concepts used (i.e. cost, scan methods and join methods). Finally, we summarise how these concepts are used by Postgres to decide which query plan to pick for a supplied query.

LaraChat Live - Episode #10
The tenth episode from the Slack Channel devoted to learning about Laravel.

Full Stack Radio Podcast Episode 43 - Jonathan Snook - Managing Complexity, Design Systems, and Container Queries
In this episode, Adam talks to Jonathan Snook, author of SMACSS, about finding the balance between utility and component driven CSS approaches, design systems engineering, and using container queries to build better responsive web experiences.

Acquia Podcast: Drupal 8 for Beginners - Meet Brandon Relph
I met 15-year-old serial entrepreneur--CEO of goCreative--and budding Drupalist Brandon Relph at the inaugural ThinkNation event in Canterbury, in December 2015. In this podcast, we talk about how he got to know Drupal 8 and what he thought of it. And I was surprised to learn that there is a world of professional Minecraft out there, in which Brandon runs two professional ventures and employs a couple of dozen people around the world.

MageTalk Magento Podcast #97 - “My Own Personal Rant Platform”
The guys rap about the Demandware acquisition and what it means for Magento, and Phillip gets grumpy about "code shaming".

PHP Round Table Podcast Episode 47 - All About HTTP/2
HTTP/1.1 will eventually be replaced by HTTP/2 so it's important for us PHP nerds to know all about the latest version of the HTTP protocol that's already running some of the internet's biggest websites. We discuss the things we need to know to start using HTTP/2 in our next PHP app. We also go briefly off topic to discuss the status of PHP 7.1 and the ramsey/uuid lib.

Laravel News Podcast LN19: Laravel 5.3, Laravel Status Board
A look at what's coming to Laravel 5.3, and building a Status Board using Laravel and Vue.

The Laracasts Snippets Episode 29 - 30 Days
I'm a big fan of the tv show, "30 Days." I even apply it, at a lower level, to things in my own life. Whether it's contributing to open source every day for a month, or working out six days a week for a month, I've done a bunch of them.

The John Morris Podcast - The EXACT PHP Skills You Need to Learn to Get Paid to Code
“What if I told you I could teach you how to master PHP to the point you can start getting work building PHP applications… in just the next few months?”.

Reading and Viewing

Interview with PHP Developer and Podcaster Matthew Setter
Matthew Setter is an experienced technical writer who is associated with software development for a long time. He is an experienced web developer, editor of Master Zend Framework, author for SitePoint, a technical trainer, as well as a podcaster. Matthew Setter specialises in PHP and the Zend framework. He creates screencasts, presentations and podcasts for his readers, and also writes the Education Station column for PHP Architect magazine.

ADR pattern, Autowiring, DunglasActionBundle: Symfony Controllers Redesigned
Here are the slides of the talk I gave recently at the Symfony meetup (sfPot) of Lille. I was presenting DunglasActionBundle, a refinement of the the Symfony controller system and talking about services autowiring and the ADR pattern.

7 Reasons Why Developers Need to Create their Own Software Product Businesses
Many developers are not happy with working for other companies. They do not have much autonomy to work on projects they want, they cannot work from home, they cannot work any time they want, and in the end they get paid a limited amount of money. The alternative for these unhappy developers is to create their own software products and sell them to many customers. Unfortunately, many developers do not know how to get started and become successful. The good news is that this is the first of a series of short videos that will teach developers all they need to know to create their own businesses, developing products that the customers really want and will pay for. Watch this short video to learn about why creating your own products is the right step to being a happier developer, as well as how you can attend a free online workshop that will teach the essential steps to achieve that goal.

Thijs Feryn's Interview with Channel 9
Channel 9 is Microsoft’s main video channel for technical content. It is aimed at developers and features videos by people who build and who use Microsoft products and services. They also interview people from various communities. Channel 9 invited me for a short interview at the Microsoft booth back when I was at Techorama. Set Juarez, one of the cool folks at Channel 9, asked me some questions about myself and my ElasticSearch talk. Check out the interview here.

Building Exceptional Sites with WordPress & Thesis: A PHP[architect] Guide Paperback (by Peter MacIntyre, published 26 May 2016)
Need to build customised, secure, search-engine-friendly sites with advanced features quickly and easily? Learn how with this guide to WordPress and the Thesis theme. WordPress is more than a blogging platform — it powers one-fifth of the Web. This book explains how to customise pages using Thesis and provides a survey of must-have plugins to help your website track and understand your website traffic analytics, harden your site’s security and defenses against hackers, improve Search Engine Optimization (SEO), stay in communication with your users via email, handle e-commerce, offer tiered access to your site, and more.

Jobs



Do you have a position that you would like to fill? PHP Weekly is ideal for targeting developers and the cost is only $50/week for an advert.  Please let me know if you are interested by emailing me at [email protected]

Interesting Projects, Tools and Libraries

charcoal-core
The charcoal-core module contains abstract classes and interfaces as well as basic functionalities to create a Charcoal Project.

abimo
Abimo is a super lightweight and fast PHP MVP micro-framework.

sylius
Sylius is an open source e-commerce solution for PHP, based on the Symfony2 framework.

dive
Dive ORM Framework (PHP)

phansible
Phansible is a simple generator for Vagrant projects, targeting PHP development environments, using Ansible as Provisioner.

quark
Quark is a PHP SaaS framework, designed for using in complex projects.

broom
A PHP package mainly developed for Laravel to manage option values.

exedra
A multi-tier nestful routing oriented PHP Framework.

security-advisories
The PHP Security Advisories Database references known security vulnerabilities in various PHP projects and libraries. 

sylius
Sylius is an open source e-commerce solution for PHP, based on the Symfony2 framework.

twig
Twig, the flexible, fast and secure template language for PHP.

knob-mvc
Knob is a PHP MVC Framework for creating templates for Wordpress.

fxmlrpc
A modern, super fast XML/RPC client for PHP >=5.4.

deployer
PHP application deployer.
Please help us by clicking to our sponsor:


 From our sponsors:
SQL Dashboards in a Flash Periscope Data lets you run analyses over billions of rows in seconds

(ads by LaunchBit) 

So, how did you like this issue?

Like us on FacebookFollow us on Twitter
We are still trying to grow our list. If you find PHP Weekly useful please tweet about us! Thanks.
Also, if you have a site or blog related to PHP then please link through to our site.

unsubscribe from this list | update subscription preferences 
 


Protect your PHP code with SourceGuardian 10. Free trial.

 

Subscribe! Enter your email address below:

NO SPAM: We absolutely hate spam. We will not share, rent, or give away your email address to anyone.You can unsubscribe at any time. Easily!

Talk to us!

If you have some news, want to share a link with us or chat with us feel free to email us.

And we also have an RSS feed that you can use.

Like us on FacebookFollow us on Twitter

Copyright © PHPWeekly.com