Any progress with the template framework/utility?

Showing 1-14 of 14 messages
Any progress with the template framework/utility? Alexander Orlov 5/9/12 4:57 AM
I couldn't find the author of the "template" utility on G+ but I'd really like to see some updates about the progress resp. info in which direction the template framework is going to evolve.

How do you guys work with HTML? I mean creating the DOM imperatively is just insane in the long run. Personally I try to group my HTML fragments using Element.html(""" <a lot of HTML code> """); but that's just a preliminary solution.
Re: Any progress with the template framework/utility? Ruud Poutsma 5/9/12 10:45 AM
^^

http://blog.sethladd.com/2012/03/first-look-at-darts-html-template.html

Last time I asked, above link was pretty much solid. Not Rocky, but
along the lines of "no significant changes".

Ruud

On May 9, 1:57 pm, Alexander Orlov <alexander.or...@loxal.net> wrote:
> I couldn't find the author of the "template" utility on G+ but I'd really
> like to see some updates about the progress resp. info in which direction
> the template framework is going to evolve.
>
> How do you guys work with HTML? I mean creating the DOM imperatively is
> just insane in the long run. Personally I try to group my HTML fragments
> using *Element.html(""" <a lot of HTML code> """); *but that's just
> a preliminary solution.
Re: [misc] Any progress with the template framework/utility? Dan Grove 5/9/12 12:53 PM
Hi Alexander and Ruud-

We're not actively working on this at the moment, but we'd definitely love to see patches for things that you think are missing!


Re: [misc] Any progress with the template framework/utility? Alexander Orlov 5/9/12 2:09 PM
It's good to know that you accept patches because it could also be that you guys have a concept of how this framework should look like and all patches would simply foil your vision and therefore would be likely rejected. So I hesitated to introduce any changes myself. At the moment the template code is broken (sample template conversion doesn't work) and has to be updated to reflect the Dart SDK/lib changes.

Is there a reason you've postponed the work on a template framework? Are there missing Dart features that have to be implemented first before one can start to create something reasonable in this area? Since I'm used to GWT's UiBinder, building the DOM myself (like I have to do it in Dart now) causes epileptic seizures... ;)

Alex
Re: Any progress with the template framework/utility? mythz 5/9/12 3:39 PM
I would definitely like to see more love/effort around HTML
templating, as Dart is positioned for web apps I naturally expected it
to be a critical part of the library.
If using this HTML templating lib is not how we should generate UIs
what is? Is there a new UI kit/lib on the horizon?

It would be nice to hear what the official Dart team thinks the best
UI strategy is for web apps?


On May 9, 5:09 pm, Alexander Orlov <alexander.or...@loxal.net> wrote:
> It's good to know that you accept patches because it could also be that you
> guys have a concept of how this framework should look like and all patches
> would simply foil your vision and therefore would be likely rejected. So I
> hesitated to introduce any changes myself. At the moment the template code
> is broken (sample template conversion doesn't work) and has to be updated
> to reflect the Dart SDK/lib changes.
>
> Is there a reason you've postponed the work on a template framework? Are
> there missing Dart features that have to be implemented first before one
> can start to create something reasonable in this area? Since I'm used to
> GWT's UiBinder, building the DOM myself (like I have to do it in Dart now)
> causes epileptic seizures... ;)
>
> Alex
>
>
>
>
>
>
>
> On Wednesday, May 9, 2012 9:53:43 PM UTC+2, Dan Grove wrote:
>
> > Hi Alexander and Ruud-
>
> > We're not actively working on this at the moment, but we'd definitely love
> > to see patches for things that you think are missing!
>
> > On Wed May 09 10:45:35 GMT-700 2012, Ruudjah <rti...@gmail.com> wrote:
>
> >> ^^
>
> >>http://blog.sethladd.com/2012/03/first-look-at-darts-html-template.html<https://www.google.com/url?sa=D&q=http://blog.sethladd.com/2012/03/fi...>
Re: [misc] Re: Any progress with the template framework/utility? Seth Ladd 5/9/12 5:12 PM
Hi,

Thanks for the questions. The template code was an initial option, but the team took a step back and said "how do we want to holistically solve this problem". Templates only solve one of the problems involved with engineering a full feature, high performance web app. The team is now brainstorming more sweeping solutions to the problem at hand.

That said, there are certainly use cases for a template lib, feel free to create some issues and attach patches. You might get started with http://code.google.com/p/dart/wiki/Contributing

I agree, Dart is about modern web apps, it's fully our intent to ship an app stack to help developers from all platforms build awesome modern web apps.

Seth
Re: [misc] Re: Any progress with the template framework/utility? Alexander Orlov 5/9/12 11:00 PM


On Thursday, May 10, 2012 2:12:01 AM UTC+2, Seth Ladd wrote:
Thanks for the questions. The template code was an initial option, but the team took a step back and said "how do we want to holistically solve this problem". Templates only solve one of the problems involved with engineering a full feature, high performance web app. The team is now brainstorming more sweeping solutions to the problem at hand.


Something like this is exactly what we'd like to hear from time to time. Thanks a lot for this info! Maybe the UI team is investigating an actor based approach?
But to implement such a template lib would require the corresponding DOM isolate API.

Alex
Re: [misc] Any progress with the template framework/utility? Terry Lucas 5/14/12 3:55 PM
Alexander,

I just checked in some fixed to templates so that it runs again.  BTW, uitest.dart/html has a number of sample templates that all work as does the samples/calculator which uses templates and CSS inside of templates.

Terry.
Re: [misc] Any progress with the template framework/utility? Alexander Orlov 5/15/12 1:50 AM
Terry,

I suppose the UI team want to go a new path once the API for DOM isolates has been implemented. I'll rather wait until they start their wok on an isolates based template approach. But this is just a speculation from my side as I've read: 


Alex
Re: [misc] Any progress with the template framework/utility? Bob 5/15/12 9:56 AM


On Tue, May 15, 2012 at 1:50 AM, Alexander Orlov <alexand...@loxal.net> wrote:
Terry,

I suppose the UI team want to go a new path once the API for DOM isolates has been implemented. I'll rather wait until they start their wok on an isolates based template approach. But this is just a speculation from my side as I've read: 

I don't know the details of the UI lib, but I believe it's not using isolates for anything particularly interesting, at least not right now.

- bob

Re: [misc] Any progress with the template framework/utility? Alexander Orlov 6/11/12 6:15 AM
I won't to appear impatient :) but is there a reason why dart/utils/template hasn't received any updates for over a month?

I'd like to implement a pager but won't to start a "my very own pager for my project" approach but integrate a generic pager into an up-to-date template framework/library. Also I'd like to actively work on a component based UI framework/lib. So I'm just looking for the last thoughts towards a component based UI approach for Dart as much has changed since the last template lib commit.

Alex
Re: [misc] Any progress with the template framework/utility? Seth Ladd 6/11/12 1:47 PM
Hi Alexander,

I think the team is weighing all the options here, so there hasn't been activity on that specific implementation. This is a very important part of the Dart project, and just like you I'm excited to see what happens here. In the meantime, keep poking at the language, libraries, and tools. We appreciate your support!

Seth
Re: [misc] Any progress with the template framework/utility? Daniel Davidson 3/8/13 5:28 AM
I'm new to dart... but any insight into the referred to templating solution? Maybe an update on the approach to "holistically solve this problem".
Thanks
Dan
Re: [dart-misc] Re: [misc] Any progress with the template framework/utility? Dan Grove 3/8/13 8:13 AM


--
Consider asking HOWTO questions at Stack Overflow: http://stackoverflow.com/tags/dart