Discussion:
[dart-misc] Static site generator in dart
alex
2013-02-16 11:02:13 UTC
Permalink
I like dart since the beginning for writing small web apps and command line
utilities. For web sites (not apps in a single page), as soon as you want
to have more than one pages, generating HTML is a pain, as soon as you want
to have the proper html header or common needs (boostrap, analytics, menus,
favicon, mobile tags...) and good search indexing (i.e. with content in the
HTML, not loaded dynamically). It seems that the dartlang.org site use
Jekyll to generate its site and I guess dart can make what Ruby/Python do...
I started my own utility just to share a footer/header for 3 or 4 pages but
I don't want to reinvent the wheel.
Is there any work any progress regarding having a static site generator
written in dart?
Simple ideas using build.dart and some utilities to generate pages from
some HTML snippet or Markdown files are welcome (The html5lib looks like a
good utility)
Also if there is a dart initiative to build a full features CMS generated
from json/yaml/html files, I would be even more interested.
thanks
--alex
--
Consider asking HOWTO questions at Stack Overflow: http://stackoverflow.com/tags/dart
poltomb
2013-02-18 04:21:54 UTC
Permalink
I don't know if this is exactly what you are looking for, but I do believe
you can do such a thing with Web UI<http://www.dartlang.org/articles/dart-web-components/>,
specifically, the web components piece. Since web components are not fully
supported in all browsers (yet) the Web UI team has made a compiler to turn
the web components into standard dart/html.
Post by alex
I like dart since the beginning for writing small web apps and command
line utilities. For web sites (not apps in a single page), as soon as you
want to have more than one pages, generating HTML is a pain, as soon as you
want to have the proper html header or common needs (boostrap, analytics,
menus, favicon, mobile tags...) and good search indexing (i.e. with content
in the HTML, not loaded dynamically). It seems that the dartlang.org site
use Jekyll to generate its site and I guess dart can make what Ruby/Python
do...
I started my own utility just to share a footer/header for 3 or 4 pages
but I don't want to reinvent the wheel.
Is there any work any progress regarding having a static site generator
written in dart?
Simple ideas using build.dart and some utilities to generate pages from
some HTML snippet or Markdown files are welcome (The html5lib looks like a
good utility)
Also if there is a dart initiative to build a full features CMS generated
from json/yaml/html files, I would be even more interested.
thanks
--alex
--
Consider asking HOWTO questions at Stack Overflow: http://stackoverflow.com/tags/dart
Thomas Schranz
2013-07-23 19:02:04 UTC
Permalink
Do you guys know existing projects in that direction already?
I found this one: https://github.com/dpeek/dart-blog

We're looking to simplify our language stack (we use jekyll right now but
that's the only ruby dependency we have)
so we were thinking about pelican (python) or if there is something in Dart
already it would be awesome as well :)
Hi Alex, i'm in process of planning a website creator, dev should start
this month.
I have a stong backgroung in Python based CMS (Zope and Plone).
If you want to share thoughts and insights please let me know.
Once the github project is online it will be simple to join development.
Best, Michael
https://plus.google.com/108931164613660994654/posts
https://plus.google.com/101516980683197473957/posts
Post by alex
I like dart since the beginning for writing small web apps and command
line utilities. For web sites (not apps in a single page), as soon as you
want to have more than one pages, generating HTML is a pain, as soon as you
want to have the proper html header or common needs (boostrap, analytics,
menus, favicon, mobile tags...) and good search indexing (i.e. with content
in the HTML, not loaded dynamically). It seems that the dartlang.orgsite use Jekyll to generate its site and I guess dart can make what
Ruby/Python do...
I started my own utility just to share a footer/header for 3 or 4 pages
but I don't want to reinvent the wheel.
Is there any work any progress regarding having a static site generator
written in dart?
Simple ideas using build.dart and some utilities to generate pages from
some HTML snippet or Markdown files are welcome (The html5lib looks like a
good utility)
Also if there is a dart initiative to build a full features CMS generated
from json/yaml/html files, I would be even more interested.
thanks
--alex
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new
Justin Fagnani
2013-07-23 19:24:17 UTC
Permalink
IMO, the ultimate solution here is to be able to render MDV templates on
the server, so that not only do you get a static site generator, but you
get an optimizer for dynamic sites.

That's probably quite a challenge, because we don't have server-side
dart:html and html5lib does not really implement the DOM accurately, but at
least the templates could be HTML with MDV-style mustaches, <template>
tags, and HTML imports. That could possibly allow some reuse of templates
now, even if you couldn't use custom elements or standard DOM-manipulating
code on the server.

-Justin
Post by Thomas Schranz
Do you guys know existing projects in that direction already?
I found this one: https://github.com/dpeek/dart-blog
We're looking to simplify our language stack (we use jekyll right now but
that's the only ruby dependency we have)
so we were thinking about pelican (python) or if there is something in
Dart already it would be awesome as well :)
Hi Alex, i'm in process of planning a website creator, dev should start
this month.
I have a stong backgroung in Python based CMS (Zope and Plone).
If you want to share thoughts and insights please let me know.
Once the github project is online it will be simple to join development.
Best, Michael
https://plus.google.com/**108931164613660994654/posts<https://plus.google.com/108931164613660994654/posts>
https://plus.google.com/**101516980683197473957/posts<https://plus.google.com/101516980683197473957/posts>
Post by alex
I like dart since the beginning for writing small web apps and command
line utilities. For web sites (not apps in a single page), as soon as you
want to have more than one pages, generating HTML is a pain, as soon as you
want to have the proper html header or common needs (boostrap, analytics,
menus, favicon, mobile tags...) and good search indexing (i.e. with content
in the HTML, not loaded dynamically). It seems that the dartlang.orgsite use Jekyll to generate its site and I guess dart can make what
Ruby/Python do...
I started my own utility just to share a footer/header for 3 or 4 pages
but I don't want to reinvent the wheel.
Is there any work any progress regarding having a static site generator
written in dart?
Simple ideas using build.dart and some utilities to generate pages from
some HTML snippet or Markdown files are welcome (The html5lib looks like a
good utility)
Also if there is a dart initiative to build a full features CMS
generated from json/yaml/html files, I would be even more interested.
thanks
--alex
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new
George Moschovitis
2013-07-23 19:30:02 UTC
Permalink
Post by Justin Fagnani
IMO, the ultimate solution here is to be able to render MDV templates on
the server, so that not only do you get a static site generator, but you
get an optimizer for ...custom elements or standard DOM-manipulating code
on the server.
I hinted about this in the past. That would be absolutely fantastic.

-g.
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new
Seth Ladd
2013-07-23 20:18:29 UTC
Permalink
Post by Thomas Schranz
Do you guys know existing projects in that direction already?
I found this one: https://github.com/dpeek/dart-blog
We're looking to simplify our language stack (we use jekyll right now but
that's the only ruby dependency we have)
so we were thinking about pelican (python) or if there is something in
Dart already it would be awesome as well :)
FWIW the dartlang.org site is built with jekyll. If there was an equivalent
built with Dart, we'd use it. :)
Post by Thomas Schranz
Hi Alex, i'm in process of planning a website creator, dev should start
this month.
I have a stong backgroung in Python based CMS (Zope and Plone).
If you want to share thoughts and insights please let me know.
Once the github project is online it will be simple to join development.
Best, Michael
https://plus.google.com/**108931164613660994654/posts<https://plus.google.com/108931164613660994654/posts>
https://plus.google.com/**101516980683197473957/posts<https://plus.google.com/101516980683197473957/posts>
Post by alex
I like dart since the beginning for writing small web apps and command
line utilities. For web sites (not apps in a single page), as soon as you
want to have more than one pages, generating HTML is a pain, as soon as you
want to have the proper html header or common needs (boostrap, analytics,
menus, favicon, mobile tags...) and good search indexing (i.e. with content
in the HTML, not loaded dynamically). It seems that the dartlang.orgsite use Jekyll to generate its site and I guess dart can make what
Ruby/Python do...
I started my own utility just to share a footer/header for 3 or 4 pages
but I don't want to reinvent the wheel.
Is there any work any progress regarding having a static site generator
written in dart?
Simple ideas using build.dart and some utilities to generate pages from
some HTML snippet or Markdown files are welcome (The html5lib looks like a
good utility)
Also if there is a dart initiative to build a full features CMS
generated from json/yaml/html files, I would be even more interested.
thanks
--alex
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new
Sayth Renshaw
2016-11-19 12:41:40 UTC
Permalink
There is stillshot https://pub.dartlang.org/packages/stillshot
Not sure if anyone else has found others.

Sayth
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Loading...