Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re^2: Tiny Frameworks

by Anonymous Monk
on Sep 30, 2007 at 08:16 UTC ( #641761=note: print w/replies, xml ) Need Help??

in reply to Re: Tiny Frameworks
in thread Tiny Frameworks

Forgot to mention, click Peter on the menu and chose computer submenu.

Replies are listed 'Best First'.
Re^3: Tiny Frameworks
by Ovid (Cardinal) on Sep 30, 2007 at 12:49 UTC

    In that link, you wrote (other folks might want to read it for context):

    Before I start to talk about framework, I would like to make sure that nobody smell Ovid's class as framework, as if anyone would thought that way. If that is framework, we have all drowned in the sea of frameworks already. Thanks god, not many people are as ignorant as Ovid, and has the guts to call their classes frameworks.

    When you (or someone) wrote that, you forgot one thing: to define a framework. Nowhere in your short rant did you provide something which should have been obvious. You see, I defined a framework. What probably surprises many people is that something that small can be a framework (I knew there would be people who jumped at that bait and I'm afraid you're the fish on my hoook). Many people have this silly notion that frameworks have to be huge. They don't. The sooner you get over this misconception, the better. Do you have this strange notion that a framework must have at least 297,173 lines of code and a core of at least 13 developers?

    A framework is a merely general solution to a complex problem. By creating said solution, you can gain the benefit of a standard, predictable approach to a problem. The problem space I chose to attack was some difficulties with the Perl 5 language and I created a tiny framework whic attempted to address this. Sure, it's going to be startling to be people who are used to assuming that you must have X number of lines of code to call yourself a framework. Of course, there are also lots of programmers out there who think you have to have an IDE to be a professional programmer.

    Or if you want, we can get down to a more specific definition of a software framework:

    A software framework is a reusable design for a software system (or subsystem). This is expressed as a set of abstract classes and the way their instances collaborate for a specific type of software.12 Software frameworks can be object-oriented designs. Although designs don't have to be implemented in an object-oriented language, they usually are. A software framework may include support programs, code libraries, a scripting language, or other software to help develop and glue together the different components of a software project. Various parts of the framework may be exposed through an application programming interface (API).

    Hmm, let's see: I have provided one abstract class (a set with only one member is still a set). An abstract class isn't enough to be a framework, but my code definitely meets the core criteria of a reusable design for a software system. In fact, it's clearly a general solution to a common problem with a standard API exposed. There are other bits (helper scripts and so on) which people often expect in a framework, but they're certainly not required. Wow, my code meets the definition of a framework! Imagine that, Ovid did his homework. Surprising, eh?

    So, if you care to rebut this, please start by providing your definition of a framework. No definition, no rebuttal. Mind you, if you do post a definition, please provide either a source for that definition or why you think your definition is appropriate.


    New address of my CGI Course.

      I am not trying to argue with you, I knew that you would insist. We are all human, and he have your face just like everyone.

      Put in this way, I certainly have never seen a framework like this before, and didn't feel any compassion towards it.

      Remember whether that is framework is not for you to say, obviously you can fight back "it's not for you to say either." If you think that way, fair enough, and I am not try to discourage you or anything, you are an over-average Perl programmer, and I respect that. However at this point, you didn't strike me as someone who is qualified to provide a framework.

      To gain some XP points ;-? this is certainly a fine idea, but not as a framework, not even a tiny framework.

      Again, you can sleep on the question "what's framework?". Again, I tell you, this is a different animal than all the frameworks that I have seen, and it is merely a hack for Perlian superclass, which is not even needed in modern lauguages. This brings us back to another recent post here about CPAN and the Ruby repository, no wonder CPAN is big...

      Oh I remember that you were managing some Perl 6 stuff, don\t know whether you are still doing it. If so, please spend more time and focus on that, since I am not seeing much progress. Cheers.</p

Re^3: Tiny Frameworks
by dreadpiratepeter (Priest) on Sep 30, 2007 at 15:10 UTC
    I followed your links and found a shallow, poorly written rant that fails to provide any refutation of Ovid's ideas. In fact it appears to be more an ad hominem attack against Ovid specifically and Perl programmers in general. Until you can manage to provide any sort of intelligent counter argument, I suggest that you find another place to post. I don't speak for anyone but myself, but I don't appreciate pointless attacks against people who are actively trying to create constructive dialog and new ideas.

    "Worry is like a rocking chair. It gives you something to do, but it doesn't get you anywhere."
      I found a poorly written web site that was incapable of even allowing me to navigate to said rant with the two different browsers I tried.

      I wrote a small rant about this. To find it, google for "web site navigation rant ovid hater". Follow the fourth link. Where to find it from there should be obvious. :)

        you are not smart enough for a AJAX enabled web site, that's all. relax.

      You are right, I didn't reasoning. In this case, it requires a bit sanity, not reasoning. I saved my reasoning for people who deserve, and shout at those who need a bit sanity.

        Once again, attack on the person, not the idea. You still haven't added anything but noise to this thread. Please develop a rational refutation or counter argument, with examples, before you continue to attack his posting
        Try posting as a real user rather than hiding behind anonyminity. The voting system will give you an idea about how people feel about your posts.

        "Worry is like a rocking chair. It gives you something to do, but it doesn't get you anywhere."

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://641761]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (11)
As of 2018-02-21 15:30 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (282 votes). Check out past polls.