News Feed
Sections




News Archive
feed this:

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

SitePoint PHP Blog:
Legacy Code is a Cancer
August 04, 2014 @ 11:08:45

In the latest post to the SitePoint PHP blog Bruno Skvorc proposes the idea that "legacy code is a cancer" that can influence decisions and technology choices that shy away from the new and possibly more functional alternatives.

This might come out controversial, but I firmly believe there is no room for legacy code in modern systems. Allow me to elaborate before you sharpen your pitchfork and light your torch. What I mean by that is: there should be absolutely zero reason to keep implementing the functions you're adding to the new version retroactively into the old version, just because some people are still using it, even if the people using it are a vast majority.

He talks about the "support everything for as long as we can" ideal and how it can come back to bite you in the end. He suggests that, at some point, the v1 users have to "be discarded" and dropped for the upgraded version of the application. He talks about failure potentially brining around success and compares applications versus libraries and components and the upgrade path for each. He ends the post with a suggested upgrade path to move the system itself away from legacy support and into the new, latest version.

0 comments voice your opinion now!
legacy code cancer maintenance upgrade support users

Link: http://www.sitepoint.com/legacy-code-cancer/

CoderWall.com:
Scale PHP on Ec2 to 30,000 Concurrent Users / Server
July 19, 2013 @ 11:07:08

On CoderWall.com there's a post sharing some findings about how RockThePost.com scaled PHP to 30,000 concurrent users on Amazon EC2 instances.

RockThePost.com is a LAMP stack hosted on Ec2. We're preparing to be featured in an email which will be sent to ~1M investors... all at the same time. For our 2 person engineering department, that meant we had to do a quick sanity check to see just how many people we can support concurrently.

They have a list of five suggestions/opinions on what has helped them scale out to this level including using Varnish for caching, turning on APC (PHP opcode caching) and using a c1.xlarge EC2 instance. They used Google Analytics and Siege to run their load testing on the "exterior" of the site.

0 comments voice your opinion now!
rockthepost scale amazon ec2 concurrent users howto

Link: https://coderwall.com/p/__z9ia

Symfony Blog:
Getting help on symfony1 or Symfony2
June 24, 2011 @ 09:02:02

On the Symfony blog Fabien Potencier has a new post talking about a change in the support structure for developers wanting to get help with either Symfony1 or Symfony2 - a split in the mailing list to help make things a bit easier to split out.

Now that Symfony2 is just around the corner, we need to better organize community support for both symfony1 and Symfony2. As more people start using Symfony2, the user mailing-list is becoming more and more difficult to follow. [...] After an opinionated discussion on the mailing-list, I've decided to create two new mailing-lists that are replacing the current users mailing-list: one for symfony1 and another one for Symfony2. The current mailing-list has been switched to the archive mode; all messages will remain browseable and searchable but new messages will be rejected.

If you're a current member of the "users" mailing list and want a similar experience, you'll need to subscribe to both. Otherwise, pick the one you like and watch your inbox fill up. This break up makes it easier for people to find messages specifically related to their version of choice without having to look for the "[Symfony2]" tag in the subject line.

0 comments voice your opinion now!
symfony1 symfony2 framework mailing list split users


New Earth Online:
Detecting Users Online
January 02, 2007 @ 14:42:00

From the New Earth Online website, there comes this new tutorial for showing the current number of people browsing your website.

After recently having seen a way of showing the number of people currently visiting your site by recording IP address I thought I'd demonstrate my own way of doing it that also includes the ability to show which users online, and number of users/guests online.

They briefly explain the goal of the script and touch on another tool for WordPress that does a similar thing, but this solution would work for any site. The rest of the post is the code for the feature that uses a database table to keep track of users online (via insert/update/deletes).

0 comments voice your opinion now!
detect users online count guest example detect users online count guest example


DevShed:
Creating the Admin Script for a PHP/MySQL Blogging System (Part 3)
October 17, 2006 @ 11:23:00

DevShed continues their look at the creation of a simple blogging script with part three of the series (part 1, part 2) - the creation of an admin utility to work with the contents of the blog.

The idea is to give the owner of the blog the ability to manage the blog by being able to remove users and articles as required, or to alter the status of users by upgrading them to admin status or banning them. It is also a place where the administrator can start new topics that will then garner their own replies.

They go through the creation of the main admin script (functionality managed with a switch statement, including other external PHP files) and the functions that go in each of those individual files to make things work - managing messages, managing users, and managing categories.

0 comments voice your opinion now!
blogging system part3 mysql admin users messages categories blogging system part3 mysql admin users messages categories


NewsForge.com:
Using phpMyAdmin
August 18, 2006 @ 07:11:33

On NewsForge, an article with a look at phpMyAdmin has been posted, a "getting started" guide for those not familiar with the software.

So many open source projects depend on MySQL that it's almost impossible for administrators and other open source enthusiasts to avoid working with at least one MySQL database. MySQL's command line interface is easy enough to use, but if you don't feel like reaching for a five-pound MySQL reference book or Googling for proper SQL syntax, phpMyAdmin is a great alternative to learning MySQL commands by heart.

They take a brief look at how it's set up, though it's not an installation tutorial, more about configuration. They guide you through some of the interface before getting to the real functionality - inserts, selects, dumping/restoring data, working with users, and checking/repairing tables when things go awry.

0 comments voice your opinion now!
using phpmyadmin guide introduction configure insert users data repair using phpmyadmin guide introduction configure insert users data repair


Alexander Netkachev's Blog:
Programming a data layer classes
June 26, 2006 @ 07:45:31

Alexander Netkachev has posted this quick tutorial with a few examples he's made for extending the Zend_Db_Table class from the Zend Framework.

He sets up the situation (complete with database table) and explains the creations of a "Users" extension to the Zend_Db_Table class. He shows how to set it up to work with your table name, and how to create a new user with the sample table provided.

He also demonstrates a simple validation wrapper around the functionality just to ensure that invalid data isn't passed in.

0 comments voice your opinion now!
zend framework zend_db_table tutorial extend users zend framework zend_db_table tutorial extend users


Limitless Studios:
Determine Number Of Online Users Without A Database
June 22, 2006 @ 14:49:39

From the Limitless Studios website, there's a new tutorial for those frustrated by the other "who's online" tutorials that require a database. Their example doesn't, opting instead to handle the process with PHP's sessions.

Most web developers will usually like to determine the number of online users currently browsing their web site. Most tutorials will teach you how to do just that using a database of some sort because it is easy to implant. Using a database though can be a bit slow at times, especially if your web site gets a lot of hits. In this tutorial, we will teach you an alternative and effective way to determine the number of online users WITHOUT using a database.

They note the overhead that using a database can cause, and look instead to something PHP works with natively - sessions. Their code is contained inside of a function, checking the session path PHP uses for session files that haven't expired yet.

0 comments voice your opinion now!
tutorial users online function session path count tutorial users online function session path count


Zend:
New Consulting Offerings for German PHP Users
April 12, 2006 @ 07:52:02

As this post on DynamicWebPages today notes, Zend now offers consulting services to all PHP users in Germany, Austria, an Switzerland.

There are three services they are offering right out of the gate - a system for migration support (from PHP4 to PHP5), a training package (that covers both general PHP and the Zend products), and an application auditing (that look sat things like code quality, stability, and modularity).

For more information about these and other offerings from Zend, check out this press release for everything and everyone you'll need to know.

1 comment voice your opinion now!
zend german users consulting auditing training migration zend german users consulting auditing training migration


Laura Thomson's Blog:
Conference roundup
March 31, 2006 @ 06:57:10

This year is just starting out and there's already been a lot o fnews surrounding PHP-related conferences, including a disappointment for those over in Europe. Laura Thomson's latest post sums up what we know so far.

She talks about the Zend/PHP Conference and Expo happening later this year, and how they've officially released their Call for Papers with a deadline of June 15th. There's also a note about the cancelation of the International PHP Conference that was to happen in Amsterdam due to "resource issues" surrounding the World Cup.

Finally, she mentions the MySQL Users Conference in late April at the Santa Clara Convention Center. Laura mentions the two talks she'll be giving at the conference: "Secure Your PHP and MySQL Web Applications" and "Upgrading to PHP 5: Why and How".

Other PHP-related sessions are also included in the schedule from speakers like Rasmus Lerdorf and Andi Gutmans. For more information on this conference, check out the official site.

2 comments voice your opinion now!
conference roundup zend international mysql users conference roundup zend international mysql users



Community Events





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


tool framework artisanfiles library opinion laravel release podcast symfony community list composer conference version introduction series interview language voicesoftheelephpant security

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