News Feed
Sections




News Archive
feed this:

Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

SitePoint PHP Blog:
Interactive PHP Debugging with PsySH
September 30, 2014 @ 12:53:30

The SitePoint PHP blog has a new tutorial posted by i>Miguel Ibarra Romero showing how to use the PsySH tool to do some interactive debugging of your PHP applications via both the command line and a web frontend.

It's 1:00 a.m., the deadline for your web application's delivery is in 8 hours… and it's not working. As you try to figure out what's going on, you fill your code with var_dump() and die() everywhere to see where the bug is. [...] Is this situation familiar to you? PsySH to the rescue. PsySH is a Read-Eval-Print Loop (or REPL). You may have used a REPL before via your browser's javascript console. If you have, you know that it possesses a lot of power and can be useful while debugging your JS code.

He walks you through the install via Composer and some of the basic commands and syntax for executing PHP code inside its shell. Command line testing is good, but debugging full applications is a bit more difficult. He shows how to integrate the tool into a sample application that calls PsySH via a "debug" call and output via a set of "window" objects. He also includes a bit close to the end about debugging with unit tests, executing them from inside the shell as well.

0 comments voice your opinion now!
interactive debugging psysh repl unittest commandline web

Link: http://www.sitepoint.com/interactive-php-debugging-psysh/

Three Devs & A Maybe Podcast:
Designing for the Web with Kris Jeary
July 08, 2014 @ 09:45:45

The Three Devs & A Maybe podcast has posted their latest episode (#32) with guest Kris Jeary to discuss "all things design" in web development.

This week we are lucky to have Kris Jeary on the show to discuss all things design. Starting off with how he got introduced to the world of web design, we move on to discuss the process he uses to create websites. We then touch upon where he gets inspiration from, and how the emergence of responsive and SPA ideologies has changed the way we think about the web. Finally, we wrap up the show with some good advice to anyone looking into getting into web design.

The show includes mentions of cron expressions in PHP, Modern.IE and CodeKit. You can listen to this latest episode either by downloading the mp3 directly or using the in-page player. If you like what you hear, consider subscribing to their feed too.

0 comments voice your opinion now!
threedevsandamaybe podcast ep32 krisjeary design web

Link: http://threedevsandamaybe.com/posts/designing-for-the-web-with-kris-jeary/

Three Devs & A Maybe Podcast:
Delving into CodeIgniter
April 10, 2014 @ 09:22:55

The Three Devs and a Maybe podcast has released their latest episode today - Episode #19, "Delving into CodeIgniter. The show, hosted by Michael Budd, Fraser Hart, Lewis Cains and Edd Mann continues their look into web application frameworks.

In this weeks show we continue our discussion on web application frameworks by delving into CodeIgniter. Though it has had its fair share of bad press over the past couple of years, its mature code-base and ease of getting started can not be denied. Initially exploring what the framework is from a high-level we move on to discuss it's strengths and weaknesses along with personal experiences. We finally wrap up the show with a CodeIgniter influenced quiz.

Other technology mentioned includes jQuery Unveil, D3.js, the Hearbleed bug and Guzzle. You can listen to this latest episode either by downloading the mp3, using the in-page player or by subscribing to their feed.

0 comments voice your opinion now!
threedevsandamaybe podcast ep19 codeigniter web framework

Link: http://threedevsandamaybe.com/posts/delving-into-codeigniter/

SitePoint PHP Blog:
Web Performance Tricks - Beyond the Basics
January 23, 2014 @ 11:55:28

The SitePoint PHP blog has a new post sharing some general web performance tricks that could be done to any application to speed things up a bit. Note that this is a sponsored article but it does not promote the sponsor's product.

We've had a lot of performance talk over the years here at SitePoint, and we believe it's time to revisit the topic with some more advanced aspects. The approaches mentioned in this article won't be strictly PHP related, but you can be sure they'll bring your application to a whole new level if used properly. Note that we won't be covering the usual stuff - fewer requests for CSS, JS and images meaning faster websites and similar hints are common knowledge. Instead, we'll be focusing on some less known/used upgrades.

Their list of suggestions include things like:

  • Removing unnecessary HTML tags
  • Prefetching and caching content
  • Using tools like CSS Lint and CSS Explain
  • Using Google's Page Speed tool to find bottlenecks
  • Use things like SPDY, WebP and Zopfil
0 comments voice your opinion now!
web performance tips advanced list

Link: http://www.sitepoint.com/web-performance-tricks-beyond-basics/

Aura Framework Blog:
A Peek At Aura v2 -- Aura.Web
November 12, 2013 @ 10:34:58

Continuing their series of "sneak peeks" at the coming functionality and features of the next generation of components from the Aura framework, their blog looks at the version 2 of Aura.Web. This component has been refactored because of the creation of the Aura.Dispatcher as well.

Aura.Web v1 took the parts of Solar related to web controllers and combined them into a single independent package. [...] In the Aura.Web case, it turns out extracting Aura.Dispatcher was the key to reducing the Aura.Web package contents. With Aura.Dispatcher, any object can be a controller, since it can dispatch to any method on any object (as well as dispatching to closures). In turn, there is no more need for the Aura.Web package to provide a base controller with interfaces for various implementations.

The rest of the post explains the two halves of the new Aura.Web version - the Request and Response - and what kinds of things are included in each. It also links each to the parts of the READMEs that deal with them, providing a bit more information.

0 comments voice your opinion now!
aura framework component spotlight web version auraweb

Link: http://auraphp.com/blog/2013/11/11/aura-v2-web/

DZone.com:
Deploying PHP Projects with Webistrano
November 02, 2012 @ 09:46:51

On DZone.com there's a recent article posted by Kasia Gogolek that walks you through the deployment of a web application with the Webistrano tool, a web UI for working with Capistrano. This follows the first article where they talk about the Webistrano installation.

Most of the applications I write, are PHP based, so all of my examples will be based on that assumption, but you can re-use the ideas mentioned for software written in any other programming language. The setup [in the example] discusses just the deployment to the test project. Deployment to the production will be similar, and by the end of the article, you should understand what differences it will require.

She walks you through the creation of a new project, an example of the contents of the "base.rb" configuration file and how to create the stages (environments) to deploy to. Next up is the "recipes" themselves - the configuration steps for the deployment process. In their examples they show how to set permissions, update a database, manage asset files and a bit more to get Plesk installed on a server.

0 comments voice your opinion now!
webistrano capistrano deployment tutorial web ui recipe


Michael Kimsal:
Things a web developer might need to know
October 29, 2012 @ 09:39:46

Michael Kimsal has a new post to his site with some recommendations for web developers as to the things they should know to do their job well.

The original question from was a 16 year old who's been doing some basic CRUD apps, but is getting bored and wanted to move on to 'real' development. There were some good replies, but few went in to the depth of detail that I think beginners are even aware of. Granted, this might scare off some, but for others it might give them some ideas about what's possible and what's involved in professional web development. I know I'm going to leave off some topics, so feel free to add on!

He touches on topics ranging from version control to performance and even a mention of mobile development. Each section includes a brief summary of the topic and some have specific topics to check out to help narrow things down to the important parts.

0 comments voice your opinion now!
web developer suggested knowledge learn


PHPMaster.com:
Installing GitList for Local Repos
August 23, 2012 @ 09:29:59

If you're a git user and have thought about bringing things a bit more "in-house" than GitHub but still want some of the perks of the web-based interface, this quick tutorial from PHPMaster about installing Gitlist might interest you.

aking your repositories available in a local intranet is pretty easy, but having a nice interface to interact with those repositories, making collaboration between teams easier, is not that simple. [...] There are other solutions available, but some are too hard to install or, again, hard on the eyes. I recently discovered GitList, a free and open source Git repository viewer. It's interface resembles GitHub a lot but aims to keep everything simple and clear.

He includes the basic installation steps you'll need to get it up and running - setting up the environment, downloading and configuring Gitlist to look at your repositories and pointing out that, since the LESS source is included in the download, you can customize it how you see fit.

0 comments voice your opinion now!
gitlist git local web interface tutorial install configure


Community News:
The Great Web Framework Shootout
February 21, 2012 @ 11:03:40

Seth Davis has put together a github repository with some benchmarking for some of the most common web frameworks - both PHP and not. His statistic is "requests per second" in a few scenarios: a "hello world" string test, a test with a database connection and one with a templated response.

It should also be noted that my goal here was not necessarily to figure out how fast each framework could perform at its most optimized configuration (although built-in caching and other performance tweaks were usually enabled if the default configuration permitted it), but rather to see what a minimal "out-of-the-box" experience would look like.

Current results (as summed up in the current README) are for frameworks that include:

  • Pyramid (Python)
  • Django (Python)
  • Sinatra (Ruby)
  • CodeIgniter (PHP)
  • Yii (PHP)
  • Symfony (PHP)
CakePHP (PHP)
0 comments voice your opinion now!
framework web benchmark compare requestspresecond


NetTuts.com:
Ten New Year's Resolutions Every Web Developer Should Make
December 27, 2011 @ 13:20:05

NetTuts.com has posted their list of what they think should be New Year's resolutions for every developer:

In less than a week, we'll be in 2012. I know it's a cliché, but where has the year gone? Naturally, we're now at the time of year when folks set goals for the new year. While you might have some goals for your "real" life, how about a few resolutions for your developer life?

Suggestions include:

  • Get Better At What You Know
  • Engage the Community
  • Take Better Care Of Yourself
  • Use Better Programming Practices
  • Take a Break
0 comments voice your opinion now!
developer newyears resolutions suggestions web



Community Events





Don't see your event here?
Let us know!


zendserver laravel deployment framework tips interview symfony update introduction library list podcast api language opinion community release package install series

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework