News Feed
Jobs Feed
Sections




News Archive
feed this:

SitePoint.com:
OAuth for PHP Twitter Apps, Part I
September 03, 2010 @ 10:53:45

On the SitePoint blogs today there's a new tutorial posted, the first part of a series, from Raj Deut about making the move away from the basic authorization for connecting to the Twitter API and towards their new OAuth method for Twitter Apps.

As of August 31, Twitter's HTTP Basic Authenticated API service has been disabled entirely. Now, any interface with the API will be required to use a token-based authentication method known an OAuth. [...] At first glance, the task of implementing OAuth can appear daunting, and OAuth's token exchange system can be confusing if you're unfamiliar with it. Fortunately, there are some rather clever individuals who've done the groundwork for us.

They show you how to register your application with Twitter and use the TwitterOAuth library to make a sample connection to their servers. They also show how to generate the tokens for the URL and the ones for accessing the site as a user. With tokens in hand, the script can then connect to the system and make a sample tweet (complete code included).

0 comments voice your opinion now!
oauth basic authentication tutorial twitteroauth library


PHPBuilder.com:
Upgrading Basic Twitter Authentication to OAuth with PHP
June 28, 2010 @ 11:23:09

On PHPBuilder.com today there's a new tutorial about updating your application's Twitter authentication from the basic method to OAuth (which will become the new standard).

Twitter provides an API for developers to build applications on top of it. The API has supported basic authentication over HTTP, but beginning in June 2010 Twitter is discontinuing basic authentication and migrating all Web and desktop applications to OAuth (Open Authorization). Although simpler to implement, basic authentication had its drawbacks. [...] OAuth on the other hand provides a more secure way to authenticate users and allows a persistent access token, which application developers can then consume.

They explain a bit about how OAuth works as compared to the basic authentication method (complete with a graph) and how to use the OAuth Twitter library to make the connection between your application and the Twitter servers.

0 comments voice your opinion now!
twitter authentication oauth basic tutorial


Chris Jones' Blog:
New PHP Oracle FAQ Wiki
April 08, 2009 @ 12:05:05

Chris Jones has pointed out a new wiki page that's been set up as a more centralized resource for frequently asked questions about PHP and Oracle.

I've updated the old Oracle PHP FAQ and the Oracle PHP Troubleshooting FAQs that were hosted by Oracle Technology Network (OTN). We've redirected the old FAQ pages to a new wiki page: http://wiki.oracle.com/page/PHP+Oracle+FAQ with the updated content. Feel free to create an account and make updates. Hosting the FAQ on a wiki seems appropriate because PHP is open source and grows by the value of everyone's contributions.

Questions so far include some of the basics (connecting, querying, etc) and a few more complicated issues like pre-fetching, LOBS and new information for using the Zend Server to connect to your Oracle databases.

0 comments voice your opinion now!
oracle wiki faq basic advanced frequently asked questions


PHPBuilder.com:
The ABC's of PHP II - What do I need to make it work?
March 16, 2009 @ 07:58:31

Peter Shaw has posted the second part of his introductory series to PHP - "The ABCs of PHP". In this new article Peter looks at the installation and configuration of PHP on your platform of choice (Windows or Linux-based).

PHP runs on all the major computing platforms available today, this includes all versions of windows, all the major linux distro's and a lot of specialist systems for devices like the Cobalt Raq and a lot of embedded devices. In this article however we will be concentrating on running PHP under the Apache and IIS web servers, which between the two covers approx 95% of the systems most people will have access to.

He uses packages on the linux installation to make things simple (for a basic Apache2 and PHP5) and the PHP and Apache binaries from each project on the Windows platform.

0 comments voice your opinion now!
abc basic introduction language install apache php5 windows linux package binary


NETTUTS.com:
Top 50 Wordpress Tutorials
February 25, 2009 @ 11:13:30

NETTUTS.com has a list of fifty WordPress tutorials you can use on your installation to do things like:

  • Multiple Wordpress Installations Using a Single Database
  • Wordpress Theme Hacks
  • Turning a Web Template Into a Wordpress Theme
  • Rounded Corner Tab Menus
  • Customizing Widgets Using CSS
  • Wordpress Categories in a Horizontal Drop-down Menu
  • Enabling HTTPS for Wordpress.com Blogs Screencast

Check out the full post for even more WordPress goodness.

1 comment voice your opinion now!
wordpress tutorial list fifty plugin basic theme backend


Evert Pot's Blog:
HTTP Basic and Digest authentication with PHP
February 13, 2009 @ 12:06:02

Validating users can be a complicated thing but, depending on what you're trying to protect, you may not need an entire user validation and management system to keep it all straight. Evert Pot offers information on using PHP with a good old standby technology - HTTP basic and digest authentication.

HTTP authentication is quite popular for web applications. It is pretty easy to implement and works for a range of http applications; not to mention your browser.

He includes two scripts - one to force the Basic form of authentication (the password is passed over in clear-text) and the Digest method (the password is set over as a hash) - and how to check the values sent back for each. Obviously, the Digest method takes a little more doing and requires compiling a few different keys as an md5 hash to ensure that the user is valid.

0 comments voice your opinion now!
http basic digest authentication example tutorial


Developer Tutorials:
Drupal CMS e-Commerce Module Basics
August 21, 2008 @ 10:21:04

On the Developer Tutorials site today, there's a new look at working with the Drupal e-Commerce module in your Drupal installation.

What if you [also] want to support collaborative editing of content, community forums, and other capabilities that could help increase traffic to your site, but are usually only found in content management systems (CMSs)? Is it possible to combine the best of both worlds - shopping carts and CMSs? Fortunately, the answer is yes, if you choose a world-class CMS such as Drupal as a foundation for your site.

They walk you through how to get the module installed, how to configure it to match with your site's layout and flow and how to hook the purchase process into PayPal to make purchasing a few simple user clicks away.

0 comments voice your opinion now!
drupal tutorial ecommerce module basic introduction


PHPBuilder.com:
Fundamentals of PHP Superglobals
October 19, 2007 @ 13:56:00

PHPBuilder.com has a new article published today that works through some of the basics behind using the superglobal variables in PHP.

This month's article is aimed at PHP developers who're not yet familiar with the PHP superglobals. Usage of superglobals is fundamental to PHP web development, but, with all the recent changes in PHP, there are still many outdated tutorials, books, and sadly, still much confusion.

They look at how to use them in a PHP script (in an HTML page) and what's contained in each of them (_GET, _POST, _ENV, _SERVER, etc).

1 comment voice your opinion now!
superglobal fundamental tutorial basic beginner superglobal fundamental tutorial basic beginner


David Coallier's Blog:
PHP Namespaces (Part 1 Basic usage & gotchas)
August 20, 2007 @ 15:12:00

David Coallier has posted his look at the namespace support that will be included with PHP6, specifically some examples of their basic usage and things to look out for when using them in your applications.

Well, PHP has namespaces now! Time to start educating people on that long awaited feature and for the people that already do know namespaces from C++, you also need to read this, it's simple, but will give you the basic syntax.

He starts with things like "what is a namespace?" or "what are they used for?" before getting into the syntax. The next step up is explaining how they work - he uses an example project, ProjectOne, with its namespace definition and an example script (invoke.php) that uses this class (including the new "import" keyword and the double-colon namespace separator).

0 comments voice your opinion now!
namespace basic usage gotcha definition example namespace basic usage gotcha definition example


Devshed:
The Basics of Using the Prototype Pattern with PHP 5
May 16, 2007 @ 07:53:00

DevShed gets back to its series looking at design patterns with this new tutorial covering the Prototype pattern. This pattern is commonly used when its too "expensive" to create an object in the usual way in an application.

The prototype class lets you use many instances of a specific class, without copying objects to different variables. [...] Expressed in simple terms, when you define a class in the context of a given PHP application, what you're actually doing is creating a prototype model that will be implemented by one or more instances of the originating class. Naturally there will be some variations, particularly if you're working with subclasses that override and overload methods defined by the respective parent.

In this first part of the series, they start by creating a class - DataPrototype - to act as a foundation for the rest of the tutorial. On top of the DataPrototype, they build two new classes:

  • an ArrayPrototype class that as methods for getting the size and data in an array as well as setting its contents
  • a FilePrototype that has methods for reading file information and saving new data out

Finally, they show it in action, first the ArrayPrototype, then the FilePrototype both setting the data of their respective storage method then getting its size.

0 comments voice your opinion now!
tutorial php5 designpattern prototype basic tutorial php5 designpattern prototype basic



Community Events









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


interview language code example api community introduction composer release database tool opinion object podcast unittest development testing zendframework2 event framework

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