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

NetTuts.com:
Building Advanced Email Features With IMAP and PHP
October 21, 2014 @ 12:19:47

On the NetTuts.com site they've posted a tutorial showing you how to build advanced features with IMAP and PHP. He bases it on the SimplifyEmail project and incldues examples of three different features to get you started.

Analysis of my own email showed I was receiving email from more than 230 automated senders, far fewer actual people. I was tired of constructing filters in Gmail and filling in a myriad of unsubscribe forms. I wanted to have more control over managing my email and simplifying my life. Finally, this past year, I decided to build the features I needed. The result is Simplify Email (SE), a small web app you can host yourself which offers a variety of cool new email features all of which you can check out on the project website. The coolest thing about SE is that it's a platform for reading, analyzing, routing and managing your email - the possibilities abound. Simplify Email is essentially a programmable playground for "hacking" your own email.

His three examples show you how to:

  • Checking your inbox and filter messages
  • Implement a Whitelist challenge to unknown senders
  • Reporting unanswered email

Each of these comes with plenty of code examples, screenshots and output examples (as well as some places where you might need to change some SE configuration values).

0 comments voice your opinion now!
advanced email imap tutorial feature simpleemail filter whitelist reporting

Link: http://code.tutsplus.com/tutorials/building-advanced-email-features-with-imap-and-php--cms-22059

SitePoint PHP Blog:
PHP and RabbitMQ Advanced Examples
October 20, 2014 @ 14:19:33

On the SitePoint PHP blog Miguel Ibarra Romero continues his series looking at the use of RabbitMQ with PHP in part two. He builds on the code (and setup) from the first part of the series and gets into some more advanced examples this time.

In part 1 we covered the theory and a simple use case of the AMQP protocol in PHP with RabbitMQ as the broker. Now, let's dive into some more advanced examples.

The remainder of the post includes two examples of more advanced operations:

  • Example 1: send request to process data asynchronously among several workers
  • Example 2: send RPC requests and expect a reply

Each example includes a diagram of the overall flow of the process, the code to make it happen both for the sender and receiver.

0 comments voice your opinion now!
rabbitmq advanced example tutorial series part2

Link: http://www.sitepoint.com/php-rabbitmq-advanced-examples/

SitePoint PHP Blog:
Using Solarium with SOLR for Search - Advanced
May 08, 2014 @ 11:56:46

The SitePoint PHP blog has finished off their series showing you how to integrate searching with SOLR (via Solarium) into your PHP application. In this last part of the series, Lukas White gets into some of the more advanced topics around searching and handling the resulting output in your views.

In the first three parts we installed and configured SOLR and Solarium and started building an example application for searching movies. We've also looked at faceted search. We're going to wrap up the series by looking at some more advanced features of SOLR, and how to use them with Solarium.

He's broken up the rest of the tutorial to talk about a few of these more advanced features like:

  • Highlighting search matches in the output of documents (depending on the type of match)
  • Using the searching for an autocomplete
  • Configuring and making the request with an array-based configuration (a more manual process)
  • Adding additional cores to the search (allowing for more flexibility on search styles and configurations)

He also points to two other resources that could be handy along your path to SOLR dominance: the SOLR reference guide and the official Solarium documentation.

0 comments voice your opinion now!
solr search solarium library tutorial series part4 advanced

Link: http://www.sitepoint.com/using-solarium-solr-search-advanced/

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/

Software Testing Magazine:
PHPUnit Tips & Tricks
October 11, 2013 @ 09:42:44

The Software Testing Magazine site has posted some helpful tips for using PHPUnit in a new post. This is part of a series - the first post introducing PHPUnit and the second showing how to use mocks and stubs.

I have showed how to set up PHPUnit and how to get started with unit tests and how to handle mocking and stubbing objects in order to effectively isolate your code under test. This article will explore a few ways to get the most out of your PHPUnit tests.

They cover a few different topics including:

  • Working with static methods
  • Working with frameworks
  • Working with databases
  • Effective testing for current and new projects
0 comments voice your opinion now!
phpunit tips tricks advanced static framework database

Link: http://www.softwaretestingmagazine.com/knowledge/phpunit-tips-tricks/

Chris Jones:
Offline Processing in PHP with Advanced Queuing
May 17, 2013 @ 09:49:26

Chris Jones has a new post today showing you how to use Oracle and PHP together to process data offline via the Oracle Streams Advanced Queuing feature.

Offloading slow batch tasks to an external process is a common method of improving website responsiveness. One great way to initiate such background tasks in PHP is to use Oracle Streams Advanced Queuing in a producer-consumer message passing fashion. [...] The following example simulates an application user registration system where the PHP application queues each new user's street address. An external system monitoring the queue can then fetch and process that address. In real life the external system might initiate a snail-mail welcome letter, or do further, slower automated validation on the address.

He includes the SQL needed to create the database and configure the queue system as well as start it up and get it ready for requests. He shows how to push an address into the queue for processing and how to get the results once it has completed in both the SQL and from the oci_* functions in PHP.

0 comments voice your opinion now!
oracle tutorial advanced queue offline processing

Link: https://blogs.oracle.com/opal/entry/offline_processing_in_php_with

Juan Treminio:
Unit Testing with PHPUnit Tutorial Series
March 05, 2013 @ 09:13:25

Juan Treminio has a series of new posts over on his site - a four part series covering unit testing with PHPUnit. There's three parts to the series (right now) covering everything from an intro to PHPUnit out to some more advanced techniques.

For months now I have been telling myself I would create an in-depth, multi-part series of articles that would take a developer from being a complete newbie at testing to have them mocking classes left and right and asserting until the break of dawn. This series will introduce you to the core concepts of testing. It will tell you why statics are bad, why dependency injection is king, what the difference between a mock and a stub is and how to love the red and green bar.

The four parts of the series he's posted are:

0 comments voice your opinion now!
tutorial series phpunit unittest introduction advanced


Reddit.com:
What would you consider to be 'advanced PHP skills?'
October 05, 2012 @ 12:56:26

On Reddit.com there's an interesting discussion going on about what's considered to be 'advanced skills' for a PHP developer to have.

I'm going to throw out here some potential advanced skills from off the top of my head - not at all a complete list.... PHP objects? PHP regular expressions? Frameworks? Security measures? Ability to use PHP to do cool things like recursive node walking of XML files? Use of third party libraries? Or would you add something else entirely? Just curious, because I'm looking for work and want to know if I can reasonably bill myself as having advanced PHP skills. Thanks for the input!

Responses cover a wide range of topics including:

  • the Zend Certification(s)
  • Clean, easy to understand coding practices
  • How to effectively test your applications
  • Addressing security concerns
0 comments voice your opinion now!
advanced skills discussion developer


NetTuts.com:
Advanced CodeIgniter Techniques and Tricks
June 07, 2012 @ 13:04:01

On the NetTuts.com blog today there's a new handy post for the CodeIgniter users out there - some more advanced tips and tricks that you can use in your CI-based apps.

CodeIgniter is a widely used PHP framework that aims to help developers write better structured code and remove boilerplate tasks from the workflow. In this article, I'm going to explain some incredibly useful techniques to use when developing applications using CodeIgniter.

They cover things like setting up easier configuration parameters, optional config settings, creating HTML emails, application versions and separate response formats.

0 comments voice your opinion now!
codeigniter technique trick advanced tutorial


Community News:
Pro PHP NYC User Group Forming
February 28, 2012 @ 09:17:49

In this new post to his blog Kenny Katzgrau has announced the formation of a new PHP-related group in the New York City area, the Pro PHP NYC group.

We felt that the other handful of PHP Meetup groups in the area cater to those just starting out more often than not. The engineers who are serious about building professional, enterprise-level applications don't really have a group where they can consistently expect presentations on those topics.

The focus of the group is less on the basic "hows" and "whys" of PHP and more on things like performance/scaling, optimization, testing and application architecture. If you're interested in joining the group, check out < href="http://www.meetup.com/pro-php/">their Meetup page. There's no word (as of the time of this post) on when their first meeting will be, but it sounds like an interesting group.

0 comments voice your opinion now!
prophpnyc usergroup advanced topic



Community Events





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


series opinion voicesoftheelephpant library composer language update introduction tool symfony framework release podcast interview version community mvc security package laravel

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