Re: [IDEA] HTML next, 6, 7, What ever

Bill,

There is actually already a proposal for this stuff, called Model Driven
Views.  It's originally from 2011, but never seemed to gain much traction
for some reason.  However, the Web Components framework, Polymer, attempts
to rematerialize the tech.

I don't quite like the way this version of MDV does everything, because I
agree with you.  A simple declarative statement like <template
model="/users/Brian.json"> would be a nice, clean option to have.  The
other attributes that Polymer includes are interesting, but probably need
to be altered to mesh better with HTML.

Cheers,
-Brian




On Wed, Jun 11, 2014 at 11:57 AM, William De Luca <
delucaw@frequentflyerservices.com> wrote:

> Hey Steve,
>
> I looked into it (and maybe I missed something) and it looks like it
> involves a JS script or just a script in general. The idea was to get away
> from complicated scripts for something that should be as easy as I
> demonstrated.
>
> -Bill
>
>
> On Wed, Jun 11, 2014 at 2:34 AM, Steve Faulkner <faulkner.steve@gmail.com>
> wrote:
>
>> Hi Bill,
>>
>> have a look at web components: http://webcomponents.org/ there you will
>> find <template> etc
>>
>>
>>
>> --
>>
>> Regards
>>
>> SteveF
>> HTML 5.1 <http://www.w3.org/html/wg/drafts/html/master/>
>>
>>
>> On 10 June 2014 21:46, William De Luca <delucaw@frequentflyerservices.com
>> > wrote:
>>
>>> Hey HTML wizards,
>>>
>>> I had an idea for the next HTML version and I found this address.. Not
>>> sure if it is the right one, but I figured I would give it a try.
>>>
>>> Smart HTML
>>>
>>> There are a lot of simple tasks that PHP and JQuery/Javascript do on a
>>> regular bases, but why? These are such simple things that there is no
>>> reason for a Server OR JS to do them. For instance: The template tag
>>> <template> is used for Javascript to replicate bits of code. Why cant the
>>> browser do that with out JS? its a rather simple request. How about using
>>> like this:
>>>
>>> <head>
>>> <template id='something1'>HTML STUFF HERE<insert/>MORE HTML</template>
>>> </head>
>>>
>>> <body>
>>> <something1>put this in the template</something1>
>>> </body>
>>>
>>> This would take a lot off the backs of PHP and JS. You could also have
>>> multiple inserts and it would just use a delimited list between the tags.
>>> To prevent error it will only insert per insert tag so if you have more
>>> items in your delimited list it will just stop when it reaches the last
>>> insert tag.
>>>
>>> Here is another one INCLUDES! We use php and JS to include bits of code
>>> from other files all the time. Why cant the Browser go out and grab the
>>> additional html code and plop it in?
>>>
>>> Example:
>>>
>>> <include src='menu.html' />
>>>
>>> Why resort in 2014 to other languages for such a simple task?
>>>
>>> Thanks for reading, I hope I was not a bother,
>>> -Bill
>>>
>>
>>
>

Received on Wednesday, 11 June 2014 17:39:57 UTC