1
0 Comments

Coding projects get messy.

So I build the framework which is not a framework because I want people to have the freedom to organise their projects the way they want and in a structure that makes sense. Lo and behold on a project that I am working on I am now finding I can't find things easily. The issue lies in the grouping and organising of the functionality.

Best practice argues for separation of concern, but too much separation causes headaches in maintenance and finding things. It's great for while you're fresh with the project and everyone knows where everything is, but come back a couple of months later to 1000s of lines of code and you need to start remembering where you put things (And this is with a logical structure!!!).

In conclusion I woke up this morning and added some more features to Tina4 which will allow the mess to be more manageable. Hopefully I can save some other people from losing their minds when they need to find code. I also need to keep track of what features we have and so here is a short list of the most important ones and why:

  • Twig Templates - mature, caches well, fast, extensible
  • Simple ORM - why do you need 10000 lines of code to talk to a database?
  • Annotated Tests - write your tests while you write the code, why wait for later or have the headaches of creating another application just for testing
  • CRUD - Yeah, no developer likes to build simple code to add stuff to a database, Tina4 actually does this for you if you ask it nicely
  • Migrations - A big thing of keeping sanity especially when you work with a database is changes, Tina4 helps you handle those with no third party additions
    *Small - Tina4 is small and light weight which means it must have really good code in it to do so much with so little ;)

Happy coding everyone

, Founder of Icon for Tina4
Tina4
on February 15, 2021