Beta of New Full-Stack PHP 7 Framework is Out
I just released the latest beta of Opulence. If you aren't familiar with Opulence, it's a new full-stack PHP 7 framework that aims to compete with established frameworks like Laravel and Symfony. A huge advantage to using Opulence is that it's hyper-focused on loose coupling between its libraries so that your domain logic isn't mixed with framework logic. Loose coupling also makes it easier to use individual libraries outside of the framework without having to also download half of the framework due to dependencies. In fact, this latest beta was all about reducing some remaining coupling. The Bootstrapper library (similar to Laravel's service providers) has been rolled into the IoC library, and all of its dependencies have been dropped. Now, you can easily use Opulence's powerful IoC container as well as its bootstrappers in any PHP application, regardless of your framework choice.
If you haven't tried Opulence out, you can install it using composer create-project opulence/project --prefer-dist --stability=dev. If you were already using it and want to upgrade, run composer update, and then follow the upgrade guide. There are some breaking changes, so please review the upgrade guide before using it.
I am nearing the first release candidate for Opulence, and once I do, these breaking changes will be reserved for major releases.
Posted Aug 30, 2016, 4:57 AM UTC
always nice to hear about new stuff, but please stop using the word powerful :)
also, why another orm, why another template engine.
it's only a matter of time for something to come up that can compete against the major ones that are out there right now, but it really feels like a waste that people are still trying to reinvent basic things that don't need reinventing from the ground up, at this point atleast.. thousands years back wheels were round, they still are. but at the same time this is a bit of a paradox, i know it's a good thing that we contest each others ideas and conventions and at some point in time we are going to use a better twig, and a better doctrine/propel/whatever, but you really need to back it up with very strong arguments at this time, and not words like hey, its 'powerful'.. after all, you're not improving on existing technology, you're doing it different
not only that, it actually pushes me away from using your framework, cause i don't want to throw away all that twig and doctrine experience and start over again.
look at laravel, very opinionated(cough) but still, it skyrocketed because it offered an entry level to basically everything webdevelopment
Thanks for the powerful reply :-) I feel like Opulence straddles a nice middle ground between Laravel and Symfony - it's simple syntax (like Laravel, but unlike Symfony's IMO entetprise-y syntax) and it is more a collection of libraries than a quasi-monolithic framework (Laravel). Opulence didn't simply reinvent stuff or do it in a different way. I urge you to browse the source code or the docs to understand what I mean. I think having an easily digestible, loosely coupled framework today is worth more than what you're giving credit for. Part of why I wrote Opulence is because of frustration I've experienced trying to incorporate other frameworks cool libraries into already-existing code bases. I'm catering to the audience that craves well-architected code without having to necessarily tie its entire code base to the flavor of the week framework. Is that a smaller audience? Sure, but I sympathize with those people, and that's why I wrote this.
Regardless, I really do appreciate your honest assessment.
good answer, tons of stuff frustrates me too, but i don't think you're targeting that audience(me) right now. this post right here, the reasoning behind it, and your answers to those frustrations is what would target me. you should write posts about it, or even on the front page of your framework maybe.. its easy for the author to see it's potential, but i'm a bit in the dark right now unless i violently go through the source ;)
You're right. I need to get the ball rolling on screencast tutorials and blog posts. I haven't evangelized much because I only announced Opulence a couple months ago. Once it's in the release candidate stage, I plan on doing a lot more to market it towards my target audience.
I like that this has its own DM ORM as an alternative to Doctrine. I find Doctrine to be clunky and cumbersome with really scatterbrained documentation. A DM ORM as simple and concisely documented as Eloquent is sorely lacking in PHP IMO.
That said, the API for doing routing in Opulence? Hoo boy. That is some next level Java right there. :(
The facade pattern exists for a reason.
Some alternatives: