http://www.perlmonks.org?node_id=879910


in reply to Re: Create new [pmdev]-only section "Pmdev Discussion"
in thread Create new [pmdev]-only section "Pmdev Discussion"

Smells like 'subreddits'.

Seriously, I have no idea how the core of E2 works, but sometimes you bump up against a schema and other times you bump up against a codebase/model.

Apologies for not having gone and examined the E2 code personally, but where do the constraints arise in this case?

Cheers,
Matt

  • Comment on Re^2: Create new [pmdev]-only section "Pmdev Discussion"

Replies are listed 'Best First'.
Re^3: Create new [pmdev]-only section "Pmdev Discussion"
by jdporter (Paladin) on Jan 04, 2011 at 16:40 UTC
    E2

    This is probably a minor quibble, but in the interest of precision, I'll point out that e2 is a web site, like PerlMonks; both are built on the Everything engine, albeit on different versions (0.7 and 0.8, respectively, I believe, based on what chromatic says here. Even the "latest" version of the engine is only at 1.0.)

Re^3: Create new [pmdev]-only section "Pmdev Discussion"
by jdporter (Paladin) on Dec 31, 2010 at 16:50 UTC
    Smells like 'subreddits'.

    Sorry, I'm not getting the allusion.

    sometimes you bump up against a schema and other times you bump up against a codebase/model

    I might be missing your point, but I think that in the case of Everything/PerlMonks, there is no useful distinction to be made between the schema and the codebase/model. Everything lives in the database (nearly).

    Apologies for not having gone and examined the E2 code personally

    Well, imho, a pmdevil should probably start by reading the various bits of documentation we've built up, first. It can be pretty hard to deduce the architecture by looking at tiny fragments of code. (On the other hand, just trying to can be quite edifying.)

    What is the sound of Windows? Is it not the sound of a wall upon which people have smashed their heads... all the way through?
      subreddits as in reddit.com -- pretty much any user can create a 'sub' reddit and become a 'moderator' (and/or invite others, depending on how that subreddit is set up).

      I'm not promoting the site, though I do hang out there from time to time. It's a useful example.

      I don't have a particular beef beyond noting that in some interfaces, the V shows a bit of the M, which makes one wonder about the C.

      Also, anyone that insists on a strict MVC pattern should be walked from the plank of V so that they make their peace with the C. (I don't particularly care if the goal is MVC or not).

      Cheers,
      Matt

        subreddits

        Ah, I see. Well, the intent of this proposal isn't to let just anybody create a new forum at any time, but to let the gods (or perhaps other groups in the cabal) to create a new forum easily if and when the need arises — which is expected to be rare. Which is why this proposal is probably little better than dead in the water. :-)

        anyone that insists on a strict MVC pattern ...

        I agree. I generally ignore MVC because, in my experience,(a) it doesn't scale well, or at least is very difficult to scale well, and (b) as a pattern it's useful for developers who are just starting out and can't be expected to get a handle on more complex architectural patterns.

        Of course, PerlMonks was developed without MVC in mind (or at least not much in mind), so it should be little wonder that there is no good separation between the M, V, and C. In my opinion, it doesn't hurt the site. In fact, seeing a bit of the M can help one get an appreciation for why the site works the way it does, and what the constraints are on change.

        What is the sound of Windows? Is it not the sound of a wall upon which people have smashed their heads... all the way through?