Quite handy tool.
Couple little problems with the network because composer has IPv6 support (or the host has, rather) and since I am constantly changing my network to fit my needs, something is sometimes bound to not work, this time it was iPv6 on my virtual guests, which luckily doesn’t have any impact, since none really use IPv6. But radvd was still distributing addresses, but firewall was configured improperly, and did not allow traffic.
But composer itself worked just fine.
And yes, we have a working CakePHP now:
Sort of. But for developers this is a working system.
Nice feature is that it has built-in web server. So no need to hassle with nginx or Apache or lighttpd to get off the ground. Very convenient for hobby developers or back-end developers with little Linux experience. Certainly cuts the time it takes to get going.
OK, I did literally like nothing but created few database tables, ran some commands related to baking cakes, and now I am left with this:
Which is sort of scary, because it used to take few hours to get something like this done, say, 5 or let alone 10 years ago. And I got this while I was doing other things and not really paying any attention.
So so far CakePHP has positively surprised me and I have done nothing yet. The one problem above was from missing mysql extension and once I installed it and restarted the built-in server, it showed beautiful Welcome page.
And I am certain that template can be modified with little effort. Yeah it seems the code is there, and there’s a lot of it. So it really speeds up the development. Also judging from the __ prefix it seems to have translations built in, which is no surprise.
Also provides nice debug kit:
Can be especially good for identifying those bottleneck situations. If the database is slow to respond that should show as long bars at those locations. I wonder if this shows function calls, it might. So if you program and design the internal structures well, then you can immediately see which function has sub-par performance.