PhpRiot
Follow phpriot on Twitter
Sponsored Link
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 6561 to 6580 of 6889

Richard Thomas' Blog: Solar Framework Shorts - Future release looks promising

Richard Thomas' Blog: Solar Framework Shorts - Future release looks promising
Richard Thomas has a quick new (Solar Framework) post to his blog about some of the upcoming cool features of the framework.A lot of cool features are being hatched in branches that should hit trunk in the near future! [...] Things to look forward to are view helpers for various services like Google Analytics and the various CDN loaders although this is still under review and might be a few releases away.Other new features he mentions include a reworked authentication stack that will allow for more than...

Community News: Latest PECL Releases for 07.20.2010

Community News: Latest PECL Releases for 07.20.2010
Latest PECL Releases: fuse 0.1

Presenting: PHP Commit Hooks

Presenting: PHP Commit Hooks
For those of us using SVN there are some quite common pre- and post-commit hooks in a lot of company repositories, all using their own implementation: Lint checks, CodeSniffer checks, etc. We created a small framework for those commit hooks, which makes it easy to create own checks and custom reporters. Read on for details.

Headway Themes is now licensed under the GPLa€¦ uhm, no, wait. It isn't. Well, sorta.

Headway Themes is now licensed under the GPLa€¦ uhm, no, wait. It isn't. Well, sorta.
Grant Griffiths on split-licensing the PHP code of his themes under the GPL and the images/CSS/JS files under a proprietary license: The split GPL license still allows us to retain enough teeth that we can bite someone in the butt if they violate our own license forA Headway. I fear that Grant hasn't quite thought this whole affair through. But let's take a look at the HeadwayA ToS themselves: All WordPress themes produced by Headway Themes are released under the GPL version 2.0 license...

Should is_array() Accept ArrayObject?

Should is_array() Accept ArrayObject?
Here's a quick question for the wider PHP programming community a€¦ if you're writing code that tests for the presence of an array, should is_array() also accept objects that behave like arrays? $testObject = new ArrayObject(array(a€˜Tom')); $testResult = is_array($testObject); On PHP 5.3.2, $testResult gets set to false. If you wanted to get an object that behaves like an array past this sort of test, you'd have to write: $testObject = new ArrayObject(array(a€˜Tom')); $testResult =...

Stefan Koopmanschap's Blog: My privates are not public, they are protected

Stefan Koopmanschap's Blog: My privates are not public, they are protected
Stefan Koopmanschap has spoken up in response to some of the comments about OOP design, specifically in using the private scope in your applications. Overall, Stefan agrees and thinks that this access prevents possible extension which goes against the whole point of writing open source software.I agree with pro-private people that it is important to have a good API design and to use that to protect less experienced developers from making mistakes, however one should never assume that the developers using...

LinuxTag 2010 wrap-up

LinuxTag 2010 wrap-up
As I get ready to head to OSCON tomorrow, I almost forgot about to post about LinuxTag 2010 last month which I gave my a€oSugarCRM - Your next business application frameworka€ talk. I posted a wrap-up piece over on the Sugar Developer Blog about the event, talking my my talk as well as the keynote given by SugarCRM CEO Larry Augustin. It was a great trip, I was able to visit the city and got to meetup with several SugarCRM partners, as well as fellow PHPer Pierre Joye. Thanks to the LinuxTag crew for...

Zend Developer Zone: Zend_Log timestamp filter

Zend Developer Zone: Zend_Log timestamp filter
On the Zend Developer Zone there's a recent post about a custom filter that's been developed to help filter events based on time instead of just logging them as a whole.For one of my recent project, which is using Zend_Log component of the Zend Framework, I had a demand in which I needed to be able to filter log events based on the time they occurred. As out of the box, Zend_Log component does not have such filter, I decided to create one that will fulfill my demands.The log filter,...

Matthew Turland's Blog: An Update on "Web Scraping with PHP"

Matthew Turland's Blog: An Update on "Web Scraping with PHP"
If you've been looking forward to his book on web scraping from the php|architect publishing group and are wondering about an update on a print copy, Matthew Turland has an update for you.Several people have asked me the same question recently, so I decided to take a blog post to provide an answer. The question is, "When will 'Web Scraping with PHP' be available in print?" Answering requires a bit of background to paint a full picture of where things are now.He mentions delays from the publisher,...

We're Hiring

We're Hiring
I'm looking for a PHP developer to fill a permanent web team lead developer & team leader role, based in Bath in the UK. The role is with Gradwell, a multi-award winning provider of business internet services (we're also one of the top 50 fastest growing UK tech companies according to Deloitte), reporting directly to me in the Engineering department. We have some exciting projects (including a public-facing API) to deliver and the usual challenges of morphing legacy code to solve. If you're interested,...

Ivo Jansch's Blog: Good use of public, private and protected in OO class design

Ivo Jansch's Blog: Good use of public, private and protected in OO class design
In a new post to his blog Ivo Jansch responds to some of the recent comments about scoping in PHP applications with some thoughts of his own (someone spurred on by the Symfony project saying that "private is evil").I don't care much about Symfony as I'm not a user, but it turned to a discussion on OO theory when Stefan defended the position by claiming that you 'should have the right to extend a class's methods if it doesn't support the use case you have'.He also mentions the agreeing opinions of Marco...

ZendCasts.com: Working with ZendX_JQuery

ZendCasts.com: Working with ZendX_JQuery
On the ZendCasts.com site today there's a new screencast posted giving you a bit more information about how to integrate jQuery into your Zend Framework application with the ZendX_JQuery component.I've received a lot of feedback about jQuery integration in the Zend Framework. This little video will show you how you can quickly integrate jQuery and jQuery UI into your Zend Framework project.You can watch the screencast via the in-page player and can grab a copy of the project so you can follow along.

GPL: WordPress, Thesis, web2project, and Beyond

GPL: WordPress, Thesis, web2project, and Beyond
For those of you just tuning into the WordPress/Thesis battle, here is the current - as of 19 July 2010 - state of things: At some point recently, the servers of Chris Pearson - owner and distributor of the Thesis theme for WordPress - had a vulnerability on his server and the latest releases of Thesis were compromised. When that came to light, Matt Mullenweg - head of the WordPress project, founder of Automattic, and founder of the WordPress Foundation - has previous stated that "WordPress Themes are...

a‡Y WordPress and the GPL: the day after

a‡Y WordPress and the GPL: the day after
Last week, I posted an article that pretty much started with a€othis is not about a legal interpretation of the GPL.a€ Therefore, of course, 80% of the people who commented on the article did so to give me their interpretation of the GPL, or to explain why my interpretation was incorrect. So much for that. You are not Perry Mason Let me, once more, explain why the legal interpretation of the GPL has no bearing on the issue at hand before addressing some of the issues that were raised in the comments....

Edge Side Includes without Varnish

Edge Side Includes without Varnish
Development on websites when the product will run on a Varnish'ed' production environment can be a pain in the ass. The xml tag that can be used to define Edge Side Includes can't be parsed by a standard browser. While developing you often look at a half rendered website implementation. This is something you really don't want!

PHPSnippets.info: Convert currencies using PHP, Google and cURL

PHPSnippets.info: Convert currencies using PHP, Google and cURL
From the PHPSnippets.info site there's a recent post about using a conversion tool from Google to convert currency values from one type to another.Just a few people know that Google have a built-in currencies calculator. (Just type 100$ in euros in Google search box if you want to test it) This calculator works very well, so what about using PHP and cURL and get this functionnality in your own web app?The script makes a cURL request over to the Google API's calculator feature and passes in the amount to...

Community News: Latest PEAR Releases for 07.19.2010

Community News: Latest PEAR Releases for 07.19.2010
Latest PEAR Releases: PHP_CodeSniffer 1.3.0a1


My privates are not public, they are protected

My privates are not public, they are protected
This week there was an interesting discussion on twitter between several people from the PHP community on the use of access modifiers, and why things should be public, protected or private, or why not. The thing that triggered this was the fact that the new Symfony2 Coding Style disallows the usage of private methods. This discussion earlier on triggered Lukas Smith to post his opinion. I commented there but the comment became thus long that I decided to write a blogpost about it myself.

Red tape and the art of ripping through it

Red tape and the art of ripping through it
It seems like the Symfony2 CS is forbidding the use of private methods. I think other frameworks have similar rules. Now I have argued along those lines myself in the past. But especially talking to the Doctrine2 dev's got me to reconsider .. a bit. This all kinda of reminds me about the discussion over making it a fatal error to change method signatures during inheritance. I love PHP for allowing me to do this, yet giving me an E_STRICT, aka red tape, to make sure I am aware of the kittens that are...

Latest PHP Tweets


19 May 5:55 PM: zeevs: I'm sure I'll be able to convince her to pay more attention to her phone battery charge now :) http://t.co/mQgt86DODv

19 May 5:53 PM: zeevs: Just recovered my wife’s purse, bag and phone forgotten on a taxi-bus thanks to Find My iPhone. Thanks Apple!!

19 May 1:28 PM: phpdeveloper: Community News: Packagist Latest Releases for 05.19.2013: Recent releases from the Packagist:dudapiotr/zftable... http://t.co/SpEIVCXlTK

19 May 4:12 AM: mwop: Spent my 40th: smoking 3 racks of ribs; brewing beer; enjoying far too many fantastic beers; feasting; sharing stories around a fire. #win

18 May 2:07 PM: phpdeveloper: Community News: Packagist Latest Releases for 05.18.2013: Recent releases from the Packagist:kamisama/resque-s... http://t.co/WZu4uPCrDV

18 May 1:02 AM: zend: #StarWars beats #StarTrek among PHP devs! Can you believe that? http://t.co/VP0wOzUgYb

18 May 12:17 AM: zend: #Google App Engine finally supports #PHP, the language that runs 75% of the web http://t.co/sNuxdrrJzF @VentureBeat

17 May 10:02 PM: zend: Zend along with #cloudera #sugarcrm #box named as the OnDemand Top 100 winner by @alwayson http://t.co/e1fBWl8MFr

17 May 8:30 PM: zend: Open Source #Zend Framework 2.2 Brings #PHP to @OpenStack #Cloud #zf2 via @TechJournalist http://t.co/Qr4lNXJ8jy

17 May 7:52 PM: zend: #Zend Developer Series: Maximize Application Performance, Scalability and Availability! http://t.co/5KMTcvzw50

17 May 7:36 PM: mwop: Got to witness my daughter accept her Honor Roll certificate this afternoon. So proud of her!

17 May 7:02 PM: zendcon: ZendCon #PHP 2013 just got better! Early bird registration for $495. Follow @ZendCon for more information.

17 May 7:02 PM: zend: ZendCon #PHP 2013 just got better! Early bird registration for $495. Follow @ZendCon for more information.

17 May 6:01 PM: zend: Goodbye CodeIgniter, Hello Laravel! http://t.co/2srdBPJoU8

17 May 4:24 PM: phpdeveloper: http://t.co/BFpLojOo3o: Cloning in PHP: In this recent post over on http://t.co/BFpLojOo3o Giorgio Sironi takes... http://t.co/ewykl3wf8G

17 May 4:02 PM: zend: Still debugging after your app is released? #ZendServer can take the pain away. http://t.co/QASFnpaoYa