Dimitrios Meggidis
8b6d8214e774ddd9fd746ac391ecaa0d?d=retro
Ranked 91 in Phase 1 with 42 unique views, 5 counted upvotes and 13 counted downvotes

Thoughts on w̶e̶b̶ application development

“How you build your application, it is not the tools you use.”

This quote is result of discussions with other developers. Every time the “how you build your application?” question drops, I get answers like “we use x framework”, “y database” in some rare cases “we do tdd” is between the answers. I will stand in the framework as it is considered to be main library to build your application. And since MVC is the monopoly out there lets rethink about it for a minute, shall we?!

Model

There is a misconception that Active Record is the Model, that's bad. Using an active record as you model, dominate the shape of your code. Now the persistence logic is all over your application code.

Controller

Controller here is to define the context. Based of context he uses the appropriate models. Its use case, a scenario. Its not Create Read Update Delete.

View

A representation of your application models in variety of states during their lifecircle. A view of your application should not contain html. Html is used by browser to render a web page. Your models data may appear on that page but they are not the page.


Previous Next

Suggestions

  • The proposal author responded 8 months ago

    I not convinced (anymore I should say) that Model-View-Controller is the best answer to “How you build your application?”.

    Exactly, worst case what actually I am facing is hearing programming languages, framework names, even worst versions. Mvc is a way to build an application, I am not currently in the position to comment (soon to come) but I can use it as an example.

    I figure it's more important to actually manage the how, rather than the partitioning into the parts that MVC provides.

    MVC here is just by accident ("Architecture the lost years" by Robert Martin), but I will play its game to get my point out.

    Thinking about how Use Cases, stories and 'guiding principles' (like the single responsibility or open/closed principles) might be more helpful to come up with good ways to build an application.

    There is big room to talk about good ways and would love this conversation. I want to get developers out of the main "following the tutorial" mentality when they build applications by spoiling them.

    That said: I may well be wrong. :-

    There is no such thing as a silver bullet. :)

    @Stephan, Thanks you for writing/reading the above.

  • D87dddeb300217e6c6574f5ffae220be?d=retro Nikos Dimitrakopoulos suggested 8 months ago

    @author: what do you mean there is no "edit" button? On the proposal itself? Can you please contact me directly (nikosd at euruko2013 dot org)?

  • The proposal author responded 8 months ago

    bad there is no preview and no edit button around :(

  • Profile_image?user_id=16393781&size=bigger Stephan suggested 8 months ago

    I not convinced (anymore I should say) that Model-View-Controller is the best answer to “How you build your application?”.

    I figure it's more important to actually manage the how, rather than the partitioning into the parts that MVC provides. Thinking about how Use Cases, stories and 'guiding principles' (like the single responsibility or open/closed principles) might be more helpful to come up with good ways to build an application.

    That said: I may well be wrong. :-)

  • D87dddeb300217e6c6574f5ffae220be?d=retro Nikos Dimitrakopoulos suggested 8 months ago

    Feel free to include more information inside the proposal text if you want. I like the topic so, some more information inline would help everyone I guess!

    P.S.: As for your identity it will be revealed in less than one week anyway ;)

  • The proposal author responded 8 months ago

    @Nikos Dimitrakopoulos Removed the link as requested. Does it look fine now?

  • D87dddeb300217e6c6574f5ffae220be?d=retro Nikos Dimitrakopoulos suggested 8 months ago

    Can you please remove the link and update the proposal text without including personal information?