|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|
Last time I asked, above link was pretty much solid. Not Rocky, but
along the lines of "no significant changes".
> 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... ;)
|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?
|Re: [misc] Re: Any progress with the template framework/utility?||Seth Ladd||5/9/12 5:12 PM|
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.
|Re: [misc] Re: Any progress with the template framework/utility?||Alexander Orlov||5/9/12 11:00 PM|
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?
In the near future we will add an API to create DOM isolates. These are isolates that share access to the DOM. All DOM isolates will run on the UI thread.
But to implement such a template lib would require the corresponding DOM isolate API.
|Re: [misc] Any progress with the template framework/utility?||Terry Lucas||5/14/12 3:55 PM|
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.
|Re: [misc] Any progress with the template framework/utility?||Alexander Orlov||5/15/12 1:50 AM|
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:
|Re: [misc] Any progress with the template framework/utility?||Bob Nystrom||5/15/12 9:56 AM|
On Tue, May 15, 2012 at 1:50 AM, Alexander Orlov <alexand...@loxal.net> wrote:Terry,
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.
|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.
|Re: [misc] Any progress with the template framework/utility?||Seth Ladd||6/11/12 1:47 PM|
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!
|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".
|Re: [dart-misc] Re: [misc] Any progress with the template framework/utility?||Dan Grove||3/8/13 8:13 AM|