Wednesday 22 March 2017

I just don't know how to structure my project. There are so many ways to do things.

It's difficult for me to understand how exactly should I structure my project. Should I have a separate project that runs the client side and another project that runs the server separately ? Or should I just render the the front end with a simple view engine.If I do one thing or the other it won't matter because I always feel like that there is a better way.I know at the end of the day I can do my project however I want, but I want to follow the best practices. But following those best practices seems hard as everyone does it differently.Currently I have two separate projects that runs the server and the client.http://ift.tt/2mqL9mv is this good ? How do I know ? I want to be right now and not wrong a month in to the project and restructure the whole thing.I try to look for 'examples' to follow and I see big projects like Pokemon Showdown, they have it separated too.http://ift.tt/2mSb5Dp also tried to follow another example (an excellent one may I add) but hey, this project is setup differently too.http://ift.tt/2mqDILO is it alright to simply have a view engine like I did for this projecthttps://github.com/HappyZombies/4chan-nodejsI know I am dwelling into more things than just NodeJS, but I just don't know how a project should be structured for it to be 'right'. There are so many ways to do things, and I feel like none of them are...right. Maybe I am just not understanding the big picture.

Submitted March 22, 2017 at 12:07AM by HappyZombies

No comments:

Post a Comment