Hi Guys,
Just to let you know that I've started to hack up a new version of
Timesheet NG. Just rought hackings so far, with zero functionality, but
hopefully it is enough to show you my thoughts on this.
Please find attached a tar.gz file of my hackings (not on SVN yet as
might all be scrapped!)
I'm trying to focus on 2 things with this effort:
1. cleanly structured MVC approach
2. whilst allowing the creation of additional modules to add functionality
I've tried to combine the two thoughts by making everything into a
module (even the core functionality such as database connection etc) and
then having all additional functionality as modules. Each of these
modules is then, in turn, broken down into the MVC approach.
The initial modules I can imagine we'll have are: calendar, weekly,
daily, clients, projects, tasks, users, account (for user's personal
account management), reports; etc. Project/user rates will be handled by
the project and user modues respectively.
As you can probably see, I've been hacking apart the Kohana PHP
framework to allow it to fit this structure - not sure how successful
yet, but it's been quite fun (in a sunday night coding with beer sort of
a way)
the only functionality that really works at the moment is the URL to
module/controller functionality, internationalisation, config
keys/values and the mysql database connection.
to test, install on your machine, and if you go to the root directory in
your browser you should see a bunch of stuff, but there should be on
there somewhere:
"calendar index"
you can then go to <host>/calendar/ in your browser and you should see
the same page, where as <host>/calendar/add/ should have "add method" as
the text.
That's it so far.
Please let me know what you think
Cheers all, and have a good week
Rob
|