- From: William De Luca <delucaw@frequentflyerservices.com>
- Date: Wed, 11 Jun 2014 09:57:53 -0600
- To: Steve Faulkner <faulkner.steve@gmail.com>
- Cc: HTMLWG WG <public-html@w3.org>
- Message-ID: <CACSYgn=vn5Kkoa-aACHfA680q=D7PkRi=kPwfV=sdaU1HdnmDw@mail.gmail.com>
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 15:58:42 UTC