Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re^4: Create new [pmdev]-only section "Pmdev Discussion"

by mojotoad (Monsignor)
on Jan 11, 2011 at 08:00 UTC ( #881614=note: print w/replies, xml ) Need Help??

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

subreddits as in -- 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).


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

Replies are listed 'Best First'.
Re^5: Create new [pmdev]-only section "Pmdev Discussion"
by jdporter (Canon) on Jan 11, 2011 at 14:59 UTC

    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?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://881614]
[ambrus]: Corion: well Prima::Object says something like that the cleanup method will send an onDestory message and that you can't get more messages after cleanup, or something.
[Corion]: ambrus: Yeah - I don't think the deep source dive will be necessary if things are implemented as simple as they could be :)) And hopefully I won't need (more) timely object destruction. I can update the screen at 60Hz and hopefully even do HTTP ...
[Corion]: ... transfers in the background. Now that I think about it, this maybe even means that I can run the OpenGL filters on Youtube input :)
[ambrus]: Corion: I mentioned that the unix event loop of Prima always wakes up at least once every 0.2 seconds. Have you found out whether the win32 event loop of Prima does that too?
[Corion]: ambrus: Hmm - I would assume that the onDestroy message is sent from the destructor and doesn't go through the messageloop, but maybe it is sent when a window gets destroyed but all components are still alive...
[ambrus]: Corion: partly deep source dive, partly just conservative coding even if it adds an overhead.
[Corion]: ambrus: Hmm - no, I haven't looked at wakeup intervals ... I wonder why it should want to wakeup periodically because it gets a lot of messages from the Windows message loop (on Windows obviously)
[ambrus]: (Alternately a deep source dive and then rewrite that event loop to make it better, and then as a bonus you get an idle method.)
[ambrus]: The 0.2 seconds wakeup is likely a workaround for some bug, but I can't guess what bug that is.
[ambrus]: It's been there since Prima 1.00 iirc

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2016-12-09 10:29 GMT
Find Nodes?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:

    Results (150 votes). Check out past polls.