Token Objects in PHP
Accessing complex structures can be greatly simplified by the use of objects, however objects can be expensive and the more you have the more they cost you in system resources and time wasted converting existing structures into object form. If you want to have an object structure but you don't want the overhead, if you have existing structures that you want to access as objects, or if you are just looking for something insane to pass the time between other presentations, then you need token objects.
Token objects are simple to build and can be put to work in a variety of useful situations. Token objects can be used to create object interfaces to database result sets, command line applications, menu systems and practically anything you can imagine.
This presentation will provide an understanding of what token objects are, how they work, how they are built and how they can be used. Practical examples will be included along with open source PHP code implementing some ready to use token object base classes.
Keywords: PHP, objects, OOP, data structure, API
Flame Herbohn
CEO, Brisbane PHP
|
CEO, Brisbane PHP Pty Ltd
CIO, Voiptel Pty Ltd
President, Brisbane PHP User Group
With over 20 years of software development experience flame has built proprietary and open source applications for a diverse array of clients, from small businesses to universities & multinational corporations. He has received international acclaim for his work on such projects as APhPLIX development studio (Honourable Mention, VMWare Ultimate Virtual Appliance Challenge) and has run presentations, tutorials & training sessions for the Melbourne and Brisbane PHP User Groups along with presentations at OSDC and Linux.conf.au. Through his company, Brisbane PHP, flame runs a mentoring program for exceptional IT students and provides staff training, testing and project management services.
Dani Prescott
Brisbane PHP
|
QUT Bachelor of Information Technology Dean's Scholars Program (1st Year)
Software Engineer, Brisbane PHP Pty Ltd
Treasurer, Brisbane PHP User Group
Dani is a Dean's Scholar student at QUT and has worked on a number of open source and commercial projects.
Ref: OS7P0058