Comments (2)
Models that you want cached could have alternative implementations of ::find and
friends that do caching. For manually defined Models, they could inherit from
a new
subclass of Model that has overridden methods. Might be valuable to allow
ModelCommonCode to be specified, or build up the final inheritance graph of
Model at
runtime (note that the last line of the dbmodels/3/Model.php) using eval or
some kind
of introspection (is runkit stable, does anyone really use it, does it make a
difference if that is used rather than eval?) .
Original comment by [email protected]
on 27 Aug 2008 at 6:25
from vanilla-mvc.
Hmm alright.
Also, for the implementation should we use a DIY class that uses sockets to
talk to
the memcached server(s), use the official PECL extension
[http://pecl.php.net/package/memcache], or use this
http://phpca.cytherianage.net/memcached/.
We used the latter at my previous job without any modifications and it did the
job
without any problems. The only downside to this one, however, is that it hasn't
been
updated since 2003.
Personally, I'm leaning towards packing in the client from cytherimage just
because
I'd rather not have vanilla start to have dependencies on PECL packages.
Original comment by lorderunion
on 27 Aug 2008 at 2:01
from vanilla-mvc.
Related Issues (20)
- support table prefixing without having to prefix all the model names also HOT 1
- Support for doing OR queries with find() and find_first() HOT 2
- Model implementations only work with a single database
- standardize the results of table_info and column_info
- hidden form elements don't support attributes HOT 1
- implement bind_result functionality in DBI.php HOT 3
- $model->save of existing rows behaves unexpectedly HOT 1
- save_insert behaves unexpectedly HOT 3
- double urldecode in lib::parse_request HOT 1
- SQL variables cannot be similar due to use of str_replace() in DBIstatement::execute() HOT 1
- checking source out to vanilla-mvc/ causes configure.sh to fail HOT 1
- support mysqli family of functions in dbi
- Table Lacking Primary Key are cached incorrectly
- add generic PDO support to dbi
- Missing argument issue with configure.sh HOT 1
- SQL profiling in the debug log HOT 3
- SQL Condition "notequal" HOT 2
- Implementation of phpdoc comments on methods
- Support for multiple primary keys. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vanilla-mvc.