PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 5721 to 5740 of 6889

Lets talk about JSON in Symfony2

Lets talk about JSON in Symfony2
So the current project I am working on at Liip is based on Symfony2. The first sprint went surprisingly smooth. The second sprint we are currently in now "fixed" this growing perception that this pre alpha code just might be stable already. Anyway, we knew what we were getting into but still felt it was the best way to go, no regrets. The main source of trouble is the fact that we wanted to make use of DoctrineUserBundle, but load the views via JSON. Unfortunately right now there are quite a few issues...

Ibuildings techPortal: DPCRadio: Plant Pyrus in your system - A guide to a plugin system

Ibuildings techPortal: DPCRadio: Plant Pyrus in your system - A guide to a plugin system
New on the Ibuildings techPortal today they've posted the latest DPCRadio episode as recorded at the Dutch PHP Conference 2010 - Helgi Thormar Thobjoernsson's talk "Plant Pyrus in your system - A guide to a plugin system".One of the biggest parts of any plugin system is the part that deals with discovery, installation, upgrading, dependency handling, infrastructure and other equally boring things. An essential part of any plugin system yet everyone dreads writing it, and few actually take on the task of...

SitePoint PHP Blog: 3 Lightweight Alternatives to phpMyAdmin

SitePoint PHP Blog: 3 Lightweight Alternatives to phpMyAdmin
On the SitePoint PHP blog, there's a new post offering your three more lightweight database management solutions than the typical phpMyAdmin install.For much of the time, developers just want to check some data, alter a few records, or back up the database. The phpMyAdmin and MonoQL zipped distributions range from 2MB to 7MB, and they're overkill for most day-to-day administration. You're using a sledgehammer to crack a peanut. Here are three lightweight MySQL administration alternatives you should...

Community News: Latest Releases from PHPClasses.org

Community News: Latest Releases from PHPClasses.org
Yahoo Search API Client (BOSS) Localized Date/Time Strings Smart File Cache Salt Password Class SQL Bulk Importer Simple Time Pagination with density SimpleDate Simple Date XML-2-Array System monitor and Throttle Geo Locator Royal Mail Postal Barcode

3 Lightweight Alternatives to phpMyAdmin

3 Lightweight Alternatives to phpMyAdmin
When faced with MySQL administration tasks, many developers rely on phpMyAdmin. As the name implies it's written in PHP, so it can be installed on your web server and accessed from a browser. If you find the interface a little dated, you could consider MonoQL-a slicker, Ajaxified alternative. For much of the time, developers just want to check some data, alter a few records, or back up the database. The phpMyAdmin and MonoQL zipped distributions range from 2MB to 7MB, and they're overkill for most...

Jeff Moser's Blog: Notes from porting C# code to PHP

Jeff Moser's Blog: Notes from porting C# code to PHP
In a new post to his blog Jeff Moser takes you through some of his experiences in port code from C# to PHP as a first-time PHPer and learning right from a book.After years of hearing negative things about PHP, I had been led to believe that touching it would rot my brain. Ok, maybe that's a bit much, but its reputation had me believe it was full of bad problems. Even the cool kids had issues with PHP. But I thought that it couldn't be too bad because there was that one website that gets a few hits using...

Pumka.net: Why MySQL timestamp is 24 seconds different from PHP

Pumka.net: Why MySQL timestamp is 24 seconds different from PHP
On the Pumka.net blog, Anton Oliink has an interesting problem where his timestamp on the PHP side of his application was different than the one on his MySQL backend's side - by 24 seconds, in fact.You may find that timestamp value returned by MySQL UNIX_TIMESTAMP() function is 24 seconds grater than those returned by PHP functions and classes like strtotime(), mktime, DateTime::getTimestamp(), Zend_Date::getTimestamp().As it turns out, the issue isn't' really an "issue" after all - it's caused by...

ProDevTips.com: Multiple File Uploads with XHR and PHP

ProDevTips.com: Multiple File Uploads with XHR and PHP
New on ProDevTips.com there's a quick tutorial that includes a snippet of code showing you how to upload larger images with the help of HTML5 and this Ajax uploder.So the jQuery / Flash multiple file uploader has not really been working when it comes to heavy duty stuff "Flash player has crashed" is a common scenario after some sixHe talks about some minor modifications he made to the code (like adding in watermarks) and includes the code for the new "uploadImages()" function that will handle the upload,...

PHPClasses.org Blog: Throttling Background Tasks: Unusual Site Speedup Techniques: Part 2

PHPClasses.org Blog: Throttling Background Tasks: Unusual Site Speedup Techniques: Part 2
On the PHPClasses.org blog Manuel Lemos has posted part two of his look at techniques to help speed up your site - a few things that you maybe hadn't thought of before.In the previous article I talked about one important factor that often seriously affects the user perception of the speed of a site, which is the presence of content from external sites that slows down the load of pages, such as advertising and widgets. In that article I presented a technique that I am using to make external content not...

Phil Sturgeon's Blog: Template library gets Documentation

Phil Sturgeon's Blog: Template library gets Documentation
For those who are fans of Phil Sturgeon's Template library for the CodeIgniter framework but have been frustrated by its lack of documentation, you're in luck - Phil's whipped some up and it looks just like the User Guide.People have always said my Template library for CodeIgniter is powerful but f**king confusing. Well now I have written up some documentation, which anybody who knows me or my work is VERY unusual...Documentation.The template library lets you do more complicated things with views that...

Become Zend Certified with PhpRiot!

PhpRiot has just released a new range of articles and tools aimed at helping you become Zend Certified! With the latest update to our iPad/iPhone application, you can now take practice exams to ensure you're ready to take the certification exam!

Rob Allen's Blog: SqlSrv v2 and long field names

Rob Allen's Blog: SqlSrv v2 and long field names
In this latest post to his blog Rob Allen takes a look at a problem he had when installing a project that used SQL Server as its data source - it just didn't work.A good proportion of the projects my company undertakes end up on Windows servers with IIS and SQL Server and hence we use the SqlSrv PHP extension from Microsoft. We don't host any of these projects ourselves and leave it up to the client's IT department. This is the main reason that we use a database abstraction layer, Zend_Db, in our case as...

Kevin Schroeder's Blog: You want to do WHAT with PHP? GIVEAWAY

Kevin Schroeder's Blog: You want to do WHAT with PHP? GIVEAWAY
Kevin Schroeder has received a few copies of his "You Want to Do WHAT With PHP?" book from his publisher and is trying to figure out how to give them away for the folks out there that'd like to check it out.I just got my copies of my book "You want to do WHAT with PHP?" today. During my conversations with MCPress, my publisher, I had asked for 3 copies to do a social media promotion and they agreed. I posted that I would be giving away 3 copies on Twitter and got a whole bunch of "I WANTS". So I asked my...

NETTUTS.com: 9 Confusing Naming Conventions for Beginners

NETTUTS.com: 9 Confusing Naming Conventions for Beginners
On NETTUTS.com there's a new article that list nine different conventions that developers (PHP, Javascript, general web) could get confused about when they are just starting out.Especially when first getting started with various web development languages, it can prove to be a difficult task to learn all of the various naming conventions from language to language. This can be even more confusing when developers disagree on what's considered best practice. To help ease the transition for beginners, this...

Mike Willbanks' Blog: Zend Framework Cache Backend Libmemcached + Session Cache

Mike Willbanks' Blog: Zend Framework Cache Backend Libmemcached + Session Cache
Mike Willbanks has a new tutorial posted to his blog today about combining memcache and the Zend Framework's caching component to work with session handling.If I haven't said it before, I suppose I will say it now, I love memcached; it is a wonderful tool to have in your tool belt. However, Zend Framework does not currently have an official cache adapter for Memcached (it has one for the extension memcache but not memcached). [...] About 6-9 months ago, I had implemented a Session_SaveHandler_Cache...

Evert Pot's Blog: Internationalized domain names, are you ready?

Evert Pot's Blog: Internationalized domain names, are you ready?
In a new post to his blog Evert Pot looks at internationalized domain names and where they could cause issues some of the current validation in PHP applications.Since may 11 TLD's (top-level domain names) have been added. In order for this to work successfully, a lot of applications will have to be fixed. Many email-validation scripts might use [a regular expression] approach [to match most address formats].Unfortunately, this approach will only continue to work with the normal ASCII-based domain names....

Recite CMS 2.1.18 Released

We have today released an update to Recite CMS (2.1.18) and many of its packages, resolving a number of issues and adding some new functionality. We recommend all users of Recite CMS upgrade using the package management tool. Some of the key improvements to Recite CMS include:Including a ChangeLog for packages with updates available in the package management areaUpgrading to Zend Framework 1.10.8Added a "currency selector" custom form typeImprovements to image thumbnail generationAdded the ability to...

Zend Developer Zone: Unit Testing Strategies

Zend Developer Zone: Unit Testing Strategies
On the Zend Developer Zone there's a new article from Keith Casey looking at some of the "best practices" when it comes to writing unit tests for your applications.If we are starting from absolutely nothing, building tests as we go is a near-trivial process. [...] Unfortunately, most of us don't have this situation. We walk into a project with documentation ranging from non-existent to seemingly-useful-but-really-out-of-date, and hundreds of thousands of lines of code, and the coding standards and...

API Testing with Frisk (and Joind.in!)

API Testing with Frisk (and Joind.in!)
Two great tastes taste great together, right? As I've been working more on Frisk in my spare time (yes, there's a little in there between PHPDeveloper.org and Joind.in) I've been trying to develop features for it that would be helpful not only for testing web site interaction, but also in working with other kinds of web-based interfaces. Naturally, my thoughts wandered over to the Joind.in API and how I could use Frisk to work with and test the responses it gives. I've added a few more handy things...

Community News: Latest PEAR Releases for 10.25.2010

Community News: Latest PEAR Releases for 10.25.2010
Latest PEAR Releases: File_XSPF 0.2.2 Net_Traceroute 0.21.3 HTML_Common2 2.0.0 Net_SMTP 1.4.4 XML_SVG 1.0.3 Net_Geo 1.0.5 XML_NITF 1.1.1 Text_CAPTCHA_Numeral 1.3.0 Image_Text 0.6.0 Image_GraphViz 1.3.0 Image_Puzzle 0.2.2 Math_Finance 1.0.1 Gtk2_PHPConfig 1.0.0RC2 Payment_Clieop 0.2.0

Latest PHP Tweets