pondělí 27. října 2014

Stagehand: Tool you want to use for your next Dart project

Yesterday I found a great tool with name Stagehand. I would say that this tool makes happy Dart developer even more happier. Stagehand helps you create a new Dart project easily with all the important things prepared.

Yes, creating a new project with Dart Editor is nice but with Stagehand it is awesome. Creating a new project for me without Stagehand always involved searching wherever for the .gitignore file (if you do not know .gitignore.io) and then searching for some libraries etc.

With Stagehand you have everything important prepared.

How to install?

As a first thing you should update to the latest version of Dart SDK.

And then run in the command line:

pub global activate stagehand

I had to also add some folder to the PATH on Windows. Then you are done. You can use it :-)

How to use?

Using of Stagehand is really easy. When you are in the desired folder where you want to generate the project, just run:

stagehand <apptype>

where the apptype is:
  • consoleapp
  • package
  • polymerapp
  • shelfapp
  • webapp

I will create a new web application project into my folder with command:

stagehand webapp

And then open the project in Dart Editor, run it and see, what Stagehand did.

Stagehand web template
Nice Dart web application

Inspecting project files is event better. You will see that you have prepared responsive website with Sass, CSS minification and even routing!

That is a good start for a new Dart web project, isn't it?

With Stagehand you can also start your new Polymer project, console app, shelf app or package. One option I am missing is Chrome packaged app, hope it will be added in the future.

Do you plan to try Stagehand for your next project? For me it is definitely YES.

čtvrtek 9. října 2014

Dart + Polymer Hackathon Prague 2014: Přijďte si zahackovat v Dartu!




Po dvou Dart + Polymer Code Labech organizujeme s GDG Prague 1.11.2014 Dart + Polymer hackathon!

Můžete pracovat na svých vlastních nápadech, přijít s rozpracovanou aplikací, vyzkoušet si práci s Dartem a Polymerem, a nebo se můžete přidat a pomoci některému z ostatních týmů.

Žádné předchozí znalosti Dartu ani Polymeru nejsou nutné. Cílem je si technologie vyzkoušet, něco si v nich třeba napsat a zažít s námi srandu :-)

Vstup zdarma, registrace nutná, omezená kapacita.


Jaká byla sranda na posledním Code Labu se můžete přesvědčit z videa:




Případně si o posledním Code Labu můžete přečíst článek.

Přijdete? :-)