Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

MVC question about life itself as a hole.

Name: Anonymous 2014-05-03 4:36

What should go where?

I have the following classes: logger, database connection, template engine, request and response in my FastCGI app software. Since sending everything to the controller and models is considered a bad practice, the same way as sending the application object itself, I decided to create a context class which holds everything related to the actual request being processed.

What should go in the context class and in the main class? Request and response are obviously in the context class, since they are request-only, but what about the rest?

Sorry to bother /prague/ with my ENTERPRISE MVC SOLUTIONS. I'm also using no framework.

Name: Anonymous 2014-05-03 7:14

>>1
I don't like MVC. Therefore I don't know anything about it. Isn't that some UI design crap?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List