Thinking About Using Laravel?

Why you might want to think again...

Posted 5 months ago by Tom Maiaroto.

Right off the bat - I believe using any framework is better than not using one at all when developing web applications. However, that doesn't mean you can do no wrong if you're not careful. I've worked with (and contributed to) many frameworks and open-source PHP projects over the years. I've given up on the "performance" concern that everyone else seems to be obsessed with. That does not define how "good" a framework is. Of course there can be bottlenecks that can be problematic, but may not necessarily be problematic for the project at... Read More

PHP 5 Framework Comparisons: Bootstrap

Taking a look at the bootstrap process

Posted 8 months ago by Tom Maiaroto.

So when I first picked up the Lithium framework for PHP, there weren't a lot of options out there. I mean Lithium really started jamming on the new features of PHP 5.3+ almost as soon as they were available. I think Symfony2 was quick to come on the scene as well, but now...There's a bunch. I see a lot more buzz around these modern PHP frameworks (as I like to call them, and what I mean by that is any framework using namespaces, new PHP 5.3+ features, maybe it's closures, etc.). So I think it's a good time to start evaluating the... Read More

Auto Update Your Lithium Apps From GitHub

Just a simple route!

Posted 2 years ago by Tom Maiaroto.

So I wanted to quickly share this tip. It's too long for a Twitter status update, but it's short. I'm sure most of you are well aware of GitHub's service hooks, yes? Well, the most basic one is the WebHook. This basically makes an HTTP request to the URL(s) you provide. In Lithium, you can create a simple route to run a git pull and update command. You'll want to obfuscate the route so no one can, easily, access it. I don't deem it a security threat (I also typically only do this for dev sites just to avoid oopsies when pushing to the... Read More

Using MongoDB Replica Sets With the Lithium Framework

It's pretty flexible now with the latest PHP driver once you figure out the changes.

Posted 2 years ago by Tom Maiaroto.

So I noticed on a recent job that my secondary database wasn't being used by my code. I was confused because in the past it always did. Though it was with the "slaveOk" setting and I know that things changed since then in the PHP driver but I thought Lithium automatically send reads to the secondary (if configured in the connection). It does not. However, you still need to make sure you pass all servers you wish to connect to in the connection configuration. Don't forget you can pass host names and the port number is optional in this... Read More

Update to Lithium Bootstrap

Posted 2 years ago by Tom Maiaroto.

I've made some updates to li3_bootstrap. Some important ones. First off, I've replaced TinyMCE with CKEditor and plan to add file/image upload support in there soon. This will be on li3b_core so any other library can hook into it. Of course this is biased and will use MongoDB. Some work will need to be done to get it to work with MySQL...Namely, disabling the feature and re-building it to work by uploading to disk. I'm making a lot of hard decisions on the direction here and will not support MySQL personally. That's not to say you... Read More

Search for Posts

Popular Labels

social media virality score general internet web development reviews and opinions php web tools hosting lithium web design