Monday, March 20, 2006
Auto-fill Your PHP Forms
LINUX NEWS FROM O'REILLY NETWORK
----------------------------------------
The Latest from http://www.linuxdevcenter.com and http://ONLamp.com
=================================================================
Your Skills Are in Demand. More Skills. More Demand.
Choose from 45 webcasts organized by track--JSP, PHP, and ColdFusion. Each
track has been designed to take advantage of your existing Web development
skills and includes insightful content contributed by Dr. Dobb's and
O'Reilly.
http://www.oreilly.com/go/learn2asp_lnx
=================================================================
Hello, readers. You're skimming the almost always useless first paragraph
of the Linux newsletter, where your editor apologizes, every week, for its
name. Here's what's new in the world of ONLamp.com this week.
PHP programmers, do you despair of all of the typing? You know validating
user input is important, but keeping track of input while saying "Uh, we
really do need your credit card number to sell you widgets" can be
tedious... by hand. You don't have to do things the hard way, though.
Gavin Andresen shows how to make PHP forms that fill themselves in with
all of the value-adding and error-checking code--once you create some
nicely formatted HTML. Go, simplicity.
<http://www.onlamp.com/pub/a/php/2006/03/16/autofill-forms.html>
In weblogs this week:
brian d foy invites everyone to Powell's Technical Books in Portland,
Oregon this Saturday to meet several Perl authors:
<http://www.oreillynet.com/onlamp/blog/2006/03/oreilly_perl_authors_at_powell_1.html>
Jonathan Wellons recommends the cessation of not backing up, while the
budget is low:
<http://www.oreillynet.com/onlamp/blog/2006/03/in_a_budget_shortfall_we_are_f.html>
Dave Cross recommends Greg McCarroll's prototype 'Search What I Mean'
program:
<http://www.oreillynet.com/onlamp/blog/2006/03/swim.html>
Jeremy Jones wonders if mapping URLs to objects and methods is really as
simple, elegant, and pragmatic as some claim:
<http://www.oreillynet.com/onlamp/blog/2006/03/oo_pragmatic_design_url_mappin.html>
Your editor reviews the CPAN distribution Jifty::DBI:
<http://www.oreillynet.com/onlamp/blog/2006/03/cpan_module_review_jiftydbi.html>
Gregory Brown points to Higher Order Ruby:
<http://www.oreillynet.com/ruby/blog/2006/03/higher_order_ruby.html>
Anton Chuvakin takes a survey about system logging:
<http://www.oreillynet.com/sysadmin/blog/2006/03/a_poll_on_system_log_storage_a.html>
Tom Adelstein compares Ubuntu GNU/Linux, Mac OS X, and Windows XP:
<http://www.oreillynet.com/sysadmin/blog/2006/03/ubuntu_macintosh_and_windows_x.html>
That's all for this week. Come back next week to learn security tips for
Linux servers and to think about how the Cell processor might affect
Apple, IBM, and Linux.
Until next week,
- c
chromatic
chromatic@oreilly.com
Technical Editor
O'Reilly Network
================================================================
O'Reilly Learning Special Offer: Save 25% Now
<http://oreillylearning.com/promotion/>
"I would never, and I mean never, have imagined that a computer learning
course would actually be fun too."
-Kerry Beck, PR Specialist
O'Reilly Learning has an exciting year in store! You're invited to join
thousands of satisfied students worldwide who have discovered just how
much fun it can be to gain skills and experience in programming or system
administration with our unique system. And until March 31st, enjoy 25% off
tuition for our online University of Illinois Certificate courses.
Enroll today and make your daily accomplishment:
<https://oreillylearning.com/enroll/>
================================================================
ONLamp.com and Linux Devcenter Top Five Articles Last Week
1. Ajax on Rails
XMLHttpRequest and Ruby on Rails are two hot topics in web development. As
you ought to expect by now, they work really well together. Curt Hibbs
explains the minimal Ajax you need to know and the minimal Ruby you need
to write to Ajax-ify your Rails applications.
<http://www.onlamp.com/pub/a/onlamp/2005/06/09/rails_ajax.html>
***
2. Fine-Tuning Kubuntu
Ubuntu is a well-maintained, well-organized Linux distribution. Kubuntu
adds the popular and powerful KDE desktop environment. As nice as Kubuntu
is, the default installation doesn't fit every user. Carla Schroder shows
how to get help, get access to more software packages, set up a firewall,
and review and get rid of unnecessary services.
<http://www.linuxdevcenter.com/pub/a/linux/2006/03/09/tuning-kubuntu.html>
***
3. PHP Form Handling
If your PHP program is a dynamic web page (and it probably is) and your
PHP program is dealing with user input (and it probably is), then you need
to work with HTML forms. David Sklar, author of Learning PHP 5, offers
tips for simplifying, securing, and organizing your form-handling PHP
code.
<http://www.onlamp.com/pub/a/php/2004/08/26/PHPformhandling.html>
***
4. Virtualization with FreeBSD Jails
Consolidating several small machines into one powerful one has advantages
in administration and resource usage. It also has implications for
security and encapsulation. FreeBSD's jails feature allows you to host
multiple separate services on a single machine while keeping them securely
separate. Dan Langille shows how.
<http://www.onlamp.com/pub/a/bsd/2006/03/09/jails-virtualization.html>
***
5. Autofilled PHP Forms
PHP makes handling interactive web pages easy--but when you have large
forms to fill out, errors to handle, and lots of data to pass back and
forth, you can make your life easier by making PHP fill in all the form
values for you. Gavin Andresen shows how to make forms autopopulate from
PHP arrays.
<http://www.onlamp.com/pub/a/php/2006/03/16/autofill-forms.html>
***
=================================================================
Free on Safari
Quicken 2006 Missing Manual: Setting Up Your Quicken Environment
http://safari.oreilly.com/0596101279/quickenfstmm-CHP-1
After you install Quicken, you're merely a few steps away from
experiencing the joys of electronic personal finance. Chapter 1 of Quicken
2006 for Starters: The Missing Manual helps you come out of the gate
running by guiding you through launching and setting up Quicken as well as
the intricacies of Quicken preferences.
If you like this chapter, read the whole book (and up to nine others) on
Safari with a free trial subscription:
http://oreillynet.com/safari-trial/
=================================================================
------------------------------------------------------------------
Interested in sponsoring the Linux DevCenter newsletter? Please
email us at advertising@oreilly.com for rate and availability
information. Thank you!
-----------------------------------------------------------------
To change your newsletter subscription options, please visit
http://www.oreillynet.com/cs/nl/home
For assistance, email help@oreillynet.com
O'Reilly Media, Inc.
1005 Gravenstein Highway North
Sebastopol, CA 95472
(707) 827-7000
-----------------------------------------------------------------