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!

February 5, 2015

Do you want to protect your code? Try SourceGuardian
Hi there PHP fans ;)

With the final results of the PHP and JavaScript Innovation Awards of 2014 about to be announced, the winners will be presented this year, for the first time, with a beautiful trophy. Read about how you can win one of your own.

We have the second part of the Programming With Yii2 series, this time exploring MVC, Forms and Layouts.

Also this week, the Drupal Association has opened up nominations for a new At-large Director, looking for someone to represent the Drupal community on the board for a two year term. If that sounds like your thing, nominate yourself now.

Plus, recorded at ZendCon 2014, Cal Evans interviews the team from Code Climate for this weeks Voices of the ElePHPant podcast.

Finally, the 10th annual PHP UK Conference in London is only a few days away. Two days of the most up-to-date PHP information and training, set in the most exciting city in the world. There are still a few tickets left, so register quick.

Have a great weekend,

Cheers
Katie and Ade

We still need your clicks :)

Please help us to keep doing this each week by visiting our sponsor:

 From our sponsors:
Monitoring without alerts ruxit configures itself automatically as your application and infrastructure evolve. It uses AI to get to the root of issues much faster than a human can.
(Sponsor this newsletter

Articles

ClassManager – You Shall Not Pass
Choosing a suitable name for classes can be notoriously difficult. Done right, they make code more self-documenting and provide a vocabulary for reasoning about code at a higher level of abstraction. Piotr Pasich's article gives tips and advice on how to make names more readable.

Developer Security Outreach
Thinking about how to try to bring the security and development communities together, most specifically for PHP, this article talks about developer outreach as it relates to security and secure development practices.

New Trophies for the Winners of the PHP and JS Innovation Award of 2014
In a few days the final results of the PHP and JavaScript Innovation Awards of 2014 will be announced. Each winner will receive as a prize a nice PHP elePHPant plush toy and, starting this year, a beautiful physical trophy as symbol of the recognition deserved by the authors for being so innovative. Read this article to see the first pictures of what the winner trophies look like, and how you can get your own trophy submitting innovative classes.

The PHP Paradox
After attending PHP Benelux last month, Mattias Geniar realised a couple of things about PHP that he hadn't thought of before. These are what he calls the The PHP Paradoxes......

Tutorials and Talks

RAML, the RESTful API Modeling Language
In a recent article I introduced Slate, a static site generator specifically designed for writing API documentation. This time around, I’m going to look at something which, in many ways, is even better. RAML (RESTful API Modeling Language) provides a structured, unambiguous format for describing a RESTful API. It allows you to describe your API; the endpoints, the HTTP methods to be used for each one, any parameters and their format, what you can expect by way of a response and more.

Working with PHPUnit Test Helpers
In the first two articles (Test Driven Development with PHPUnit and Advanced Mocking with PHPUnit) I gave an introduction to PHPUnit and how to do object mocking. While necessary, sometimes all of the setup work can become tedious for large projects. In this article, I hope to show how some helper methods can make test writing much easier and faster.

PSR-7 By Example
PSR-7 is shaping up nicely. This post demonstrates usage of the currently published interfaces, and illustrates both the ease of use and the completeness and robustness they offer.

SQL Like Query on CSV and Other Tabular Data
CSV files are ubiquitous in the programming world and most data interchange is done using the CSV format. One problem however is that you cannot quickly check for certain rows depending on a particular field criteria. In this post we will look into a command-line tool that allows you to query CSV data with SQL like syntax.

Introducing CockpitCMS – a CMS for Developers
Not quite like other “heavy weight”, or “fully fledged” CMSes, Cockpit is lightweight and “bare”. It only provides a backend to manage meta-data and data entries, whilst the frontend is all in the developer’s hands. In this tutorial, we will see how to use Cockpit CMS to set up a CMS backend and to use the API interface provided by Cockpit to build a customised functional frontend.

Working with CodeIgniter HMVC Framework, Smarty Template and Doctrine ORM All Together
This is a tutorial to show how to combine CodeIgniter HMVC Framework with Smarty Template and Doctrine ORM. Read this article to learn how to use various ORM commands in your Web sites without the need to use command line tools.

What's A Link?
When you ask a developer, what is a "link", they may quickly answer "a URL" or "a URI", but this is not the whole truth. A URL is only an address that you can find to build a resource. A "link" connects one resource to another. Evert Pot's goal is to create a PHP interface that describes the abstract data-model behind a link. This blogpost is quite literally him making progress through all the specs.

MySQL Transactions in NodeJS
In a previous post we saw how to access and query MySQL from NodeJS. In this post we will see how we can use MySQL transactions in NodeJS. We will be using the same library as used before, so if you have not installed it go ahead and install it. The library supports simple transactions at the connection level.

Programming With Yii2: Exploring MVC, Forms and Layouts
In Programming with Yii2: Getting Started, we set up Yii2 locally, built a Hello World application, set up a remote server, and used Github to deploy our code. This tutorial will cover some of Yii's more basic concepts related to its implementation of the MVC framework: Models, Views and Controllers. We'll also explore layouts and customisation of navigation menus and Bootstrap elements.

Effective PDF Generation in Drupal
On the SitePoint website this week, Chris Ward walks us through a client requirement for PDF generation, to generate certificates that could be viewed online or printed using the best Drupal options available.
News and Announcements

Joomla! 3.4 Beta 1 Released
The Joomla! Project is pleased to announce the availability of Joomla! 3.4 Beta 1. Community members are asked to download and install the package in order to provide quality assurance for the forthcoming 3.4 release. 

Nominations Open for Drupal Association At-Large Director
The Board of Directors of the Drupal Association are responsible for financial oversight and setting the strategic direction of the Drupal Association. The At-large Director position is specifically designed to ensure community representation on the Drupal Association board and we strongly encourage anyone with an interest to nominate themselves today. We're looking to elect one candidate this year to serve a two-year term.

PHP UK Conference - February 19-20th 2015, London
Only a few more days until the 10th Annual PHP UK Conference. Two days of amazing talks, plentiful networking opportunities and great socials. PHP UK offers the most up-to-date PHP information and training. Still a few tickets available now.

php[tek] Conference - May 18-25th 2015, Chicago
php[tek] is a PHP conference like no other. It brings together great technology content and great people, and mixes them up in a wonderful cocktail of PHP fun. You will find high-quality presentations by the brightest experts in the PHP world, coupled with a welcoming and friendly community of attendees and speakers. Early bird tickets are available now.

Bulgaria Web Summit - April 18th 2015, Sofia
The Bulgaria Web Summit is an annual conference about the modern web, covering programming, UX/UI/IA/Design, IOT and web. Tickets are available now.

Midwest PHP Conference: March 14-15th 2015, Minneapolis
Now in its third year, the conference will bring together developers from across the PHP community to learn about modern web development practices across a range of technologies, including PHP, JavaScript, HTML, CSS and more. Conference tickets are available now.

Reading and Viewing

dev/hell Podcast Episode 55 - The Erotic Possibilities of the Holodeck (REDUX)
Everything old is new again! Sort of! We chatter about Chris’s 1% car and how rough it is to upgrade. Then we babble about WebOS, LuneOS, and Ed’s experiences running the Spaz open source project. Chris made some open source stuff once too.

Voices of the ElePHPant - Interview with Code Climate
Recorded at ZendCon 2014, Cal Evans interviews the team from Code Climate, a company founded over 3 years ago to give assistance to developers working on long term projects.

Three Devs and a Maybe Podcast: The SOLID Podcast
This week we have a three developer podcast with discussions on a host of topics. We kick off with how Fraser has enjoyed building his first bonus slot game, written entirely in JavaScript and HTML5. Preprocessors are a huge part of the JavaScript ecosystem at this time, and with so many to choose from we discuss a couple of the more popular ones. This leads on to Photoshop discussion, ReactJS, the cool features present in ES6 and how you can use them today with transpilers. Following this we move on to the SOLID principles, the overuse of inheritance, technical debt and the concept of Over-DRY vs. Software Value. This then takes us on to a strange 'rubber duck' example Edd conjured up to help try and explain the Liskov substitution and Interface segregation principles. Finally, we discuss Edd's media server setup and how he has got it to a stage that he is finally happy with it.

The Changelog Podcast #139 - The Rise of io.js with Mikeal Rogers
Our guest this week is Mikeal Rogers, one of the leads behind io.js, a friendly fork of Node.js with an open governance model. We discuss why the io.js fork exists, why they choose open governance, the roadmap and future of io.js, supporting ES6, burnout while working in open source, and the steps you can take to get involved with io.js.

MageTalk Magento Podcast #21
Take the 405 to Muggle Town.

Acquia Podcast: Meet Dustin Whittle: Get More Done, Better & Faster – Together
Dustin Whittle, Developer Evangelist at AppDynamics, and I sat down at SymfonyLive Berlin 2014 to get to know each other. We touched on PHP's past and potential futures through HHVM or PHP7, how competition and collaboration both improve open source software and how business benefits from that, Drupal 8, and more. This podcast is some extracts from that conversation!

Jobs

To post a job advert please contact [email protected]

Fuzzy Matching Project Work
We are looking for someone to help on a specific project which will involve matching products on one website with products on another website. Someone with skills and demonstrable experience of matching algorithms is a necessity. If you can’t prove that you can do this kind of work please do not contact us. For the right person there is ongoing exciting work. In the first instance please contact us at [email protected] with “Fuzzy matching project” as the subject and we will then create a shortlist, providing the shortlist with information about our company.

Toptal PHP Developer
Freelance with Companies like Airbnb, IDEO & JPMorgan. Work on special projects with great companies through Toptal. Set your weekly/hourly rate, and work from anywhere in the world as an elite PHP developer. See if you have what it takes!

Infrastructure Engineer - Atlanta, GA
We’re looking for an Infrastructure Engineer for our Cloud-based healthcare software services and IT system, who is dedicated, adaptable, collaborative and fun!  With an ever-growing number of healthcare providers across the country using our software application, this is an exciting time to assume a key role in a fast-paced technology company.

Interesting Projects, Tools and Libraries

glaze
Display HTML elements conveniently with escaping of attributes, text, URLs, email addresses.

forms
Framework agnostic form helpers.

assert
Simple library to assert conditions.

gripcontrol
A GRIP library for PHP.

molengo
A PHP micro framework.

assetkit
A powerful asset manager, providing a simple command-line interface and a simple PHP library.

php-router
Simple PHP Router, supports REST and reverse routing.

quest
A PHP router.

confide
An authentication solution for Laravel 4.

paratest
Parallel testing for PHPUnit.

fenom
Excellent template engine for PHP.

eecli
Command line interface for ExpressionEngine.

latte
A template engine for PHP which eases your work and ensures the output is protected against vulnerabilities.

curl-plus
A simple OO wrapper around PHP's cURL implementation.

common
A PHP library containing a set of common functionality.

chastity
Distributed advisory locking for PHP.

proton
Proton is a StackPHP compatible micro framework.

line
A very lightweight PHP Micro-Framework.
Clicking on this sponsor helps us keep doing this:


 From our sponsors:
Monitoring without alerts ruxit configures itself automatically as your application and infrastructure evolve. It uses AI to get to the root of issues much faster than a human can.
(Sponsor this newsletter

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

 

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