News Feed
Jobs Feed
Sections




News Archive
feed this:

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

Lorna Mitchell:
Using Composer Without GitIgnoring Vendor/
March 12, 2014 @ 12:45:23

In her latest post Lorna Mitchell looks at a method, when using Composer and git, to fix an issue around subdirectories that are git repositories and git thinking they should be submodules instead.

Recent additions to the joind.in API have introduced some new dependencies so we decided we'd start using Composer to manage these - but we don't want to run composer unsupervised. I'm sure this will bring the rain of "just run composer install, it's probably mostly almost safe" criticism, but actually it's quite tricky to run Composer without excluding vendor/ from source control so I thought I'd share how we did it so that anyone who wants to do so can learn from my experience!

She starts by describing the usual use of Composer - making the "composer.json", running the install and see the "vendor" directory being added. When she tried to check in the dependencies, git gave her an error about wanting them to be submodules. Instead, she figured out a way to add a line to the .gitignore to have it disregard the "vendor/.git" directory, making it work as expected.

0 comments voice your opinion now!
composer vendor install gitignore git

Link: http://www.lornajane.net/posts/2014/using-composer-without-gitignoring

Erika Heidi Reinaldo:
Optimizing Symfony applications on Vagrant boxes
September 25, 2013 @ 09:34:03

Ericka Heidi has a new post to her site today continuing on her theme of useful Vagrant advice with a look at optimizing Symfony applications on your Vagrant-managed instances.

A few months after I started playing around with Vagrant and Puppet, with smaller applications, I had the task to create a box for a Symfony app for the first time. I thought "all right, no problema! this will be a piece of cake, I already know the process, I just need to put it on puppet". And of course I was wrong.

Most of her problem revolved around performance - the Symfony applications were taking between 6 to 8 seconds to load. After trying several options (hardware and software), she narrowed it down to the overall I/O as the application was trying to access an NFS mounted directory for the "vendors" folder. She changed around the locations of some of the directories and was able to drop the page load times by quite a bit. She's posted the results of her work as a Vagrant file for easy download and use too.

0 comments voice your opinion now!
optimize symfony application vagrant instance vendor io performance

Link: http://www.erikaheidi.com/2013/09/24/optimizing-symfony-applications-vagrant-boxes/

Phil Sturgeon:
Composer and PSR-0 Friends, Not Relatives
May 08, 2013 @ 11:15:42

Phil Sturgeon has a new post today that looks at the relationship between the PSR-0 standard (autoloading structure) and Composer - noting that they're friends, not relatives.

As a huge proponent of Composer, a happy user of PSR-0 and a voting member on the PHP-FIG I get into plenty of conversations about all of them and it worries me how much confusion there is in the community about these things not actually being related. [...] It seems that a lot of folks discover Composer and PSR-0 at the same time and seem to assume they are the same thing - especially since both Composer and PSR-0 have the idea of a "vendor" and a "package", but those two things are not related to each other either. These are a few points that I have wanted to clarify during some strange conversations over the last few weeks.

He goes on, trying to clear up some of the confusion around the idea of "vendors" and vendor names. He talks about naming schemes and how they may or may not be related to the vendor name on the package. He looks at the PSR-0 loading methods and how the structure of the library/repository effects that (noting that Composer can be made to accommodate something not PSR-0 by default). He suggests that PSR-0 needs to remain "implementation agnostic" and that Composer, at the same time, should remain "specification agnostic" .

0 comments voice your opinion now!
composer psr0 autoload vendor package relationship

Link: http://philsturgeon.co.uk/blog/2013/05/composer-and-psr0-friends-not-relatives

Stefan Koopmanschap's Blog:
Open source and the times of crisis
March 18, 2009 @ 12:08:59

Time are getting tough out there - a recession is coming around and companies all over are feeling the impact. People are looking for places to save money without having to compromise on functionality and quality. Larger numbers are turning to Open Source communities to provide solutions to fill that gap. Stefan Koopmanschap looks at this trend in his most recent blog post.

As we all know by now, we're living in times of crisis. A recession is hitting us, and it's hitting us hard. Even here in The Netherlands, where at first it seemed we'd be avoiding the biggest hit, we're now getting reports that the recession is the biggest since WWII. The crisis seems to be hitting bigtime in many places. So how does it affect open source and PHP?

Stefan talks about Enterprise resources and their shift in needs away from the "vanity projects" and more into the day-to-day, stable clients. Open Source is giving them a bit of that "fun" back in and allowing them to do more with less - little to no licensing, no vendor lockdown, etc.

1 comment voice your opinion now!
opensource crisis recession vendor lockdown license enterprise


Demian Turner's Blog:
Is vendor sponsored software certification the way to go?
March 04, 2009 @ 12:58:44

A little while back on his PHP Kitchen blog Demian Turner asked the question, "Is vendor sponsored software certification the way to go?". An easy example? The Zend Certified Engineer tests.

Currently Zend certification is one of the only options available to PHP devs who want to get accredited, however. But judging by general feedback from the community it would appear that, despite the current certification choices, quality discrepancies between PHP devs on the market can still be pretty...impressive.

He points to another post from Darren Hague (on Derren's SAP blog) that has three elements that any good certification needs to really be considered successful:

  • Quality - it must be professional and independent
  • Portability - it must be independent of the company you work for at the time
  • Customer Demand - without demand for certified people in that area, there's no reason to have the certification

Be sure and check out some of the comments to Demian's post form some other opinions.

0 comments voice your opinion now!
zend certification engineer zce valid vendor sponsor


Paul Jones' Blog:
Updates "Getting Started" Docs for Solar
January 19, 2009 @ 07:56:22

Paul Jones has a quick note on his blog today mentioning the updates recently made to the "Getting Started" documentation for the Solar PHP framework. There's five new sections as a result of the overhaul:

You can find out more about this PHP MVC framework on its site - SolarPHP.com.

0 comments voice your opinion now!
gettingstarted solar framework solarphp model vendor app


SaniSoft Blog:
Help! vendor() is deprecated.
May 12, 2008 @ 09:35:48

On the SaniSoft blog today, Tarique Sani has a quick hack for CakePHP users needing to transition over from the deprecated vendor() call - import().

Use of vendor() function to load third party libs in CakePHP has been deprecated for some time now... It has been replaced with the more generic App::import() the usage is simple.

There's also a little trick you'll need to know for files with underscores (drop it and replace with an uppercase) and how to get it to be a bit more flexible and recognize vendor files in subdirectories or ones differently named.

0 comments voice your opinion now!
vendor cakephp framework deprecated trick underscore subdirectory


Felix Geisendofer's Blog:
Screencast #1 Using vendor branching and CakePHP
June 18, 2007 @ 07:56:00

Felix Geisendorfer has a new post today showing off an example of his screencasting abilities. Specifically, the video looks at using vendor branching to keep your CakePHP installation up to date.

So here I go with my very first screencast to be published. The topic is how to use vendor branching with CakePHP which is one of many ways to keep your CakePHP version up to date.

The video is 15(ish) minutes long and covers, from start to finish, the process of grabbing the latest CakePHP build from the subversion repository and install it automatically to your system.

As a plus, Felix also includes links to the software he used to make the screencast for those that are curious.

0 comments voice your opinion now!
screencast vendor branching caekphp framework tutorial screencast vendor branching caekphp framework tutorial


Community News:
Turbolinux Partners with Zend Japan
April 07, 2006 @ 07:49:12

According to a new press release today, Turbolinux has announced their partnership with Zend Japan, Ltd. to further "Internet Linux Deployment in the Asian markets" (through the purchase of a 90% share of their stock).

Under the terms of the contract negotiations concluded on March 30, Turbolinux acquired a ninety percent share (1,170 shares) of Zend Japan Ltd. from Open Source Japan, Ltd. Zend Japan will continue to serve as the exclusive distributor of Zend web application platform products in Japan.

"With Turbolinux, Zend Japan will closely plan and promote Turbolinux and Zend/PHP products and solutions and will be able to provide them in a comprehensive and stable format. In this dynamic alliance with Turbolinux and Zend Technologies, Zend Japan will offer products and service which cover the needs of Japanese market," added Mr. Suzuki.

Turbolinux will be using their sales and distribution channels to help further the reach of theirs and Zend's technologies. The negotiations for the whole deal were completed back on March 30th, but nothing was revealed until April 5th.

0 comments voice your opinion now!
acquisition zend japan stock sales vendor asian acquisition zend japan stock sales vendor asian



Community Events











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


threedevsandamaybe language application introduction package install opinion code overview framework symfony2 facebook hhvm component podcast release security unittest composer hack

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