Open ugintl opened 2 years ago
Hi @ugintl Personally I would use titan starter
I explored the idea to have all the 'package code' hidden in the vendor under titan and then you can run a command to copy it to your project files if you wish to customize something (add a field to a table, etc)
It worked great but the maintenance outweighed the benefit in my opinion (my use cases) so I then setup a fresh copy of it on titan starter.
Now I just download that and delete the files I do not need anymore.
I must admit - it is a bit confusing atm as I stopped using it for the last year - (but one of my close friends still use it for her day to day work)
However I did start a personal project recently using the titan-starter-website and then I just manually deleted the components I do not need anymore.
Honestly it is in my list to clean it up this year, but you know how it goes :)
Please feel free to shout if you have any questions or issues. Thanks
@bpocallaghan Thanks. I understand. Interesting. If I want to delete a component or add a new component, How I will do it? Please give an example. This is going to be exciting.
Hi @ugintl
Mmm, Lets assume you want to add a car
resource. I am ignoring the relationships, etc - just a quick overview. Please shout if you need me to go into more detail.
You want to generate the migration
, model
, controller
, views
and then update the routes file. Once you did that - you can add the navigation in the navigations
table - You can use this command https://github.com/bpocallaghan/generators#resource
The same goes for when deleting something - its the migration
, model
, controller
, views
and then update the routes file.
I think the easiest might be to follow the banners
resource and then maybe the articles
. It should give you a good insight on how it all works.
Please shout if you get stuck. Thanks
What are the main differences between this starter and titan starter?