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

Reddit.com:
Attempting to understand Namespacing, and its benefits
January 02, 2014 @ 11:54:23

If you're relatively new to PHP, you may have read about something called "namespacing" but not fully understood it or the benefits it provides. Over on Reddit, there's a recent discussion where the poster asks about just that:

As I understand it, Namespacing provides a lot of useful context for developers, as well as making the autoloading of classes much easier (though I've never personally tried this). I can also see it being used in a large enough application where it might help keep things in scope, but this seems like a bit of a stretch to me. Apart from that, I'm not too clear on what namespacing actually does.

The comments to the thread including things like links to other resources and other suggestions like:

  • tools to try out
  • places to start using it in your own code
  • the difference between underscores and real namespacing
  • how they help avoid conflicts in naming and functionality
0 comments voice your opinion now!
namespace benefit context autoload opinion discussion

Link: http://www.reddit.com/r/PHP/comments/1u1ztr/attempting_to_understand_namespacing_and_its

Factor3 Blog:
Web Frameworks
August 15, 2011 @ 11:29:49

Chris Anstey has a new post to his blog with some of his suggestions to framework developers out there (those writing frameworks, not writing applications with them). He mentions some of the criteria he believes frameworks should have.

A framework provides you with many of the common components required to develop a website - for example, database access, templating systems and authorization systems. [...] These frameworks are all open source - which means that anyone can review and suggest improvements to the code. Using a framework provides you with many benefits.

He suggests that a framework should be:

  • Time-saving
  • Reliable
  • Adherent to well-structured patterns
  • Fostering a good community
  • Not too difficult to learn
  • Well-performing (and easy to extend with something like caching)
0 comments voice your opinion now!
framework suggestion benefit opinion


Iwan Luijks' Blog:
Getting certified, some pro's and misconceptions
August 01, 2011 @ 09:36:04

Iwan Luijks has a recent post to his blog trying to dispel some of the myths and misconceptions about becoming a certified ZCE through Zend's testing. He also includes some of the benefits of having the certification to go with your name.

In the community of PHP developers there are more non-certified professionals than certified professionals. PHP developers mostly don't really see the pro's of getting certified. These developers mostly honor the fact that PHP is a quick and easy language to learn and to get started with, and professionalism is found even by building a simple dynamic web page, leaving the discussion of whether this is a good or bad thing for what it is.

He talks about the confidence it can give current (and future) employers in your skill level and let them know you're the kind that keeps on learning/improving in your career. It also lets them know that you're dedicated enough to learn what you need to pass and can put it into practice easier in the future.

0 comments voice your opinion now!
certified misconception pro benefit opinion


Cal Evans' Blog:
Four reasons why Drupal should fork PHP
April 11, 2011 @ 13:05:13

In a recent post Cal Evans shares his opinion on why he thinks the Drupal project should fork PHP and what benefits he sees for them in doing it.

Obviously moving the functionality [of Drupal] - not to mention the existing userbase - to a new language would be a herculean task; but what if the new language was just a version of the old. What if Drupal forked PHP and began working on its own version? With that thought in mind, I began to think hard about reasons they would want to do this. Here are the four best I came up with.

Cal list of advantages include an improved development process based on Drupal practices, the creation of a tailor made language they could tweak to just their needs, tighter integration between language and application and, of course, the ability to control the future of the language according to their needs.

0 comments voice your opinion now!
drupal fork language opinion benefit


Query7.com:
Why You Should Be Using A PHP Framework
April 11, 2011 @ 09:58:14

On the Query7.com blog, Logan has posted his opinion on how you should be doing your development on sites that are more than just one or two pages - you should be using a framework.

Frameworks should be used when constructing web applications. Any application that involves a database, forms, sessions, cookies or a remote service (such as Twitter or Facebook) will benefit from being powered by a framework. There is no need to use a framework for a website that has only one or two pages, nor for command line utility scripts.

He lists some of the common features frameworks provide including database abstraction, caching, form management, authentication and internationalization. He also includes some of the more general benefits you get from using frameworks like portability, shorter development time, application security, plugins/module support and the enforcement of good coding standards (depends on the framework, obviously).

0 comments voice your opinion now!
framework opinion use feature benefit


Chris Roane's Blog:
PHP Programming The Benefits of Peer Pressure
April 07, 2010 @ 13:12:04

In the latest post to his blog Chris Roane looks at something that, while not generally considered a good thing, can help to make your development and work better - peer pressure.

When you are held responsible to other people and when you are in an environment that has competition, that not only helps the company as a whole, but it allows for more individual growth. In the typical corporate atmosphere, accountability and competition can be lost because no one really knows anyone else. But the other side of this, in extra small companies, you can have too much accountability...where every move is constantly watched.

He notes that, without the pressure of peers - ones that you really know and that really know you and your work - the quality of the applications written degrades in most situations. Sure, there'll be the one or two developers that are extra motivated, but without the real interaction with other skilled developers, innovation can quickly fade.

0 comments voice your opinion now!
benefit peer pressure programming opinion


Padraic Brady's Blog:
The Mysteries Of Asynchronous Processing With PHP - Part 1
September 28, 2009 @ 10:48:30

Padraic Brady has started up a new series of posts to his blog on the topic of asynchronous processing with PHP.

Imagine a world where clients will give up on receiving responses from your application in mere seconds, where failed emails will give rise to complaints and lost business, where there exist tasks that must be performed regularly regardless of how many requests your application receives. This is not a fantasy world, it's reality. [...] Asynchronous processing is a method of performing tasks outside the loop of the current request. Basically, you offload the task to another process, leaving the process serving the request free to respond quickly and without delay.

He talks about some of the problems that asynchronous processing solves (like tasks that must be completed despite errors) and starts to outline a simple processing structure with child processes and task handling.

0 comments voice your opinion now!
asynchronous process benefit task


PHPImpact Blog:
PHP implemented in 100% Java
August 11, 2008 @ 07:58:31

In this recent post to the PHP::Impact blog, Federico talks about a slightly scary thing - a version of PHP implemented 100% in Java.

Quercus allows developers to incorporate Java code into PHP web applications and gives both Java and PHP developers a fast, safe, and powerful alternative to the standard PHP interpreter.

He mentions what it supports - things like Unicode and several of the popular extensions like APC, GD, MySQL, Oracle and PDF). There's also benefits he points out like the speed of the libraries (and safety) as well as interoperability with Java code and frameworks. Check out the official Quercus website for more information.

0 comments voice your opinion now!
java implement quercus library interpreter benefit


Charles Rowe's Blog:
The Four Major Benefits of MySQLi
June 19, 2007 @ 11:03:00

Charles Rowe shares four reasons/benefits he's come up with that should make you think about choosing MySQLi over the normal MySQL libraries for PHP for your application.

There still seems to be a lot of confusion over the differences between the two extensions despite the length of time that mysqli has been in the wild. I wanted to briefly review the four major benefits of mysqli.

Here's the list

  • Prepared Statements
  • Secure MySQL connections
  • Multi query
  • Object Oriented Interface

He also includes a few more links to further information (besides the explanation for each of the topics listed above) including an article from the Zend Developer Zone and a tutorial covering making the switch to MySQLi.

0 comments voice your opinion now!
mysqli benefit prepared statement secure multiquery oop interface mysqli benefit prepared statement secure multiquery oop interface


Jacob Santos' Blog:
Would PHP benefit from JIT compilation?
March 27, 2007 @ 10:52:00

In this post from his blog, Jacob Santos asks the question "would PHP benefit from JIT compilation?"

JIT (just in time) compilation is, according to Wikipedia, a method for converting, at runtime, code from one format into another, for example bytecode into native machine code. To try to see the benefit of this, Jacob asks four questions in his post (each with their own problems):

  • Q: What advantage over opcode caching is gained?
    P: A JIT library that works with PHP would have to support all of the architectures that PHP can run on!
  • Q: Which JIT library is the best one?
    P: A JIT compiler is not going to achieve anything without either storing the results or caching them.
  • Q: Wouldn't writing PHP extensions negate the need for JIT compilation?
  • Q: When will I develop and release my implementation?
Check out the comments for some great thoughts from others about this kind of compilation.

1 comment voice your opinion now!
jit compilation benefit question problem opcode support extension jit compilation benefit question problem opcode support extension



Community Events





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


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

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