サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
ブラックフライデー
josediazgonzalez.com
A friend of mine asked for a custom website, so here I am, writing a custom cms. I know, there are plenty of systems out there that would handle his needs, but it’s also a good excuse to play around with CakePHP 3, so here we are. For the lazy, the codebase we’ll be working on will be available on GitHub. I will be pushing each set of changes on the date when each blog post in this series is publi
I’ve been working for years on upload plugins. CakePHP 1.2 users might remember MeioUpload - such a good plugin, it did all the things. Which ended up being a bad move for maintainability. Something I took to heart when I worked on other alternatives, and when I finally wrote my CakePHP Upload plugin. Until recently however, it supported only 2.x, and in this post-3.0 world, this just wouldn’t cut
There is an interesting ticket in 3.x describing View Cells. Lets dive right in and figure out what they mean for CakePHP applications. What is a view cell? View cells are like mini templates that are assigned to variables. A good use case for them would be to decorate entities of data. For example, consider the following example: <?php class PostCell extends ViewCell { public $view = 'single_post
People always complain about CakePHP being slow, so what if we just removed a few layers from the CakePHP MVC? The smallest CakePHP application - that is maintainable - would be introduced in the bootstrap.php file. It would be a Dispatch Filter: <?php App::uses('DispatcherFilter', 'Routing'); class ModelFilter extends DispatcherFilter { public function beforeDispatch(CakeEvent $event) { $event->d
For those looking for the original, Symfony post, please read Fabian's excellent post here. I still would choose CakePHP, but Symfony might jive with you :) When I started working with CakePHP - I knew very little about practical development (my coworkers might say I still know very little :P). I went about choosing my framework on the following criteria: How fast I could go through the tutorial Q
I’m just going to list a few plugins I use and abuse on a daily basis, as well as things I’ve discovered but haven’t found a use for but seem to be cool. YMMV, but things should mostly work in CakePHP 1.3 unless my description says otherwise. Any plugin advertised to work in 2.0 should also work in 2.1 just fine. Authentication and Authorization: Debuggable’s Authsome: 1.3 1.2 A no-nonsense replac
このページを最初にブックマークしてみませんか?
『Jose Diaz-Gonzalez』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く