Merb, and most of the MVC frameworks -can't- be as simple as PHP is in
that regard, because they have opinions about things like MVC.  Rails
and Merb are both structured frameworks, so being able to kick around
and write code that isn't connect to anything is a bit contradictory
to the whole notion of structure.

Getting up and going w/ no fuss is a definitely important, and being
able to do that without having to grok the whole code base (initially)
should be a target, but the point of having structure is so that you
don't screw yourself later.  It's about self-discipline (actually most
good programming is).  Merb isn't php, and shouldn't pretend to be,
IMO.

Besides, if you really want to take a static html file, slap some erb
statements in it, the only additional steps you need to take is create
a controller action (and the controller if you want), and go hit the
url for that action.  So that's like 1 extra step if you know where to
look right?

Also, PHP i'd argue is most closely descended from Perl.

-knowtheory

On Sun, Nov 16, 2008 at 7:20 AM, weepy <[EMAIL PROTECTED]> wrote:
>
> While I mostly agree with you, I was less talking about PHP as a
> language, but more the framework around which it is used.
>
> Consider the approach:
>
> 1) Take a standard HTML page
> 2) Modify it to include some simple PHP (e.g. <%= $myvar %>)
> 3) Rename the file to .php
> 4) Upload page.
>
> That's about as low a barrier to entry for a non-programmer as I can
> think of.
>
> weepy
>
>
>
>
> On 16 Nov, 10:54, Julian Leviston <[EMAIL PROTECTED]> wrote:
>> IMHO basic PHP is very hard to understand, not easy.
>>
>> Then again, I'm biased... because I think most programming is hard to
>> understand, and awfully suckful. Unfortunately, it's all we have at
>> the moment.
>>
>> PHP is easy to understand if you've done some C, which isn't terribly
>> easy to understand if you've done NO programming.
>>
>> Ruby is easy to understand if you've done some smalltalk.
>>
>> IMHO, smalltalk (and Objective C, and also Ruby) is easier to
>> understand than C in terms of powerful code that actually does
>> something.
>>
>> IMHO, Ruby and Smalltalk are FAR easier to understand as first
>> languages.
>>
>> The easiest way to prototype things is modification of template code
>> in-place, or generators (they're somewhat equivalent), in my opinion.
>>
>> Just my two cents worth.
>>
>> Julian.
>>
>> On 16/11/2008, at 9:48 PM, weepy wrote:
>>
>>
>>
>> > I was reading about your future plans for Merb 1.x
>>
>> > In particular I was interested about the idea of rapid/easy
>> > prototyping and what ideas you had there.
>>
>> > Ideas that spring to my mind:
>>
>> > * similarities between very-flat and Sinatra/Camping
>> > * basic PHP is very easy to understand and deploy.
>> > * similarities between ERB and PHP.
>>
>> > Interested to see what else you have in mind !
>>
>> > weepy
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to