 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Liip Blog: Jackalope - JCR for PHP started
by Chris Cornutt May 12, 2009 @ 10:21:15
In this new post to the Liip blog Tobias Ebnother looks at Jackalope that's looking to bring JCR functionality into the toolset offered to PHP developers.
We initiated a new open source project called Jackalope. Its purpose is to bring JCR via Jackrabbit to the PHP world. [...] JCR provides a great standardized storage for hierarchical content and supports some nice features like full text search, versioning, transactions, observation, and more. Our main goal is to create a PHP Connector for Jackrabbit without using any Java.
To accomplish this, they're doing things in two steps. First, they've created a setup with the Java bridge (from Zend Server) to make the connection back to the Jackrabbit server and making writing tests to that API. The second step is to swap out the Java bridge with the Jackalope connection piece. You can check out the current state of the project on its Github page or come and ask questions of the team on the Freenode IRC network (#jackalope).
voice your opinion now!
jackalope jcr zendserver java connect native bridge
Phpro.org: Introduction to PHP and MySQL
by Chris Cornutt April 16, 2009 @ 12:06:30
On the phpro.org site today there's a new tutorial posted about the powerful combination of PHP and MySQL introducing a bit about both sides - connecting PHP to MySQL and working with SQL statements.
This tutorial is aimed at those new to PHP and MySQL. The object of this tutorials is to show by way of example how to use php to CREATE a database, how to CREATE a table, how to INSERT data into a database, and how to SELECT that data and display it on a web page. [...] his tutorial will grow in size and complexity as time permits. Lets begin with a brief description of what MySQL and PHP are.
The tutorial looks at connecting to MySQL, creating a test database, working with the data inside via insert/selects/updates and a few other miscellaneous tips.
voice your opinion now!
mysql interface tutorial connect sql crud
Zend Developer Zone: Getting Started with OpenID and PHP
by Chris Cornutt June 05, 2008 @ 10:27:20
Vikram Vaswani has a new tutorial posted to the Zend Developer Zone today about integrating PHP with an OpenID system via a few helpful packages.
OpenID, a free, open-source framework for "single sign-on" across different Web sites and applications. The even better news? There already exist a bunch of PHP widgets that allow developers to easily integrate OpenID into a PHP application, and this article is going to show you how to use them. So what are you waiting for? Flip the page, and let's get going!
For those not familiar with the authentication method, he defines OpenID and shows how it can help with the "too many passwords, too many accounts" problem many users face. He uses the PHP OpenID Library and the Authentication::OpenID_Consumer PEAR package (as well as several other PEAR packages to help with the connections and message formatting). He builds two simple forms to use the service - one to authenticate a user and another to create a new account.
voice your opinion now!
openid tutorial connect authenticate myopenid pear package
SaniSoft Blog: The prefix automagic in CakePHP routing
by Chris Cornutt April 09, 2008 @ 13:06:18
On the SaniSoft blog, Tarique Sani talks briefly about some of the prefix "automagic" that's already built in to the CakePHP framework's routing.
There are times when you need more than just admin routing, how about something like http://blah.com/user/profiles/edit and http://blah.com/user/profiles/changepassword ? If this could be routed to an action like user_add and user_changepassword wouldn't it be great!! (eg: think ownership ACL checks)
Good thing the CakePHP developers already planned for something like this - they included the connect() method for Router objects that maps the URL request to a method with that same prefix in the controller.
voice your opinion now!
cakephp framework prefix routing magic connect
The Bakery: Setting up Eclipse to work with Cake
by Chris Cornutt July 30, 2007 @ 12:03:00
From The Bakery today, there's a new tutorial that steps you through the process of getting the Eclipse software set up and working happily with a CakePHP installation.
So you're on a noob on the quest for painless PHP development? You've started using Cake and now you're considering the Eclipse Integrated Development Environment. These are two great first steps. All you need now is a little help getting to know Eclipse and configuring it for maximum effect with CakePHP. This tutorial gathers lots of information already out there, adds a bit of my own, and puts in all in one place.
They work through the installation, how to define a workspace for your project and getting the "bake" command to work directly from the local software.
voice your opinion now!
eclipse cakephp tutorial connect bake eclipse cakephp tutorial connect bake
John Walsh's Blog: Benchmark - MYSQL vs MYSQLi
by Chris Cornutt June 12, 2007 @ 13:34:00
John Walsh got to thinking about performance when it comes to the MySQL functions versus MySQLi in PHP - this quick post is the result:
I've decided that a little investigation in weather it can connect,query and close faster than the MYSQL function I prefer the MYSQLi version as the _connect function is a lot more organised with the DB select in it.
The code used for the benchmarks is simple - just a connect, query and close (no fetch). The results of running each 1500 times shows that, by a pretty narrow margin, the MySQL extension comes in around 92 milliseconds faster than MySQLi.
voice your opinion now!
mysql benchmark mysqli query connect close mysql benchmark mysqli query connect close
DevShed: Getting PHP to Talk to MySQL
by Chris Cornutt May 18, 2007 @ 10:21:00
DevShed is getting back down to some of the basics with this new tutorial - the first part of a three-part series looking at connecting PHP with a MySQL database backend. The article is part of an excerpt from the O'Reily book "Learning PHP and MySQL" (by Michele Davis and Jon Phillips).
In this first part of a three-part series. you will begin learning how to use PHP to display and modify data from a MySQL database.
They step through the process of connecting to the database server, picking the database you want to work with, creating a SELECT statement for the data in the tables, running it and getting back the information. For this first part of the series, though, they only go as far as making the connection including the solution to one of the most common errors people experience - the "call to undefined function" problem.
voice your opinion now!
mysql connect tutorial login mysqlconnect mysql connect tutorial login mysqlconnect
|
Community Events
Don't see your event here? Let us know!
|