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!

July 12, 2018

Hello and welcome to the latest @phpweeklynews.

The PHP team has announced the release of PHP 7.3.0 Alpha 3 this week, to be tested and issues reported.

Also this week we take a look at how to build a simple polling plugin for WordPress with Vue.

Following an article last year on why Doctrine is dying, there's been a turnaround within the Doctrine project which has led to a follow up blog on reasons why it's now alive and kicking.

Plus the latest PHP Web Development Podcast takes a look at the future of Laravel.

And finally, the Coder Cruise sets sale next month out of Ft. Lauderdale for a 5 day developer conference on a cruise ship. Tickets are still available.

Have a great weekend,

Cheers
Ade and Katie

Please help us by clicking to our sponsor:

encrypt php scripts 
Protect your PHP Code
Why not try SourceGuardian 11. Click here to download a 14 Day Trial copy. Protect your code using Windows, Linux or Mac and run everywhere with our free Loaders.

Articles

Don't Read Books
You're probably thinking: "He's joking, right? That's kind of that title, that is a parody to show us we should do the opposite. You won't get us again, Tomas." No, I really don't think we should read books nor feel bad for not reading them. And now talk about those non-fiction books with the knowledge that readers want to use in their lives. Do you still think this is sarcasm? Keep on reading.

Blogging Every Week
A very important "trick" in finding the flow in life is: do what you like most. Of course, you have to do things you don't like (and then you need different life hacks), but when you can do something you like, you'll find that you'll be more successful at it. When it comes to blogging, I find that it helps to follow my instincts, to write about whatever I like to write about at the moment. I can think of a list of things that need blogging about, but I end up not writing about them because they don't light the fire inside me (anymore).

6 Reasons Why Doctrine is Alive and Kicking
Almost 1.5 year ago I wrote Why is Doctrine Dying. I didn't use dead, because it's is just state of time being. Open-source projects - like people - tend to find themselves on the top, being stuck or struggling with the right path from time to time. It's a completely normal process of evolution. I don't know if that post helped it, but since then many things changed for better in Doctrine project. Saying that this post deprecates my old view and celebrate changes.

About Fixtures
System and integration tests need database fixtures. These fixtures should be representative and diverse enough to "fake" normal usage of the application, so that the tests using them will catch any issues that might occur once you deploy the application to the production environment. There are many different options for dealing with fixtures; let's explore some of them.

Tutorials and Talks

Understanding Design Patterns - State
Allows an object to alter its behaviour when its internal state changes. The object will appear to change its class.

How to Install ownCloud on Ubuntu 18.04
Let's see what happens when we undertake the process of installing the latest version of ownCloud onto the latest version of Ubuntu Server. The process isn't terribly challenging, at least not when you know what dependencies to install.

Zend Framework: ACLs For Users With Multiple Roles
After covering the essentials of the Zend\Permissions\Acl component (Access Control unit, Cross Cutting Concerns module, in the Zend Framework Advanced course), many students have approached me to ask, “what happens if a user has multiple roles?” In this article I discuss the “traditional” way of handling a user who has multiple roles, and then lay out an easy approach which I simply call Mr. X.

Parsing HTML With PHP Using DiDOM
In this tutorial, we will learn about a fast, easy-to-use HTML parser called DiDOM. We will begin with the installation process and then learn how to extract information from different elements on a webpage using different kinds of selectors like tags, classes, etc.

Setting up PHP, PHP-FPM and NGINX for Local Development on Docker
You probably heard from the new kid around the block called "Docker"? You are a PHP developer and would like to get into that, but you didn't have the time to look into it, yet? Then this tutorial is for you!

Building Deploy Ready PHP Apps
Deploy ready means that your application should be able to be deployed in any environment without changing the application code.

Writing WordPress Posts in Markdown
WordPress allows you to write your posts using Markdown. This feature is available using Jetpack. If you write some of your eBooks or other documents using Markdown, and need to transfer some of the same content to a WordPress blog than this feature is extremely useful. No need to again create a different HTML version of the content.

Notes For Working On The OpenWhisk PHP Runtime
These are some notes for working on the OpenWhisk PHP Runtime, but are probably applicable to the other runtimes too.

Implementing Custom Logic With Raw SQL In Laravel’s Query Builder
Laravel’s query builder offers a nice way to work with raw SQL. We can use them in our where conditions and also in our orderings as well. Let’s see some examples where we can use raw SQL to implement custom logic for ordering the results.

How To Rid Your Database of PHP Class Names in Eloquent's Polymorphic Tables
Polymorphic relations let you set up a relationship between many different model types, without the need for extra tables. This works by storing the "morphable type" (explained below) in the database, in addition to the morphable type's ID. By default, the morphable type stored in the database is the model's full class name. While this works, it tightly couples your database to your PHP application. Let's look at how we can instruct Eloquent to use more generic values for these morphable types.

Building a PHP Framework: Part 7 – The Container
Part 6 began our discussion of PHP containers. Today, I’ll be going into greater detail of the subject and, along with that, I’ll run down the work done so far on the Analyze container.

200 OK
200 OK is the most common HTTP status code. It generally means that the HTTP request succeeded. If the HTTP request was a GET request, the response should include the full representation of the resource.

Improving Performance Perception: On-demand Image Resizing
We’ve been building a sample application — a multi-image gallery blog — for performance benchmarking and optimisations. At this point, our application serves the same image regardless of the resolution and screen size it’s being served in. In this image resizing tutorial, we’ll modify it to serve a resized version depending on display size.

Build a WordPress Plugin with Vue 2
It’s been a while since we’ve played with Vue JS on this blog, so why don’t we take a beginner-focused look at how one might go about building a simple polling plugin for WordPress with Vue.

News and Announcements

PHP 7.3.0 Alpha 3 Released
The PHP team is glad to announce the release of the third PHP 7.3.0 version, PHP 7.3.0 Alpha 3. The rough outline of the PHP 7.3 release cycle is specified in the PHP Wiki. For source downloads of PHP 7.3.0 Alpha 3 please visit the download page. Windows sources and binaries can be found on windows.php.net/qa/. Please carefully test this version and report any issues found in the bug reporting system.

CoderCruise - August 30-September 3rd 2018, Ft. Lauderdale, FL
Tired of the usual web technology conference scene? Want a more inclusive experience that lets you get to know your fellow attendees and make connections? Well, CoderCruise was designed to be just this. It's a polyglot developer conference on a cruise ship! This year we will be taking a 5-day, 4-night cruise out of Ft. Lauderdale, FL that includes stops at Half Moon Cay and Nassau. Tickets are on sale now.

WavePHP Conference - September 19th-21st 2018, San Diego
WavePHP Conference is bringing the wonderful PHP community to the Southwest United States. Designed to be a conference for both professionals and hobbyists alike. Held in beautiful southern California's San Diego County the area has ideal weather and tons of activities. Early Bird Tickets are on sale now.

Pan-Asian PHP Conference - September 26-29th 2018, Singapore
The third pan-Asian PHP conference will take place in September 2018 in Singapore - the Garden City of the East! This is a single track, 2 days Conference, followed by a day of tutorials on 29th September 2018. Come and meet with the fastest growing PHP communities in Asia. More than 300 attendees are expected in this single track conference, with Rasmus Lerdorf and Sebastian Bergmann already confirmed as speakers. Super Early Bird Tickets are on sale now.

Nomad PHP US - August 23rd 2018 20:00 CDT
PHP-1701-A. Presented by Adam Culp. Regardless of claims by trendy developer websites, Enterprise PHP really is a thing: the final frontier. A reality for companies doing business at scale who turn to their developers for selecting frameworks, libraries, and tools that work at the scale they operate. There are undocumented, and unspoken criteria driving what they trust. Join us in this talk as Adam Culp walks through lessons learned over a five-year mission, consulting with companies who operate enterprise scale PHP applications. See what was boldly learned about squeezing more power out of PHP’s engines.

Nomad PHP EU - August 23rd 2018 20:00 CEST
Building Lego Robots with PHP. Presented by Christopher Pitt. Hands up if you love LEGO. Just kidding, I can’t see your hands. I understand why you love it though. LEGO in general, and especially Technic, are wonderful outlets of creativity and marvels of engineering. Everything fits together so neatly. Some of the sets also include optional motors and sensors; bringing them to life. The trouble is that they’re closed systems, not easily customised or controlled. Until now.

Podcasts

Post Status Draft Podcast - Working On Your Own Website
In this episode, the Brians discuss the challenges of working on your own business website, when your company offers services or makes products for websites.

PHP Web Development Podcast Ep #6 - Future of Laravel
Following our last week’s podcast with Clem, this week we will be asking more questions about Laravel. What will happen  to Laravel?  We have seen popular frameworks such as Zend move lower in the ratings , will the same thing happen to Laravel? Why do we think it will be around in the next few years?

PHP Ugly Podcast #112 - Episode 1,120
This month the team discusses Alexa telling its owner : All I see is people dying.

Reading and Viewing

Cloudways Interview - Magento Development Trends in Ukraine from Marat Mingazov, WEB4PRO CEO
Learn what Marat Mingazov, CEO of WEB4PRO, has to say about the future of Magento 1 and 2, ecommerce trends, and Magento development principles and workflows in Ukraine in our one-to-one session.

[Live Blog] Hosting WordPress Yourself Q&A
Welcome to the live blog of our Hosting WordPress yourself live Q&A event. The live event has ended. You can see the questions and answers from the event embedded below. If you want to see the full conversation, look up the #HostWPYourself hashtag on Twitter.

Learn Laravel Forge
In this series, guest instructor Marcel Pociot (Beyond Code) will steer you through the ins and outs of building and configuring servers with Laravel Forge. Whether you’re a seasoned veteran hoping to streamline your server workflow, or a beginner who doesn’t know where to start, Marcel will get you up to speed in no time.

What's The Most Weirdest Program You Have Written With PHP?
A great thread on Reddit last week asking for the weirdest program you've written using PHP.

Learn PHP and Zend Framework From Experts
Get PHP training from the basics, through cutting edge topics, and on to certification. Each course offers real-life examples and interactivity to provide a robust and hands-on php training experience, to sharpen your skills and add new development practices.  Our PHP courses, Zend Framework courses, and Zend product courses are taught online with a live expert instructor which are scheduled in advance. Classes can also be taught onsite or in a classroom setting (availability based on geography).

Where Your Money Goes - DrupalCI Tests
The test runs on Drupal.org are paid for by our generous partners and members. This is just one of the services provided by the Drupal Association as part of our commitment to maintain Drupal.org so you can focus on Drupal development and community building.

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

aimeos-core
Aimeos is an Open Source e-commerce framework for online shops consisting of the e-commerce library, the administration interface and different front-ends. It's a modular stack that offers an unmatched combination of flexibility and speed.

concrete5
Welcome to the official repository for concrete5 development! concrete5 is an open source CMS built by people from around the world. Want to get involved? Check out our contributor guide for more info.

biz-framework
A PHP Service Layer Framework.

typesetter
Open source CMS written in PHP focused on ease of use with true WYSIWYG editing and flat-file storage.

kontrolio
A simple standalone data validation library inspired by Laravel and Symfony and compatible with PHP 5.6+.

subrion
Subrion is a Content Management System (CMS) which allows you to build websites for any purpose. Yes, from blog to corporate mega portal.

name-parser
A universal, language-independent name parser PHP library.

infection
Infection is an open source project that welcomes pull requests and issues from anyone.

chassis
Chassis is a virtual server for your WordPress site, built using Vagrant.

imagecow
PHP library to manipulate and generate responsive images.

nano
Nano is a family of PHP webshells which are code golfed to be extremely stealthy and efficient.

froxlor
The server administration software for your needs. Developed by experienced server administrators, this panel simplifies the effort of managing your hosting platform.

wp-user-frontend
A WordPress plugin that brings many backend functionality to the site frontend.

namelessMC
A free, easy to use & powerful website software for your Minecraft server, which includes a large range of features.

Please help us by clicking to our sponsor:

encrypt php scripts 
Protect your PHP Code
Why not try SourceGuardian 11. Click here to download a 14 Day Trial copy. Protect your code using Windows, Linux or Mac and run everywhere with our free Loaders.
 

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 
 

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