openhub.net
Black Duck Software, Inc.
Open Hub
Follow @
OH
Sign In
Join Now
Projects
People
Organizations
Tools
Blog
BDSA
Projects
People
Projects
Organizations
Forums
S
spire
Settings
|
Report Duplicate
0
I Use This!
×
Login Required
Log in to Open Hub
Remember Me
Inactive
Commits
: Listings
Analyzed
2 days
ago. based on code collected
2 days
ago.
Aug 27, 2024 — Aug 27, 2025
Showing page 1 of 2
Search / Filter on:
Commit Message
Contributor
Files Modified
Lines Added
Lines Removed
Code Location
Date
Fix a bug in Database::datetime() where passing no arguments did not generate a current datetime.
Brian Cline
More...
about 15 years ago
Fix some older, overlooked bugs in the model
Brian Cline
More...
about 15 years ago
A few fixes due to typos in the Model, and a change to the way E() works
Brian Cline
More...
about 15 years ago
Fix some collateral damage of a global find and replace operation
Brian Cline
More...
about 15 years ago
More coding standards updates, and some inline documentation here and there. Lots more to come over the next few weeks.
Brian Cline
More...
about 15 years ago
Tons more coding standards changes. Tons of stuff may also be broken right now.
Brian Cline
More...
about 15 years ago
More coding standards changes
Brian Cline
More...
about 15 years ago
Bring Database and Model up to date with more recent coding standards and remove all instances of ereg
Brian Cline
More...
about 15 years ago
Update prototype to 1.6.1 and remove the often-unused scriptaculous files.
Brian Cline
More...
about 15 years ago
Remove closing PHP tags where not needed
Brian Cline
More...
about 15 years ago
Uh, whoops. static:: still refers to the parent if you haven't overridden the variable. Broke table metadata discovery and caching, which in turn broke every Model-based database operation imaginable.
Brian Cline
More...
over 15 years ago
Forgot to include the new cache library. Doh.
Brian Cline
More...
over 15 years ago
New memcache-based cache library and full (optional) integration with the existing Model class. Can be turned on for any model simply by adding overriding one static variable ($_cachePrefix) in the child class; this causes Model to automagically persist in memcache any record loaded by its primary key. And of course custom data or objects can be stored in the cache through the Cache library.
Brian Cline
More...
over 15 years ago
Typo in last commits; initialize Model::find() criteria to an empty array rather than a false boolean.
Brian Cline
More...
over 15 years ago
Move all GET/POST preprocessing to the Controller rather than the AppController. No idea why I had it there in the first place.
Brian Cline
More...
over 15 years ago
Bring Model up to date with more convenience methods: findById (find a specific record by its primary key as defined in the child class), findAll (return all records in the table), and findSet (same as find() except always returns an array, whether it contain multiple records, a single record, or no records at all - easier for simple iteration).
Brian Cline
More...
over 15 years ago
Fix a bug in the table metadata caching mechanism; we were caching in Model::_field_types rather than the child version. Since this is an internal mechanism of Model, it is never overridden in the child, which would be necessary to make the prior version work. Instead, we cache in Model::_field_types[_table_name] since the table name will always be overridden and is thus accessible via static::_table_name.
Brian Cline
More...
almost 16 years ago
Forgot to remove the include to the experimental Memcache library.
Brian Cline
More...
almost 16 years ago
Remove all of the very old and very experimental Memcache code. This was all written a long time ago with a very early version of Memcached, before the existence of PHP extensions that do it way better and way more efficiently. Generic caching example class to come...
Brian Cline
More...
almost 16 years ago
Somehow I didn't include an NE operand option in Model::find(). Fixed, and removed (buggy, problematic) restriction on limits being greater than 0.
Brian Cline
More...
almost 16 years ago
Send an HTTP 404 header for controllers or methods that don't exist.
Brian Cline
More...
almost 16 years ago
Forgot to remove another reference to the now obsolete and removed Database::row_to_obj method.
Brian Cline
More...
almost 16 years ago
Now that PHP 5.3 supports late bindings, we can introduce huge savings into the database model class. Through extra static-ness, improved table discovery caching leads to much faster instantiation, memory footprint on each instantiated subclassed model object is reduced, print_r's are much easier on the eyes, and the kludgy child find() method override is no longer necessary.
Brian Cline
More...
almost 16 years ago
Remove obsolete Database::row_to_obj and modify Database::query_object to use mysql_fetch_object function.
Brian Cline
More...
almost 16 years ago
Cache table metadata used in Model table discovery so we don't issue a database query every time a Model object is instantiated. Increases page loading time by over 75% in modest cases.
Brian Cline
More...
almost 16 years ago
Add includes for all this new stuff.
Brian Cline
More...
almost 16 years ago
Add sample User model class to illustrate find() functionality.
Brian Cline
More...
almost 16 years ago
Updated Model::find to allow other operands in criteria fields, operands in sort fields (desc/asc), and arguments that specify the LIMIT start and end counts.
Brian Cline
More...
almost 16 years ago
Allow POST variable name containing JSON requests to be overridden in getJsonPostRequest, just as it can be in sendJsonRequest.
Brian Cline
More...
almost 16 years ago
Add Array utility library, currently containing only two methods.
Brian Cline
More...
almost 16 years ago
←
1
2
→
This site uses cookies to give you the best possible experience. By using the site, you consent to our use of cookies. For more information, please see our
Privacy Policy
Agree