ptejada / f3-hmvc

13 stars 7 forks source link

How is this going #3

Closed kbariotis closed 10 years ago

kbariotis commented 11 years ago

Hey @ptejada,

i left this repo for a while, but i tried to put it on production, scaling up a little bit and i came through some obstacles. What you say, shall we continue to work on it? Maybe talk about #2?

ptejada commented 11 years ago

Sure we could back to #2, those last suggestions can actually be durable.

Can you elaborate in the issues you are having? On Aug 29, 2013 4:49 PM, "Konstantinos Bariotis" notifications@github.com wrote:

Hey @ptejada https://github.com/ptejada,

i left this repo for a while, but i tried to put it on production, scaling up a little bit and i came through some obstacles. What you say, shall we continue to work on it? Maybe talk about #2https://github.com/ptejada/f3-hmvc/issues/2 ?

— Reply to this email directly or view it on GitHubhttps://github.com/ptejada/f3-hmvc/issues/3 .

kbariotis commented 11 years ago

Well, yeah,

i tried to create more controllers & views per module. But then i stack in a routes file's nightmare. The current dynamic route rule wasn't able to serve all the different controllers per module. So i would say to first define what the purpose is and what we want to achieve and then proceed.

As i said on #2, i would like to be able to have each module server different thinks. E.g. one module that serves the API, one that serves the front end and one that serves the Admin panel. I thought that for this to work each module requires it's own route's file and then combine each of these file into one somehow. Then in index.php we can just say enable this or that and bam.. ready to go. This would also make scaling up a little bit easier.

What are your thoughts?

ptejada commented 11 years ago

I'm working on making the structure mentioned on #2 functional right now, i'll comment back when i push the changes.

ptejada commented 11 years ago

Just pushed a few updates, please refer to the updated README file.

kbariotis commented 11 years ago

it's awesome man. it's very interesting. i ll put it on production asap. :) i am thinking of writing a blog post too. I am counting on other's feedback. Well done!