Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What are the main differences between this and titan #64

Open
ugintl opened this issue Feb 11, 2022 · 3 comments
Open

What are the main differences between this and titan #64

ugintl opened this issue Feb 11, 2022 · 3 comments

Comments

@ugintl
Copy link

ugintl commented Feb 11, 2022

What are the main differences between this starter and titan starter?

@bpocallaghan
Copy link
Owner

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

@ugintl
Copy link
Author

ugintl commented Feb 12, 2022

@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.

@bpocallaghan
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants