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

Developer's Lane:
Top 20 CakePHP Interview Questions and Answers
July 04, 2014 @ 13:48:25

The Developer's Lane site has posted a top ten list of questions answered about the CakePHP framework. The idea is that they could be used as a part of an interview to see how well the candidate knows the framework.

Here there are many questions and answers about How CakePHP Framework works? and basic questions related to CakePHP framework functionality.

Questions include:

  • What are are drawbacks of Cakephp?
  • What is the name of Cakephp database configuration file name and its location?
  • What are commonly used components of Cakephp?
  • Why does Cakephp have two vendor folders?
  • Can you remember what is the directory structure when you download Cakephp?

The questions provide a good overview of the framework, but won't tell you if the developer is any good...you still need to figure out that one on your own.

0 comments voice your opinion now!
cakephp framework interview questions developer overview

Link: http://www.developerslane.com/top-20-cakephp-interview-questions-and-answers/

SitePoint PHP Blog:
Announcing PHP Summer Camp
June 17, 2014 @ 11:22:07

The SitePoint PHP blog has a new post officially announcing the PHP Summer Camp, an event being held in Rovinj, Croatia on September 3rd through 6th with a larger focus on Symfony and related technology.

The Summer Camp is a two-in-one type of event that focuses on practical workshops and training. [...] The Summer Camp is the perfect middle ground between conferences and official training camps/academies, lacking the formality but exceeding conference-type gatherings in that one practical regard: unlike conferences, which are often little more than glorified slideshows, attendees go home from PSC with new, practical, usable knowledge that can be applied immediately, because they then have actual hands on experience with everything the speakers talked about.

Since it's happening at the same time and same place as the eZ Summer Camp, there'll be a wide range of sessions to choose from. He includes a quick list of some of the topics that'll be covered including Symfony+Behat, using Sylius, REST APIs with Symfony and using the CMF for a CMS. He includes some shots of the location and links to the travel and accommodation information for those interested in attending.

0 comments voice your opinion now!
phpsummercamp14 september rovinj croatia overview comference

Link: http://www.sitepoint.com/announcing-php-summer-camp/

ServerGrove Blog:
Symfony2 components overview Process
April 18, 2014 @ 12:41:41

The ServerGrove blog has posted their latest Symfony2 component spotlight, this time focusing on the Process component.

The Symfony2 Process component, allows us to execute commands in sub-processes. [...] The Process component provides an object-oriented abstraction on top of proc_* functions to execute independent processes from PHP.

As with the other posts in the series, they walk you through the installations via Composer and some examples of its use. The post also shows the use of exit codes, working with long running processes and how to execute PHP code in the command. They also briefly look "under the hood" at how the component does what it does (on top of the proc_* functions).

0 comments voice your opinion now!
symfony2 component process external command overview

Link: http://blog.servergrove.com/2014/04/16/symfony2-components-overview-process/

ServerGrove Blog:
Symfony2 components overview ExpressionLanguage
April 10, 2014 @ 12:09:23

The ServerGrove blog has posted the latest in their series focusing on various components in the Symfony2 framework. This latest post looks at the ExpressionLanguage component, functionality that allows you to execute "expressions" easily.

This is the 10th post in our series on Symfony2 components and we will cover the latest component added to Symfony: the ExpressionLanguage component. This component was added in version 2.4 and provides a way to have dynamic aspects in static configurations. For example, it can be used to evaluate expressions in configuration files, create a DSL ,or build a business rules engine.

The tutorial shows you how to get it installed (via Composer) and provides a simple "before" and "after" example, the first using eval and the second using ExpressionEngine to reproduce the same effect. They note that the evaluation of the expression isn't the same thing as compiling it and re-execution will always take the same amount of time. The post then talks about some of the syntax, functions and caching features of the component. It dives a little bit deeper and looks at some of the internals of the component as well.

0 comments voice your opinion now!
symfony2 component expressionengine overview example

Link: http://blog.servergrove.com/2014/04/07/symfony2-components-overview-expression-language/

CiteWorld.com:
Facebook's Hack language a silver bullet for user-developers
March 26, 2014 @ 10:41:16

In this new post to CiteWorld.com, they're making the claim that the Hack language from the developers at Facebook is the "silver bullet for user-developers".

How do you modernize the way we build the web? That's the question at the heart of the release of a flurry of new languages and development platforms -- all from companies that run and build large scale web services. [...] While getting more out of CSS is good, as is replacing JavaScript; Facebook's HHVM and Hack combo is targeting one of the foundations of the modern web: rapid application development.

They talk some about the overall goals of Hack (improved performance, a stricter typing system) and include a brief example of some Hack code. They consider it to be a "more modern language" that brings PHP-based development up into a different level of languages. He also talks about HHVM a bit, migration from PHP to Hack and the potential for Hack to be adopted on other platforms outside of the current HHVM runtimes.

0 comments voice your opinion now!
hack facebook silverbullet language developer overview

Link: http://www.citeworld.com/development/23156/hack-future

ServerGrove Blog:
Symfony2 components overview Translation
March 18, 2014 @ 16:37:40

The ServerGrove blog has posted their latest up-close look at the various components that make up the Symfony2 framework. In their latest post, they focus in on the Translator component.

Modern applications need to be internationalized and localized to be able to reach people from all over the world. Internationalization - aka i18n - is the process of designing a software application so that it can be adapted to various languages and regions without engineering changes. Localization - aka l10n - is the process of adapting internationalized software for a specific region or language by adding locale-specific components such as dates or currency. The Translation component provides different tools to get your application internationalized, but not localized.

The post covers the three main parts of the component - Catalogues, Loaders and Dumpers - and includes a simple example of creating the object, adding resources and calling "trans" to translate. There's also an example of using the YAML file loader to include the translated strings. There's also mentions of pluralization, translation "domains" and custom loaders.

0 comments voice your opinion now!
symfony2 component overview translation tutorial

Link: http://blog.servergrove.com/2014/03/18/symfony2-components-overview-translation/

ServerGrove Blog:
Symfony2 components overview Templating
March 14, 2014 @ 10:11:46

The folks at ServerGrove have posted the latest in their series focusing in on various components of the Symfony2 framework. This time they look at the Templating component, useful for working with the output from the application, web or otherwise.

The Templating component provides an engine-agnostic infrastructure to load template files and render them using the input variables. Although the component provides methods for creating template systems, we are going to focus on how to integrate third-party template engines like Twig and Smarty, and how to use the right engine based on the templates file extension.

The post talks about typical PHP output (with escaping) and shows the difference between a call with htmlspecialchars and the use of the Template component to render a view. An example is also included showing the use of other template engines into the template object, plugged directly into the "render" method. The end of the post also briefly mentions an alternative template language, Plates, an option similar to Twig but uses native PHP rather than tags and placeholders.

0 comments voice your opinion now!
symfony2 component overview templating tutorial

Link: http://blog.servergrove.com/2014/03/11/symfony2-components-overview-templating/

ServerGrove Blog:
Symfony2 components overview Validator
March 04, 2014 @ 12:55:35

The ServerGrove blog has posted their latest in-depth look at one of the many components that make up the Symfony2 framework. In this latest post they cover the Validator component, another well-used part of the framework.

In the first five posts of this series we have been talking about key components for any PHP framework from the point of view of their internals, such as HttpFoundation to abstract the HTTP protocol, HttpKernel to convert a Request into a Response, Routing to map requests to controllers, EventDispatcher to add reusability and extensibility, and Config to load and validate configuration values. This time we'll delve deeper in the user space to describe a component that is for specific apps rather than just for frameworks. Today's topic will be the Validator component.

They start off talking about a common problem in web applications, running validation on incoming data, and how the component can help. The article then gets into the architecture of the component and provides a simple example of it in use (validating an integer range). They talk about some of the built-in validations, the internationalization support and validation on objects, just just simple values. Finally, there's a look at creating custom validations, their example being a simple check on a given "programming language" string.

0 comments voice your opinion now!
symfony2 component overview validator tutorial

Link: http://blog.servergrove.com/2014/03/03/symfony2-components-overview-validator

ServerGrove Blog:
Symfony2 components overview Config
February 21, 2014 @ 12:13:57

The ServerGrove blog has a new post today in their Symfony2 component spotlight series, this time focusing on the Config component.

After a few weeks, we continue with the Symfony2 components series. This time we are going to be talking about the Config component, which helps you to load and validate configuration values, regardless of their source.

They show how it can be used to parse YAML files and give a basic overview of its architecture. Sample code is included for a "blog generator" example that parses the given YAML structure and a loader to pull in the file. The component also includes caching functionality for larger configurations and allows you to define multiple loaders for different sources.

0 comments voice your opinion now!
symfony2 component overview config yaml tutorial

Link: http://blog.servergrove.com/2014/02/21/symfony2-components-overview-config

SitePoint Web Blog:
Is Ghost Really a WordPress Killer?
November 13, 2013 @ 11:19:32

The WordPress platform has become one of the de-facto standards when it comes to blogging and content management sites. In this new post, though, SitePoint wonders if a new competitor in the market is enough to unseat WordPress from its high ranking - Ghost.

When someone mentions the term blogging platform your mind likely brings up thoughts of WordPress, or maybe Blogger.com. It did, didn't it? While those two platforms have clearly carved out a respectable slice of the world's blogging population, there remains a void left unfilled. This gap in platforms was largely created by the incredible popularity and growth of the blogging world itself. [...] This new entrant goes by the stealthy moniker Ghost. A fitting name really, given it's unapologetic focus on no­frills web publishing.

They go through this new tool, spotlighting some of the features it offers and the extensibility it offers (complete with screenshots). While Ghost is a Node application (unlike its PHP counterpart) it's still relatively easy to get up and running. They do admit, however, that the title of the article is a bit inflammatory. Ghost and WordPress have different target audiences and widely different feature sets, but in the blogging realm, Ghost provides an interesting alternative.

0 comments voice your opinion now!
ghost wordpress blog overview tour simple

Link: http://www.sitepoint.com/ghost-really-wordpress-killer/


Community Events





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


series refactor interview api list code framework release opinion community developer testing unittest introduction threedevsandamaybe language symfony2 podcast laravel install

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