Great PDO/Modx Post

135 views
Skip to first unread message

Jason Bird

unread,
Jun 14, 2011, 12:18:03 PM6/14/11
to Twin Cities Modx Users
All,

Here was a great post that Joe Holla posted in the Modx Revoulution
Chicago Facebook group (http://www.facebook.com/home.php?
sk=group_220808947942883) that I thought would be useful for everyone
in the TC Modx Group too.

MODX Revo is PDO (PHP Data Objects) based. For that reason its faster
& much leaner code makes it more effcient than drupal, joomla,
wordpress etc. (meaning it can be made to run faster and use less
system resources.) Beef up your MODX Revo applications by learning to
use PDO here, free chapter based tutorial here...

http://www.phpeveryday.com/articles/PHP-Data-Object/PDO-Tutorial-P842.html

Beginner resource for PDO...

http://net.tutsplus.com/tutorials/php/why-you-should-be-using-phps-pdo-for-database-access/

Custom database tables with PDO specifically for Modx -

http://bobsguides.com/custom-db-tables.html

PHP Manual's guide on PDO...

http://php.net/manual/en/ref.pdo-mysql.php

Video screencast & PDO code sample...

http://video.ezinemark.com/php-data-objects-code-sample-4703d372994.html

A really nice walk thru & explanation of PDO as the instructor writes
the code here...

http://www.kitebird.com/articles/php-pdo.html

And for those of you that prefer videos to learn PDO, here they are:

1) PDO basics with PHP/Object Orientated Programming -

http://www.youtube.com/watch?v=dF8hoPj-1bc&feature=youtube_gdata_player

2) PHP: PDO's interface with mySQL -

http://www.youtube.com/watch?v=vrpMDnNs1P4&feature=youtube_gdata_player

3) Definitions of the PDO syntax w/ easy to read examples -

http://www.roseindia.net/tutorial/php/phppdo/tutorial/PHP-PDO-Index.html

This one may be a little old, but it's a tutorial on 'How to Use PDO
in MODX Applications' -

http://www.sottwell.com/article-pdo.html

xPDO exclusively for MODX Revolution -

http://marcoraven.net/modx/modxrevolutionxpdo.html

http://modx-linx.net/links.html?ver=xPDO

http://www.markhamstra.nl/modx/general/tips-tricks-tutorials/get-children-snippet-and-learn-xpdo.html

http://www.pelaphptutorials.com/job/MODx-Revolution-xPDO-programming-oDesk.html

Reverse engineer existing tables in a dB with xPDO in MODX Revolution
-

http://rtfm.modx.com/display/revolution20/Reverse+Engineer+xPDO+Classes+from+Existing+Database+Table

Migrate a Wordpress site into MODX Revolution by using xPDO's
portability features to hook right into a WP dB -

Part 1:
http://devtrench.com/posts/first-impressions-of-xpdo-wordpress-to-modx-migration-tool

Part 2:
http://devtrench.com/posts/wordpress-to-modx-migration-part-2-schema-relationships-and-comments

Part 3:
http://devtrench.com/posts/wordpress-to-modx-migration-part-3-templates-categories-and-postmeta
Reply all
Reply to author
Forward
0 new messages