You only speak about JavaScript libraries. What you found awesome in Yii is theirs helpers to use some javascript libraries. You can do the same with Laravel very easily and you have a lot of really useful PHP package inside.
Laravel Future Vision with Lumen arrival! Will Taylor make the hard decision?
Hello, I have some requests and questions that I will be grateful if @TaylorOtwell @JeffreyWay and other Laravel maintainers give me the answers,
My questions is about Laravel future but that will be after the introduction:
Guys, I love Laravel and there a little voice inside my heart tell me that I should use Laravel!
However…
I am a beginner developer, so I am forced to prefer easy technologies when it's available. I used Yii2 framework recently to develop a website and I shocked with the result! I was able to develop a very good website with little time by utilizing Gii Web base code scaffolding tool that Yii2 provide out of the box! http://www.yiiframework.com/doc-2.0/guide-start-gii.html
and Yii2 built-in Datagrid widget that's have a nice bootstrap look with paging and Ajax refresh and filtering ability with a wide range of configurations! Take a look at Yii2 datagrid here: http://www.bsourcecode.com/yiiframework2/gridview-in-yiiframework-2-0/ http://www.yiiframework.com/doc-2.0/guide-output-data-widgets.html#gridview
And even more! I use the mind blow krajee extensions which include wonderful DataGrid extension that have many many abilities and options! Like Editable column allows you to make the grid content directly editable by clicking it and have the option to do inline edit or popover edit, Expandable Row Column allows to expand grid rows, show details, or load content via Ajax and Ajax filtering. Take a look at krajee DataGrid at: http://demos.krajee.com/grid-demo
That's more than needed for a beginner! End of the introduction.
I know that Laravel have more power, abilities and nicer syntax than Yii2 framework, but I feel sad that If I use Laravel to build the same project that I do with Yii2, it's will be harder to me and it will take a lot more time to achieve the same level of functionality because it will required from me to make all the widgets that is included in Yii2 out of the box and even if I try to make them, I will not make them at the same level of power and functionality because the lake of my experience.
Therefore, my question is: With the arrival Lumen (the light version of Laravel), Will @TaylorOtwell make the hard decision?!
I guess that @TaylorOtwell now have the ability to do the separation and make everyone happy by adopt this vision: Lumen will be the light version for applications focused on speed will less features but the standard Laravel will be the large version for applications that need more power and features. So, the standard Laravel may have built-in features like:
- Widgets like DataGrids, DetailView, ListView
- Web base scaffolding for models and CRUDs etc.
- And more.
What you think about this vision?
@Ruffles beat me to probably the best answer. It really is just getting down and trying out a system/framework and either liking it or hating it. If it doesn't talk to you then it just won't and you're better off going with a different system that talks to you.
Can you get Laravel to be feature per feature like Yii? Yes. Example is DataGrid: I know 3 different packages that can give you functionality of DataTables. From there is just adding all those Functions that DataGrid gives to you out of the box. Is it more work? Yes!! But!! What if you don't want all those features of DataGrid? You still have to do something to make it work the way you like it. I actually like what DataGrid gives to you out of the box. Don't forget that Laravel can also take advantage of some packages that were created for Symfony.
Crud generators: Not really any more ... Jeffery Way had a generator package for L4.x but has only ported a small part of that functionality to L5. Laravel does provide some files and Jeffery's L5 version adds a little more. I have looked in the last month ... so maybe something is out that will do the full CRUD again. I just copy paste from my other files these days so I don't miss the CRUD stuff as much.
When I came to laravel. I was working with procedural code, php5.1 and really lots of old school programming mentality. The pain was really bad, but laravel "talked" to me and my skill set has really jumped because I had to really think about what I was doing. I couldn't just copy / paste code from the net or load some extension. Did I say that it really caused me lots of pain? ;-) It was not easy for me. Lot's of people just pick up Laravel and start building things like crazy. Not for me. I had to work for what I can do.
Do I regret stressing out, pulling my hair out, banging my head at the wall, and lots of cussing? Nope! Because laravel has been "priceless" for me. Should I have gone with Ruby or Python? lol ... maybe ;-) I'm not gonna lie about that. But I still love scrappy PHP.
Should you just use laravel? That is up to you. Just like @Ruffles said, test drive laravel, make a simple ToDo list or even better yet, a contact list that expands off the base User model. But don't use it if you can get a job done faster in Yii or some other framework. Use laravel because you enjoy using it. Don't use it because a bunch of guys on the interwebs think it's the greatest thing.
Here is a pretty much functional backend that I'm working on. https://github.com/illuminate3/rakko It provides a base framework with modules, admin, authentification/authorization, socialite, a few base modules and I use a package by yajra that does DataGrid for you. I try to pick packages that are active and whose developers are nice and helpful. It's not the greatest code, but it's code that I'm having lots of fun to develop -- which to me is all the difference.
Please or to participate in this conversation.