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

WeberDev.com:
User Authentication with patUser (Part 3)
July 31, 2006 @ 06:24:13

WeberDev.com has posted part three of their "User Authentication With patUser" series today, detailing some of the aditional functionality the patUser package has to offer.

While the API for user and group management does form the core of the patUser library, it's not all there is on display. patUser also includes a number of utility functions that can come in handy for certain specialized tasks.

These functions include identifying users and groups by different criteria (such as name or email address); keeping track of the URLs visited by the user so as to generate a user trail; maintaining user account statistics for auditing purposes; and providing exception-handling routines for more graceful error handling.

They give the details on how to:

  • make exceptions,
  • track the user's history through the site,
  • perform a natural selection search on user data,
  • how to identify users,
  • record stats about the user's activities

With this tutorial they finish off the series, providing a good solid overview of the patUser package. If you're just now reading the series, be sure to check out part one and part two.

0 comments voice your opinion now!
tutorial user authentication patuser php-tools other functionality tutorial user authentication patuser php-tools other functionality


WeberDev.com:
User Authentication With patUser (Part 2)
June 17, 2006 @ 08:09:51

From WeberDev today, there's part two of their "User Authentication with patUser" series, this timie with a focus on managing user data with other patUser functionality.

patUser can do a lot more than just handle user authentication - the library also comes with a large number of methods designed to make the task of managing user data as simple and efficient as possible. Over the course of this second installment, I'm going to show you how these methods work, and how they can be used to quickly create scripts to view, add, edit and delete users (and user attributes) from your database. Keep reading!

They build on the previous article's foundation (and database) to insert some new user information for manipulation and output. They then give some sample code to pull all of the users from the database, pull details for each user (including additional fields created in a database update), and limiting the results based on one of the fields.

They also include another database table and the needed code to help organize the users into groups. They also include the functionality to add and remove groups and users as well as adding and removing people to/from groups directly from the patUser setup. Finally, they finish it with a few "real life" examples to help it all make sense together.

1 comment voice your opinion now!
patuser user authentication management add remove update delete patuser user authentication management add remove update delete


WeberDev.com:
User Authentication With patUser (Part 1)
June 01, 2006 @ 06:00:01

WeberDev has posted part one of their latest series today - a look at using the patUser utility to authenticate users for your website.

It should, therefore, be possible to come up with a generic library to perform these tasks, one which provides developers with a reusable code base and eliminates the need to reinvent the wheel every time they build the user management component of a Web application. This library should be flexible enough to adapt to different needs, powerful enough to satisfy most requirements, and robust enough to meet the performance and scalability requirements of most of the current generation of Web applications.

Which brings me, rather nicely, to patUser.

They take the time to explain what the patUser package is all about, including where to grab the latest copy from. There's a SQL file that comes with the installation to help you get started and will be what the tutorial is based around. They provide a basic example of adding and authenticating a user, breaking it down into chunks to explain it.

They also include a method to make the patUser system use a plain HTTP authentication instead of integrating into a template - sometimes a simpler, quicker approach for validating users.

0 comments voice your opinion now!
user authentication patuser part1 tutorial user authentication patuser part1 tutorial



Community Events





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


install configure laravel refactor framework introduction opinion code testing threedevsandamaybe language unittest interview developer series community symfony2 list podcast release

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