PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 6401 to 6420 of 6889

Scalar type hints in PHP trunk

Scalar type hints in PHP trunk
So in my blog series I try to cover all additions to PHP trunk so I have to mention scalar type hints. float $f) { echo $f."\n"; } for ($i = 1; $i 0.33333333333333 0.66666666666667 Catchable fatal error: Argument 1 passed to print_float() must be of the type double, integer given, called in typehints.php on line 7 and defined in typehints.php on line 2 Is expected behavior in PHP's trunk. If you want such a thing to work please use the numeric type hint. In case that wasn't enought fun: There's...

VMWare on Debian Unstable

VMWare on Debian Unstable
VMWare on Debian Unstable London, UK Saturday, August 7th 2010, 16:08 BST In the past week I've been doing some work on the MongoDB PHP Driver, and while running the test cases I noticed that there are some issues with it when you run out of disk space. It's sadly hard to reproduce so I set out to create a VMWare image for the MongoDB developers to reproduce this issue.

Cal Evans' Blog: PHP, Community and User Groups

Cal Evans' Blog: PHP, Community and User Groups
In a new post to his blog today Cal Evans looks at PHP, the community and how user groups fit into the mix. He shares opinions from the community and a video taken of a roundtable at this year's TEKX.Those that know me know that the PHP community is near and dear to my heart. I am always looking for ways to support it, usually to the chagrin of my employer. We have the greatest community of any programming language I know of and I like helping people find ways to participate in it.The video is a...

Microsoft PHP driver for SQL Server 2.0 released

Microsoft PHP driver for SQL Server 2.0 released
The SQL Server team just announced the release of their latest PHP driver for SQL Server. Details about the release can be found at http://blogs.msdn.com/b/sqlphp/archive/2010/08/04/microsoft-drivers-for-php-for-sql-server-2-0-released.aspx. A major highlight of this release has been the introduction of PDO drivers for SQL Server. This means the PHP application developer now need not care about database but rather focus on the application code. As part of this release I was one of the fortunate ones to...

First Development Milestone of ZF 2.0 Released

First Development Milestone of ZF 2.0 Released
Yesterday, the Zend Framework team tagged the first development milestone of Zend Framework 2.0 (2.0.0dev1). It is immediately downloadable from the Zend Framework servers: ZendFramework 2.0.0dev1 zip package ZendFramework 2.0.0dev1 tar.gz package NOTE! This release is not considered of production quality, and is released solely to provide a development snapshot for purposes of testing and research. Use at your own risk.

Change Garcia's Blog: DevDerby

Change Garcia's Blog: DevDerby
In a new post to his blog Chance Garcia talks about a new event that's happening in Bloomington, Illinois in September - a "Dev Derby" as a part of the The Combine.This is a one-day programming event which challenges teams, representing different programming languages, to build a web-based application for use by non-profits. The code will be released as open source, giving it life after the day has ended. There will be 5 teams competing. My suspicions say that there will be a Rails team and a CF team in...

Kyle Brandt's Blog: Should Developers have Access to Production?

Kyle Brandt's Blog: Should Developers have Access to Production?
In an interesting post to his blog Kyle Brandt asks a question universally debated by system administrators everywhere - should developers have access to production?A question that comes up again and again in web development companies is: 'Should the developers have access to the production environment, and if they do, to what extent?' My view on this is that as a whole they should have limited access to production. A little disclaimer before I attempt to justify this view is that this standpoint is in...

Sean Coates' Blog: Arbitrary Incrementer in PHP

Sean Coates' Blog: Arbitrary Incrementer in PHP
In a new post to his blog Sean Coates shares a technique he's used to pull an arbitrary incrementer from a certain set of characters.On several recent occasions I had a need for an incrementer that uses an arbitrary character set and I thought I'd share my code with you. I've used this code in the GPL Virus that I wrote to poke fun at the Wordpress/Thesis/GPL debacle, as well as in some clean up I'm doing for the extremely useful JS Bin project.He's used the technique in an upcoming URL shortening...

Brian Swan's Blog: PHP Drivers for SQL Server Released!

Brian Swan's Blog: PHP Drivers for SQL Server Released!
Brian Swan has a new post to his blog today about the latest release from the SQL Server Driver team at Microsoft - the newest version of their driver for PHP.The main focus of this release has been to provide PDO support via the PDO_SQLSRV driver with the aim of giving PHP developers the ability to leverage the benefits of writing database-agnostic code and having the option of using SQL Server.There's some new features that come with this release including Windows authentication, streaming,...

Kevin Schroeder's Blog: Your favorite PHP sites (based off of Facebook responses)

Kevin Schroeder's Blog: Your favorite PHP sites (based off of Facebook responses)
In a new post to his blog Kevin Schroeder shares some of the responses he received from a question he posted on Facebook - what's your favorite PHP resource?Earlier today I had asked on the Zend Facebook page "what is your favorite page for getting PHP-based information?" There were some good answers there so I figured that I would post those answers here (since it's all public information anyways).Sites mentioned in his list include: ProPHP.org StackOverflow PHPFreaks.com PHPClasses.org DZone.com...

Building Template-Driven Web Applications with Dwoo (part 2)

Building Template-Driven Web Applications with Dwoo (part 2)
This second, and concluding, segment of the Dwoo article explores some of Dwoo's lesser-known features: sub-templates, template inheritance, output caching, custom plugins and filters, and Zend Framework integration.

Adobe Developer Connection: Flex and PHP charting

Adobe Developer Connection: Flex and PHP charting
On the Adobe Developer Connection there's a recent tutorial posted looking at combining PHP and Flex to make a simple charting application.One area in which Flex and PHP go really well together is in creating data visualizations. PHP makes it incredibly easy to retrieve information from a database and manipulate it. For its part, Flex provides a user interface layer that is interactive and capable of quickly calculating shapes, which is perfect for charting.The article focuses on the structure of the...

Community News: The PHP "Anthem"

Community News: The PHP "Anthem"
If you're a PHP developer and you haven't heard the PHP "anthem" yet, you should have a listen. Chris Shiflett has put together a blog post about it and includes the lyrics and links to download the song/watch it on YouTube.Yesterday on IRC, Andrei Zmievski mentioned a new song about PHP. Sean Coates linked to a YouTube video with the song, which I then mentioned on Twitter. [...] If you haven't listened yet, take a moment to do so.The song is by Lee Fernandez (@reelfernandes) who will be interviewed in...

Site News: Popular Posts for the Week of 08.06.2010

Site News: Popular Posts for the Week of 08.06.2010
Popular posts from PHPDeveloper.org for the past week:Developer.com: 10 Experimental PHP Projects Pushing the Envelope Ask About PHP: Codeigniter: Creating dynamic graphs using JQuery and FusionCharts NETTUTS.com: How to Use CakePHP's Access Control Lists Site News: Job Postings for the week of 07.25.2010 KillerPHP.com: PHP & Javascript Video Tutorial - Form Validation part 1 Luc de Brouwer's Blog: Never having to use $_GET or $_POST again Chris Hartjes' Blog: Snakes and Elephants Playing Nice Together:...

Free Software in companies

Free Software in companies
At work we currently have a discussion: I'd like to develop some components as Free Software. My bosses like the idea, but the client goes nuts only thinking about it. So as part of the discussion I thought to collect those companies who actively advertise their Free Software. I know about the big ones, but it would be even more interesting to get a list of succesful small companies that share at least part of their inhouse projects. On the other hand it would not be too interesting to list full Free...

Critical Thinking

Critical Thinking
By now, I hope we've all read Is Google Making Us Stupid from The Atlantic. Here's the quick version, which ironically makes the author's point: People are changing the way they interact with the world, which is changing the way their brains model the world, which is changing their brains. We're not exercising the critical, reflective part of our brains; instead, we're using almost exclusively the parts that focus on quick, immediate activities. We're skimming everything rather than thinking more...

Bradley Holt's Blog: Burlington, VT PHP Picnic

Bradley Holt's Blog: Burlington, VT PHP Picnic
Bradley Holt has a new post to his blog for people in the Burlington, Vermont area - an announcement about a PHP picnic that's been planned for August 15th.The Burlington, Vermont PHP Users Group invites you to join us for a picnic at Oakledge Park. All are welcome but we'd like to extend a special invitation to members of other local technology user groups. Please bring a dish and/or beverages (potluck-style). If you're not sure what to bring, you can ask on the mailing list. Please note that beer or...

NETTUTS.com: 16 Vital Checks Before Releasing a WordPress Theme

NETTUTS.com: 16 Vital Checks Before Releasing a WordPress Theme
On the NETTUTS.com blog today there's a new post that includes a list of sixteen things you need to be sure to check before releasing your WordPress theme.Releasing a WordPress theme on a marketplace, such as ThemeForest, where the audience is so large and diverse, has some challenges. You cannot test a solution directly with the client. You need to plan in advance for all edge cases, and ensure that your theme is as customizable as possible. If you're inexperienced, chances are that some things will...

Luc De Brouwer's Blog: Web services and backward compatibility

Luc De Brouwer's Blog: Web services and backward compatibility
Luc De Brouwer has a reminder for web services developers out there - don't forget about backwards compatibility.About a year ago I was asked by a client to update their existing web service because of some changes in the way they wanted to process their sales data. Luckily this client has always understood the importance of a Service-Oriented Architecture (SOA) since they deal with large amounts of resellers who need to access, edit and create data. All I had to do was apply the changes to their web...

Content with Style: Zend Framework with nginx and php-fastcgi

Content with Style: Zend Framework with nginx and php-fastcgi
On the Content with Style blog today there's a new post showing you how to get the Zend Framework up and running with the nginx web server running PHP as a FastCGI.Since I while I heard good things about nginx and wanted to use it for my Zend Framework MVC applications. I just got a Ubuntu server working after one of those days that seem to be a never ending Google search and debugging session, so I thought I'd share the outcome with you.They show you how to install the needed packages, set up FastCGI...

Latest PHP Tweets