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

Geshan Manandhar:
3 Bundles to get started with REST in Symfony 2 and some tips
August 13, 2014 @ 12:18:05

Geshan Manandhar has a recent post that shares three Symfony bundles that can help you out greatly when creating RESTful applications and APIs. Links and a summary of each bundle are provided.

"I found out that you guys just build an amazing mobile app for your e-commerce venture, I heard you are using Symfony 2 for your back-end APIs. How did you make it that fast?" This is not very different that what I was asked some months back. The answer is we use a Service Oriented Architecture (SOA) where all back-end service follow the REST architecture to communicate with all the clients. The client can be built in any language as longs a they can do HTTP calls. Lets look at what Symfony 2 bundles you can use to build a similar scalable, fast and cacheable REST APIs.

His suggested bundles (all available to be installed via Composer) are:

The first two help more with the overall API structure and handling while the last (Lexi) is an effective way for handling authentication for the requests to your application.

0 comments voice your opinion now!
symfony bundles rest api top3 list

Link: http://geshan.blogspot.ae/2014/07/3-bundles-to-get-started-with-rest-in.html

Symfony Blog:
Pre-conference workshops at SymfonyLive New York and SymfonyCon Madrid are online!
August 13, 2014 @ 10:22:55

On the Symfony blog today they've officially announced the workshops that will be happening at this year's SymfonyCon Madrid and Symfony Live New York.

About 3 weeks ago, we launched 2 different polls to ask you what workshops you wanted to attend before SymfonyLive New York and SymfonyCon Madrid. First, we want to thank all the people who participated in the poll, so many of you answered, thank you very much for your time! Thanks to your votes, we were able to know which workshops were really interesting for you.

At Symfony Live New York you'll be able to attend Fabien's "Symfony Best Practices" or "Building RESTful Applications with Symfony" (the top two most requested training sessions). At SymfonyCon Madrid there's even more choices:

  • Building RESTful Applications with Symfony
  • Symfony Best Practices
  • Deploying Symfony Applications
  • Profiling PHP Applications

You can find out more about these two conferences from their main event websites: Symfony Live New York and SymfonyCon Madrid.

0 comments voice your opinion now!
symfony symfonycon symfonylive madrid newyork workshop list

Link: http://symfony.com/blog/pre-conference-workshops-at-symfonylive-new-york-and-symfonycon-madrid-are-online

Reddit.com:
PHP library authors Have you considered to arrange security bug bounties?
August 06, 2014 @ 10:39:00

In this new post to Reddit.com Timoh suggests something that could definitely help improve the overall security of the PHP ecosystem - a bug bounty system, providing libraries and projects an easy way to security-related submissions for their code.

To encourage software security research on the open-source PHP libraries we use everyday, I have been brainstorming the possibilities for us, the code authors, to start to offer security bug bounties on the projects we maintain. It is a shame such a few PHP projects encourages security research by offering bug bounties, and I think it doesn't have to be this way.

He describes his ideas for the system including the ability to offer both monetary bounties and other kinds of recognition as well. Comments on the post are largely supportive, agreeing with him that it can definitely help things. He also makes the suggestion of getting frameworks with corporate backings (like Zend Framework and Symfony) to be some of the leaders and be an example to other projects and get them on board. What do you think? Add your own thoughts and suggestions about the project to the mix!

0 comments voice your opinion now!
bugbounty service project library zendframework symfony bounty recognition

Link: http://www.reddit.com/r/PHP/comments/2cpu6v/php_library_authors_have_you_considered_to/

Symfony Blog:
Push it to the limits - Symfony2 for High Performance needs
August 04, 2014 @ 13:51:48

On the Symfony blog today they've posted a use case that talks about Symfony meeting some high performance needs and some of the development that was done to make it happen.

For most people, using full-stack frameworks equals slowing down websites. At Octivi, we think that it depends on correctly choosing the right tools for specific projects. When we were asked to optimize a website for one of our clients, we analyzed their setup from the ground up. The result: migrate them toward Service Oriented Architecture and extract their core-business system as a separate service. In this Case Study, we'll reveal some architecture details of 1 Billion Symfony2 Application. We'll show you the project big-picture then focus on features we really like in Symfony2. Don't worry; we'll also talk about the things that we don't really use.

They start with some of the business requirements they needed to meet and how it influenced the overall architecture of the application. They cover some of the things they liked the most about using the framework including bundles and using the EventDispatcher component. Some example code is also included for the custom handling they created for routing, CLI commands and request handling. There's also a mention of using the Profiler, Stopwatch and Monolog trio to do some performance analysis on the resulting application. Finally, there's a brief mention of some of the tools they're not using and why (two of them): Doctrine and Twig.

0 comments voice your opinion now!
symfony usecase performance need application custom

Link: http://symfony.com/blog/push-it-to-the-limits-symfony2-for-high-performance-needs

Symfony Blog:
Improving REST in Symfony
July 11, 2014 @ 12:15:56

On the Symfony blog there's a recent post about a new effort being started to help improve REST in Symfony-based applications. William Durand talks about some of the current tools and some of the missing features/difficulties each has. This effort wants to help change that.

Building APIs with Symfony is not new. We've done that since the early beginning of Symfony: Askeet, Jobeet, it's been a long time! Nowadays, more and more web applications are made of an API and a client side application. Sharing data across applications using APIs also became an essential feature. [...] For most of us, it is not as clear as it should be, and we can certainly do better than what we have right now! Hence the creation of a working group to gather both people and knowledge for REST in Symfony: https://groups.google.com/forum/#!forum/resting-with-symfony.

The target of the group is just about anyone associated with the development of APIs: developers who build them, developers to contribute to Symfony's REST functionality, people with questions about REST and, really, anyone else interested. It's a part of their wider developer experience initiative they've recently ramped up.

0 comments voice your opinion now!
developer experience rest discussion group symfony framework

Link: http://symfony.com/blog/improving-rest-in-symfony

Symfony Blog:
First Online Symfony Community Hack Day July 5th!
July 01, 2014 @ 11:58:07

On the Symfony blog today Ryan Weaver has posted a note about the first ever Symfony online community hack day coming up on July the 5th.

Last week, I talked about the Symfony Experience, and announced a new Developer Experience Initiative. [...] And now it's time to put our ideas into action, with the first community hack day on July 5th. This hack day is for everyone and we'll focus on tasks from all around the Symfony world: the core code and third party bundles. This is our chance to really push on things that never quite get done as well as they could: third party bundle documentation, exception messages, shortcuts, etc.

The event will be happening on July 5th from 9am to 8pm Central European Time (3am to 2pm Eastern time in the US) and will be run from the #symfony channel on the Freenode IRC network. There'll be plenty to do, so if you're interested in getting involved, reach out to Ryan or Javier once you're on and they can point you in the right direction. More information can be found on the Symfony blog.

0 comments voice your opinion now!
symfony blog community hackday july2014 developer experience

Link: http://symfony.com/blog/first-online-symfony-community-hack-day-july-5th

Matthias Noback:
Symfony2 Framework independent controllers parts 2 & 3
June 19, 2014 @ 09:45:34

Matthias Noback has posted the next two parts of his "framework independent controllers" series (it started here) looking at avoiding annotations and tying up some loose ends.

From part two about annotations:

In the previous part of this series we decreased coupling of a Symfony controller to the Symfony2 framework by removing its dependency on the standard Controller class from the FrameworkBundle. Now we take a look at annotations. They were initially introduced for rapid development (no need to create/modify some configuration file, just solve the issues inline!) [...] This might not seem such a big problem at all, but the SensioFrameworkExtraBundle is a bundle, which means it only works in the context of a Symfony2 application. We don't want our controller to be coupled like this to the framework (at least, that is the point of this series!), so we need to remove the dependency.

He shows how to decouple this functionality through a proper routing configuration, fetching the needed data yourself for the request and generating the request object yourself. In part three he covers some of the comments already made about the series and how to take the final steps to abstracting out the controllers: removing bundle names from templates, removing the HttpFoundation dependency and letting go of "action methods".

0 comments voice your opinion now!
controller independent symfony series part2 part3

Link: http://php-and-symfony.matthiasnoback.nl/tags/controller/

Symfony Blog:
Making the Symfony Experience *Exceptional*
June 18, 2014 @ 12:52:34

In this new post to the Symfony blog Ryan Weaver talks about some steps the project is making to help improve the "developer experience" (DX) around using the framework. There's four things listed that they're trying out to see if they can improve the framework even more.

When Symfony was released, we (the community) thought a lot about the Symfony experience: working on documentation, improving error messages and creating open source bundles. But since then, innovation has slowed down and the Symfony experience has stopped evolving. Today, the Symfony Framework is still the highest quality PHP Framework available. But the Symfony experience has stagnated. The good news is that improving the developer experience is easy, and it involves you!

He includes the "four easy steps" that any developer using Symfony can follow to help out the development team and make things even easier (and more intuitive) to use:

  • The DX (Developer Experience) Label (on the Symfony issues list on GitHub)
  • Adding a suggested DX Label for your own repository
  • Working on DX issues at a Community Hack Day
  • Being Aggressive, Focusing on Beginners
0 comments voice your opinion now!
symfony framework community developer experience

Link: http://symfony.com/blog/making-the-symfony-experience-exceptional

Community News:
Sound of Symfony Podcast, Episode 1
June 06, 2014 @ 09:56:48

A new podcast has joined the list of things for your PHP-related listening pleasure, the Sound of Symfony podcast. This new show, hosted by Magnus Nordlander and Tobias Nyholm, focuses in on the Symfony ecosystem and things that revolve around it. They're already posted their first episode too - Episode 1 - The one where we're audio production noobs.

In our first episode, coming to you straight from a small conference room in Stockholm, Sweden, we go through the news, interview a prominent community member, and run through the conference calendar for the year. Of course, since this is our first episode, it has some mandatory audio production mistakes, we're sorry about those. Nothing too horrible, you might not even hear it, but we'll always know it's there, and we'll make sure to do better next month!

You can listen to this first episode through the in-page player or you can just subscribe to their feed and get this and future shows as they're released.

0 comments voice your opinion now!
soundofsymfony podcast ep1 audio noobs symfony framework

Link: http://www.soundofsymfony.com/episode/episode-1

SitePoint PHP Blog:
Image Scraping with Symfony's DomCrawler
March 31, 2014 @ 09:06:43

On the SitePoint PHP blog today there's a new post showing you how to use the Symfony DomCrawler component to scrape content, images mostly, from a remote website. The DomCrawler is one component of the Symfony framework.

A photographer friend of mine implored me to find and download images of picture frames from the internet. I eventually landed on a web page that had a number of them available for free but there was a problem: a link to download all the images together wasn't present. I didn't want to go through the stress of downloading the images individually, so I wrote this PHP class to find, download and zip all images found on the website.

He talks briefly about how the class works and then gets into the contents of the class. He walks through all the code and explains in chunks what each part does in the lifecycle of the request. The end result is a Zip archive file of all images from the remote website, packaged up for easy transport.

0 comments voice your opinion now!
domcrawler symfony framework component tutorial image scrape

Link: http://www.sitepoint.com/image-scraping-symfonys-domcrawler/


Community Events





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


application wordpress unittest developer podcast threedevsandamaybe list interview community laravel library code bugfix language series api release install introduction configure

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