Wednesday, March 12, 2014

Re: Is Cake Dead Or Just Catching Up?

Great to know all that. Just a minor clarification drappers is in implementation of the Decorator pattern while View::Composer in Laravel is an implementation of ViewModel pattern. Subtle differences between the two. Having decorators for models would be awesome too

It would not be fair to compare a final version with a developer preview version :)

Tarique


On Wed, Mar 12, 2014 at 4:13 PM, José Lorenzo <jose.zap@gmail.com> wrote:
Thanks for the overview, I can respond to some of those "missing features"

- App in the router: Not going to happen, we have a strong opinion on how the framework should help you structure your apps. With that said, he have planned a better middleware layer, that is, smaller classes or functions that can respond or modify a request without having a controller.
- ViewModel: Although that is badly named in laravel (like Facades) I also thing it is a cool feature to borrow from rails (called drappers) and it is in my personal plans to add it along with the concept of a partial from rails.
- Verb prefixing: Probably not going to happen, I do have planned having separate action classes. An action class will need to implement all the http verbs it is interested in. Each time I had such spaghetti I realized that all that code needed to be in a separate class.
- Migrations: We need big help with this, we have not started with this part of the framework yet
- Message queues: There are enough plugins available out there, we will most probably endorse one and encourage its use.
- Validation as a service: Already done!

I'm glad to have you back! Is there anything in cake 3 that makes you thing he are ahead?


On Wednesday, March 12, 2014 11:31:24 AM UTC+1, Dr. Tarique Sani wrote:
Actually it is almost apples to oranges. The philosophy of CakePHP has been to be a full stack, highly opinionated framework, I very much prefer this. This is in stark contrast with Laravel where you can do the complete app in the Router. This is great for developing concepts but encourages bad practices. Also there is a lot of confusion in Laravel land as to what goes where and everyone and their brother have their own perfect App folder setup.   

The coolest thing which I miss is the ViewModel pattern which Laravel does via View::composer, in cake the best I can do is create a helper and use it as ViewModel - I used this a lot to create widgets in my applications

Another thing which I liked was http verb prefixing to controller actions, so for example getAdd and postAdd are separate methods called on appropriate http methods avoiding the "if ($this->request->is('post'))" spaghetti in controllers. 

Strong focus on using migrations for database/table creations.

Built in messaging queue system with multiple backends - though they do not have gearman by default

Validation as a service

There are several such things which made me go - Oh! they have this, Nice... 

That said - here I am back with CakePHP because I just never felt at home out there :)

Tarique



On Wed, Mar 12, 2014 at 3:27 PM, José Lorenzo <jose...@gmail.com> wrote:
Tarique, as a former Laravel user what do you think can CakePHP 3 to improve and appeal those users that think laravel is better?


On Tuesday, March 11, 2014 10:24:44 AM UTC+1, Dr. Tarique Sani wrote:

> But I seem to notice less and less so I was only wondering if people are jumping ship and moving on to other frameworks.


Then this would be a wrong place to ask ;-) 


Tarique



On Tue, Mar 11, 2014 at 1:21 PM, Advantage+ <movep...@gmail.com> wrote:

In no way am I putting Cake down, I love Cake and use it for almost every project. I love it!

I just see lack of fan fare as you can call it over the years. I see familiar names always answering questions for users. That’s great!

 

But I seem to notice less and less so I was only wondering if people are jumping ship and moving on to other frameworks.

 

That’s all.

 

From: cake...@googlegroups.com [mailto:cake...@googlegroups.com] On Behalf Of Thomas von Hassel


Sent: Tuesday, March 11, 2014 4:46 AM
To: cake...@googlegroups.com

Subject: Re: Is Cake Dead Or Just Catching Up?

 

If you switch frameworks every 6 months you are doing it wrong.

 

So far CakePHP does what i need it to do, and i see no reason to shop around. Also, with the things coming in 3.0 I’m very optimistic about the direction the dev. team is taking.

 

In regards to traffic on the list/google group, i suspect a lot of newbies end up on Stack Overflow, and not here.

 

/thomas

 

 

On 11 Mar 2014, at 06:13, Advantage+ <movep...@gmail.com> wrote:



Looking at these stats is Cake dead?

 

 

Can it keep up or catch up?

 

Over the years I would see 50 Cake messages a day, now it's lucky if you see 2 topics with 1 response in the daily abridged update.

Very few questions hit the inbox, less and less ever day…..

 

Don’t get me wrong I love Cake but is heading out to the pasture to call it a day?

Seems no longer a popular framework as others pop up.

 

Others are much faster, and have everything Cake has to offer and more.

 

Everyone has an opinion, let's see if anyone replies or too busy with other frameworks J

 

 

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

 

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+u...@googlegroups.com.
To post to this group, send email to cake...@googlegroups.com.

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+u...@googlegroups.com.
To post to this group, send email to cake...@googlegroups.com.

Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.



--
=============================================================
The Conference Schedule Creator : http://shdlr.com

PHP for E-Biz : http://sanisoft.com
=============================================================

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+u...@googlegroups.com.
To post to this group, send email to cake...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.



--
=============================================================
The Conference Schedule Creator : http://shdlr.com

PHP for E-Biz : http://sanisoft.com
=============================================================

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.



--
=============================================================
The Conference Schedule Creator : http://shdlr.com

PHP for E-Biz : http://sanisoft.com
=============================================================

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

No comments: