Jeśli jesteś właścicielem tej strony, możesz wyłączyć reklamę poniżej zmieniając pakiet na PRO lub VIP w panelu naszego hostingu już od 4zł!

Archive for Marzec, 2016

/Dev/Hell Podcast: Episode 74: Raise MentalHealthError

/Dev/Hell Podcast: Episode 74: Raise MentalHealthError

The /Dev/Hell podcast, hosted by PHP community members Chris Hartjes and Ed Finkler, has posted its latest episode: Episode #74 – Raise MentalHealthError.

In this episode we were extremely lucky to get Kenneth Reitz on the show to discuss his experiences when he had a mental health event that resulted in a stay in the hospital and some major life changes as a result.

Normally we’re a comedy podcast that focusses on technology, but issues surrounding mental health are very important to us. We’re extremely grateful that Kenneth came on and was very open about what happened to him. We hope you enjoy what was a great, open, freewheeling discussion about how the symptoms of some mental illnesses appear beneficial from the outside.

You can listen to this latest episode either through the in-page audio player or by downloading the mp3 directly. If you enjoy the show be sure to subscribe to their feed too and get this and more great shows as they’re released.

Source: http://www.phpdeveloper.org/news/23815

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>

Community News: Taylor Otwell AMA (Ask Me Anything)

Community News: Taylor Otwell AMA (Ask Me Anything)

Taylor Otwell, the original creator of the Laravel framework, recently did an AMA (Ask Me Anything) over on the Hashnode site, answering questions from all around the world about anything and everything.

Taylor Otwell is the creator of Laravel PHP framework. He also created Lumen, Forge, and Envoyer. Shoot any questions you want Taylor to answer!

There’s a huge list of questions asked covering a wide range of topics (and not just Laravel ones either):

  • Spark
  • VueJs
  • Beanstalkd vs Amazon SQS vs Redis
  • Thoughts on Docker
  • Why he chose to work as a developer
  • Forge improvements
  • How Laravel got to where it is today

As mentioned, there’s plenty more questions where these came from to be sure to look through the entire post and check out the answers!

Source: http://www.phpdeveloper.org/news/23814

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>

Juozas Kaziukenas: From PHP to Machine Code

Juozas Kaziukenas: From PHP to Machine Code

In his latest post Juozas Kaziukenas shares a video of his "From PHP to Machine Code" talk he presented at the PHP UK Conference earlier this year (2016).

I recently gave a talk at a few conferences titled “From PHP to Machine Code”. It explains how compilers and interpreters work in general, where are the performance gains to be found and how I applied all of that to build PyHP. PyHP is a little toy project which showcases the basics of taking source code of a programming language and executing it.

As I mention a few times in the talk, it is completely and utterly useless for practical use, but it’s one of the fundamental skill-sets for any programmer. I think knowing how a bunch of text makes a computer do things at the low level is required knowledge for everyone.

The video of the presentation is embedded in the post or you can watch it directly over on YouTube if you’d like. In it he walks you through the entire process that happens from the time the PHP is executed all the way down to opcodes and bytecodes.

Source: http://www.phpdeveloper.org/news/23813

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>

Semaphore CI Blog: Dockerizing a PHP Application

Semaphore CI Blog: Dockerizing a PHP Application

On the Semaphore CI blog they’ve posted a great tutorial that wants to help you Docker-ize your PHP application and deploy the application easily out to Heroku (with some help from Semaphore, naturally).

In this tutorial, you will learn what Docker is and how you can use it to create sophisticated working environments. If you already have experience using VMs such as VirtualBox, Vagrant, etc., you’ll grasp the concept quickly.

To make things more concrete, we will use a demo application which interacts with the 500px API to list popular photos, view, upvote and comment on them. The application is built using Laravel 4, but this shouldn’t present an issue in our case.

They start with a brief introduction to what Docker is for those not familiar with the technology and some of the requirements you’ll need to use it. They help you get Docker installed on your local system and how to work with Docker images and containers to create a custom environment for the Laravel application. Next, he talks about Dockerfiles (configurations for Docker), spinning up the environment and an alternative to manual commands: Docker YAML configuration. The next move is to deploy to Heroku using the "heroku’ command line tool and integrating it all with Semaphore for continuous deployment.

Source: http://www.phpdeveloper.org/news/23807

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>

Semaphore CI Blog: Dockerizing a PHP Application

Semaphore CI Blog: Dockerizing a PHP Application

On the Semaphore CI blog they’ve posted a great tutorial that wants to help you Docker-ize your PHP application and deploy the application easily out to Heroku (with some help from Semaphore, naturally).

In this tutorial, you will learn what Docker is and how you can use it to create sophisticated working environments. If you already have experience using VMs such as VirtualBox, Vagrant, etc., you’ll grasp the concept quickly.

To make things more concrete, we will use a demo application which interacts with the 500px API to list popular photos, view, upvote and comment on them. The application is built using Laravel 4, but this shouldn’t present an issue in our case.

They start with a brief introduction to what Docker is for those not familiar with the technology and some of the requirements you’ll need to use it. They help you get Docker installed on your local system and how to work with Docker images and containers to create a custom environment for the Laravel application. Next, he talks about Dockerfiles (configurations for Docker), spinning up the environment and an alternative to manual commands: Docker YAML configuration. The next move is to deploy to Heroku using the "heroku’ command line tool and integrating it all with Semaphore for continuous deployment.

Source: http://www.phpdeveloper.org/news/23807

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>

SitePoint PHP Blog: Theming Views in Drupal 8 – Custom Style Plugins

SitePoint PHP Blog: Theming Views in Drupal 8 – Custom Style Plugins

The SitePoint PHP blog has another post in its series about working with Drupal 8. In this new tutorial author Daniel Sipos talks about theming views in the content management system and introducing custom style plugins.

In this article, we are going to look at how we can create a custom Style plugin for Views in Drupal 8. We will use the Bootstrap tab markup as a goal and implement a tabbed output for our View results. In the View configuration, the Style settings will allow us to specify which field will be used as the tab navigation copy, leaving the rest of the fields shown in the respective tab panes. Basically, each View result will represent a tab – so this example is not suited for Views which have more than a few results. The main goal is to illustrate how we can create our own Views Style plugins in Drupal 8.

He starts by talking about Style plugins – what they are and where they fit in the application execution flow. He then walks you through the creation of the custom style plugin to integrate the Bootstrap tabs. This also includes the creation of the theme and the matching template to build out the tab markup.

Source: http://www.phpdeveloper.org/news/23806

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>

SitePoint PHP Blog: Theming Views in Drupal 8 – Custom Style Plugins

SitePoint PHP Blog: Theming Views in Drupal 8 – Custom Style Plugins

The SitePoint PHP blog has another post in its series about working with Drupal 8. In this new tutorial author Daniel Sipos talks about theming views in the content management system and introducing custom style plugins.

In this article, we are going to look at how we can create a custom Style plugin for Views in Drupal 8. We will use the Bootstrap tab markup as a goal and implement a tabbed output for our View results. In the View configuration, the Style settings will allow us to specify which field will be used as the tab navigation copy, leaving the rest of the fields shown in the respective tab panes. Basically, each View result will represent a tab – so this example is not suited for Views which have more than a few results. The main goal is to illustrate how we can create our own Views Style plugins in Drupal 8.

He starts by talking about Style plugins – what they are and where they fit in the application execution flow. He then walks you through the creation of the custom style plugin to integrate the Bootstrap tabs. This also includes the creation of the theme and the matching template to build out the tab markup.

Source: http://www.phpdeveloper.org/news/23806

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>

SitePoint PHP Blog: Theming Views in Drupal 8 – Custom Style Plugins

SitePoint PHP Blog: Theming Views in Drupal 8 – Custom Style Plugins

The SitePoint PHP blog has another post in its series about working with Drupal 8. In this new tutorial author Daniel Sipos talks about theming views in the content management system and introducing custom style plugins.

In this article, we are going to look at how we can create a custom Style plugin for Views in Drupal 8. We will use the Bootstrap tab markup as a goal and implement a tabbed output for our View results. In the View configuration, the Style settings will allow us to specify which field will be used as the tab navigation copy, leaving the rest of the fields shown in the respective tab panes. Basically, each View result will represent a tab – so this example is not suited for Views which have more than a few results. The main goal is to illustrate how we can create our own Views Style plugins in Drupal 8.

He starts by talking about Style plugins – what they are and where they fit in the application execution flow. He then walks you through the creation of the custom style plugin to integrate the Bootstrap tabs. This also includes the creation of the theme and the matching template to build out the tab markup.

Source: http://www.phpdeveloper.org/news/23806

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>

Medium.com: How to scale Laravel horizontally with Docker

Medium.com: How to scale Laravel horizontally with Docker

In this new Medium.com post Andrew McLagan shows you some strategies you can use to scale your Laravel application horizontally with the help of Docker and a relatively simple configuration.

Homestead was created by Taylor [Otwell] to ease creation of PHP development environments, it offers developers a consistent environment across projects and is fully compatible with the Laravel ecosphere.

[...] Docker is basically programmable infrastructure, or more simply: Docker lets you create a server environment for your project from a configuration file. [...] I will demonstrate the power of the Docker ecosystem through another tool called Docker Compose a container orchestration tool built upon Docker. This tool enables us to start multiple Docker containers at once from a single configuration file, rather then starting each container individually.

He shows you how to get the required tools installed including a fresh Laravel installation. He then includes the Docker YAML configuration to create the environment, setting up a load balancer, Redis, MySQL and a HHVM instance. He then creates the docker machine to tie all of the pieces together as a VirtualBox VM instance. With this setup up and running, you can then test a URL to be sure the Laravel install is up and running correctly. He then gets to the horizontal scaling part and talks about docker’s "scale" functionality making it simple to set up multiple "web" container instances to handle the incoming requests.

Source: http://www.phpdeveloper.org/news/23805

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>

PHP Roundtable: 042: Staying Relevant For Web Development

PHP Roundtable: 042: Staying Relevant For Web Development

The PHP Roundtable podcast has posted their latest episode – Episode #42: Staying Relevant For Web Development. This time host Sammy K Powers is joined by Matthew Setter, Andy Huggins, Henning Glatter-Götz and Tom Oram.

The technologies that run the web are constantly changing. We discuss strategies for staying on top of the constant flux with continuous learning throughout your career, having mentors, engaging regularly with your peers, contributing to open source projects, voracious reading, and travel to programming events.

You can watch this latest episode either through the embedded video player or directly over on YouTube. Additionally they’ve also included an audio-only version you can listen to via an in-page audio player. If you enjoy the episode and want to see more, be sure to subscribe to their feed and follow them on Twitter for the latest show announcements.

Source: http://www.phpdeveloper.org/news/23804

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>