PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
PhpRiot Latest Blog Posts
Displaying blog posts 21 to 40 of 103

Internet.com: Storing Blobs in Microsoft Azure with the Zend Framework

Internet.com: Storing Blobs in Microsoft Azure with the Zend Framework
On Internet.com today there's a new video tutorial about using the Zend_Service_WindowsAzure component of the Zend Framework to connect to and store blob information on the Windows Azure service.One increasingly common use of the cloud is storage for BLOBs (binary large objects) such as videos, applications, and even website images. Businesses use cloud storage to streamline operations. In his five-minute Internet.com video, Jason Gilmore uses the Zend Framework's Zend_Service_WindowsAzure component to...

Jani Hartikainen's Blog: Refactoring explained to an absolute beginner

Jani Hartikainen's Blog: Refactoring explained to an absolute beginner
When developers start graduating from just hacking together scripts and want to start looking toward the future, one thing they start thinking about is making their code the best it could be. One way to achieve this is refactoring, but where to start? Well, this new post has an introductory guide to help developers understand this powerful technique.Recently while on a drive with a non-programmer friend, I talked with him about code complexity and manageability, how very complicated code is detrimental...

aY Formatting Flex Datagrid rows

aY Formatting Flex Datagrid rows
I keep coming across people who seem to think that Flex's data formatting facilities are somewhere between Voodoo and rocket surgery, particularly when it comes to data visualization elements like DataGrids. Nothing could be further from the truth-Flex may not be the best system in the world, but it's all about manipulating data; therefore, it has some excellent (and super-easy) formatters. Inside a DataGrid, what seems to be a problem for so many is the fact that the data is seemingly rendered without...

Kevin Schroeder's Blog: Deployment Series

Kevin Schroeder's Blog: Deployment Series
If you're interested in the deployment of PHP applications, you'd do well to check out a series of articles Kevin Schroeder has posted to his blog talking about different methods for moving your site out when it's ready for the world to see.His articles cover: Things to take into consideration when creating a deployment process Using rsync Integration of source code management Creating PEAR packages Making installable packages (like yum, RPM, etc) This last option, while a bit more difficult than some of...

Community News: Latest PEAR Releases for 06.28.2010

Community News: Latest PEAR Releases for 06.28.2010
Latest PEAR Releases: DB_DataObject 1.9.4 Payment_DTA 1.4.0a1 HTTP_Session2 0.7.3 HTTP_OAuth 0.1.15 Calendar 0.5.5 HTTP_OAuth 0.1.16 OpenID 0.2.0

Should we get ready to go nuts over cookies?

Should we get ready to go nuts over cookies?
The Register on a new EU law, due to go into effect next year, that requires sites to ask for consent prior to storing cookies on a user's browser: An exception exists where the cookie is aostrictly necessarya for the provision of a service aoexplicitly requesteda by the user - so cookies can take a user from a product page to a checkout without the need for consent. Other cookies will require prior consent, though, and the law must be implemented in member states by May 2011. So, how do you define...

Meet Midgard and GeoClue in aKademy 2010

Meet Midgard and GeoClue in aKademy 2010
We tried to get the combined GUADEC and aKademy conferences to Tampere in 2009, but a warmer place unfortunately won. However, we will be hosting this year's aKademy so at least KDE and Qt fans will get to enjoy this beautiful northern industrial city. The main conference will be held at the Tampere University over the weekend, and then the remaining hackweek will be in the nice Demola facility in the Finlayson district. Expect great connectivity and close proximity to all Tampere nightlife. I'm involved...

Adding a Google Sitemap Screencast

[0:05] In this video I'm going to add a Google Sitemap to a Recite web site. This is simply a matter of adding a new web feed to the web site, and then adding a page that shows the feed. [0:20] To start, let's add a new tab to manage feeds. Select "Feeds" then create that tab. Once this widget has loaded click "New Web Feed", and we're going to add it based on "Pages". There's other options for creating feeds, so if you want to make a blog then create an RSS feed you can do that. To keep it relatively...

PHP can do anything, what about some ssh?

PHP can do anything, what about some ssh?
Last time I already tried to prove PHP can do anything when it comes to network protocols by implementing a DNS server. This time I'm doing it again with a server-side implementation of the SSH2 protocol. You probably know SSH at least by its name. It's a of secure telnet replacement which also allows many other things such as port forwarding, remote file management (with sftp) and more. With PHP I could write a fully working SSH server in only 3 days. Of course I didn't implement every single extension...

Site News: Job Postings for the week of 06.20.2010

Site News: Job Postings for the week of 06.20.2010
Job postings for the past week:Job Posting: DunnWell, LLC Seeks OO PHP/Software Developer (Durham, NC)

Marco Tabini's Blog: Software, APIs and all the king's men

Marco Tabini's Blog: Software, APIs and all the king's men
Marco Tabini has posted some of his thoughts about web application development, specifically in dealing with the creation of APIs for your site.Unfortunately, the vast majority of websites are still built with the old "web-only" approach in mind-which, in today's world, introduces by-design limitations in what your software can do. [...] To be sure, even if you - or, more likely, someone before you-has made the decision of designing "one big ball of code" from which you now have the unenviable task of...

Fabien Potencier's Blog: Iterator or IteratorAggregate?

Fabien Potencier's Blog: Iterator or IteratorAggregate?
Following up on two previous posts about iterators, Fabien Potencier is back with one more quick shot on iterator aggregation - a look what using iterator versus iteratoraggregate.If you have ever used iterators in your code, you have probably implemented the Iterator interface. Objects of a class that implements Iterator can be iterated over with the foreach loop. [...] The IteratorAggregate interface is quite similar [to Iterator] (both interfaces implement Traversable) but creates an external...

Chris Hartjes' Blog: Fun with custom Zend_Views

Chris Hartjes' Blog: Fun with custom Zend_Views
In a new post to his blog Chris Hartjes talks about some fund he had with custom Zend_Views in developing a fantasy gaming platform.I managed to figure out that one requirement was for an admin to upload a header and footer file for a game. "The idea here is to be able to set up a new game for someone without programmer intervention". After I got over being insulted that a programmer was not required for every tiny tweak to the site (I'm kidding) I tried to figure out how I was going to accomplish this....

MOPS-2010-061: PHP SplObjectStorage Deserialization Use-After-Free Vulnerability

MOPS-2010-061: PHP SplObjectStorage Deserialization Use-After-Free Vulnerability
A use-after-free vulnerability was discovered in the deserialization of SPLObjectStorage objects that can be abused for leaking arbitrary memory blocks or execute arbitrary code remotely. Affected versions Affected is PHP 5.2 Affected is PHP 5.3 Risk Critical. Credits This vulnerability was disclosed by Stefan Esser of SektionEins GmbH during the SyScan Singapore 2010 security conference. Detailed information PHP's unserialize() function has had many memory corruption and use-after-free vulnerabilities...

Brian Swan's Blog: Accessing Windows Azure Table Storage from PHP

Brian Swan's Blog: Accessing Windows Azure Table Storage from PHP
Brian Swan (of Microsoft) has a new post to his blog today looking at using the Windows Azure Table Storage from inside of your PHP application.An overly-simplified answer: Windows Azure Table Storage is structured storage in the cloud provided by the Windows Azure platform. It allows you to create any number of tables, which can each contain any number of entities. Each entity can in turn contain any number of properties. A picture is worth a thousand words here.Think of it as almost a Microsoft-created...

Symfony Blog: Symfony2 Online Conference

Symfony Blog: Symfony2 Online Conference
If you weren't able to listen in on the Symfony2 Online conference back on June 22nd and 23rd, you can catch up by checking out the slides that have been posted to the Symfony blog today.Yesterday and the day before, Sensio Labs organized the first Symfony2 online conference. It was a great success with more than 350 attendees (from over 35 different countries), and a dozen hubs around the world. Thankfully, the platform worked fine.There's several sets of slides posted here for sessions like: News of...

aY NoSQL, round holes and square pegs

aY NoSQL, round holes and square pegs
Ivo Jansch: In last year's conference, there was a talk on CouchDB, introducing a aNoSQL' database as a response to relational databases often being a hassle when web data needs to be stored and manipulated. This year, we could see that NoSQL is catching on and becoming more mainstream. Matthew Weier O'Phinney, project manager of the Zend Framework, discussed NoSQL in detail, and MongoDB (Another NoSQL database) was mentioned in a couple of talks. NoSQL is definitely something to have a look at, and it...

Site News: Popular Posts for the Week of 06.25.2010

Site News: Popular Posts for the Week of 06.25.2010
Popular posts from PHPDeveloper.org for the past week:Otto on WordPress: WordPress 3.0: Multisite Domain Mapping Tutorial ThinkPHP Blog: Benchmarking & optimizing real-world scenarios in a business context NETTUTS.com: How to Write a "Most Popular By Views" WordPress Plugin Fawad Hassan's Blog: CRUD using jQuery and Codeigniter - I Zend Developer Zone: Announcing The June ZF Bug Hunting Days Pingdom.com: Exploring the software behind Facebook, the world's largest site Prescot Linux Blog: Finding the...

Iterator or IteratorAggregate?

Iterator or IteratorAggregate?
In my last two posts, I talked about PHP iterators. Here is a quick tip on the same topic. If you have ever used iterators in your code, you have probably implemented the Iterator interface. Objects of a class that implements Iterator can be iterated over with the foreach loop: $foo = new Foo(); A foreach ($foo as $key = $value) { // do something with $key and $value } A The Iterator interface has five simple methods that must be implemented: class Foo implements Iterator { protected $attributes; A...

Ivo Jansch's Blog: What's current in the world of PHP?

Ivo Jansch's Blog: What's current in the world of PHP?
On his Ibuildings blog today Ivo Jansch has posted some of his thoughts on the recent trends he's seeing both in the PHP community and in the wider world of online development.[Two] weeks ago, Ibuildings organised the fourth Dutch PHP Conference in the RAI centre in Amsterdam. DPC is a way for us to help PHP developers learn new skills and improve existing ones, but it is also an excellent way to get experts from around the world together and learn about current trends in the PHP ecosystem.Topics...