Zobrazují se příspěvky se štítkemgde. Zobrazit všechny příspěvky
Zobrazují se příspěvky se štítkemgde. Zobrazit všechny příspěvky

čtvrtek 26. ledna 2017

What I've baked the last year

I love helping developers, speaking at conferences, doing workshops, code labs and such kind of stuff. But before any event, I need to prepare myself very carefully and this takes me days and days of my time. In the past years I created a couple of (totally) different demos and workshops which sit on my Github without anybody knowing.

So I decided to share the latest ones I "baked" in this blog post, because maybe you find here something interesting for you :-)

After my Gingerbread hackathon: 9 Christmas trees 😂 


Uh, baking? I even managed to have the gingerbread and (czech) cookies baking hackathon in the end of the last year :-D

Dart server code lab

I am going to start with my Dart server code lab from 2015. This code lab was originally created for DevFest Ukraine 2015 (and used in a couple of other DevFests then) and aims Dart on server side using the RPC library. I have also written a blog post about it.

In this code lab you can learn how to do a server side API with Dart extremely fast: https://github.com/Janamou/dart-server-codelab.

Dart server-side Code Lab: https://github.com/Janamou/dart-server-codelab

Android testing workshop

Let's forget about the web (for a moment) and take a look at the Android side. The last DevFest Ukraine, I had a workshop on Android UI testing. During the workshop, I showed the options for UI tests on Android, why is important to write them and how tests help with the app development workflow.

The workshop has four parts - UI tests with UI Automator library, Espresso library, Test recorder tool and Monkey tool. You can explore it here: https://github.com/Janamou/android-testing-codelab.

Slides

You can also see my introduction to Andorid UI testing slides.

Progressive Web Apps talk

PWAs are a big thing. And I had a talk on last year's WebExpo about it. In the talk, I explained why Progressive Web Apps are great, why and when you need them and I also showed a demo.

The demo is online and it displays the list of "PWA" repositories from Github, caches the app shell and it also caches the repositories in case the connection is lost. The service workers are used for all these cool features in the application. The code is available on my Github: https://github.com/Janamou/pwa-demo.

Slides

You can also see my Progressive Web Apps slides.

How to build a Dart and Firebase app talk

This talk is from the last Dart summit and I have already wrote a blog post about it. In the talk, I explained how you can use Dart together with Firebase using the library.

The demo is also online and it is a simple notes board completely written in Dart (it uses the pure dart:html to make it simple/no fancy architecture). You can explore the auth, database and storage options provided by Firebase. The code is also on my Github: https://github.com/Janamou/firebase-demo.

Slides

You can also see my Dart and Firebase talk slides.


Happy coding and successful year 2017! :-D

neděle 18. prosince 2016

Dart Firebase3 lib is now Firebase

Just a quick update on Firebase Dart library.



My library Firebase3 has been deprecated and moved to the official Firebase repo (yay!) and is going to be developed there.

The update in your project is really easy, so please do it:

pubspec.yaml

Update your project's pubspec.yaml file. Change the firebase3 dependency to firebase:

dependencies:
  firebase: '^3.0.0'

Pub get

Do the pub get to get the latest dependencies.


Imports

Update imports in your project to use the firebase library:


import 'package:firebase/firebase.dart';


And you are done!

The Dart summit Firebase project has been already updated for the latest firebase lib.

Happy coding!  :-)

čtvrtek 3. listopadu 2016

Dart Developer Summit 2016

I was happy that I could attend this year's Dart Dev Summit because the last Dart Dev Summit was awesome.

The Dart Developer Summit 2016 took place in Munich's Google office this year, for two days at the end of October. And it was really worth to visit.



New Dart earrings

Couple of days before a summit, I realized that my current Dart earrings are a bit of outdated. We had so much fun together but the update was inevitable. And I knew I wanted to have them 3D printed.

In Saturday afternoon, I decided "now or never" and opened the 3D modeling software after, ehm, 5 years and started to remember how it worked. I forgot almost everything. Fortunately I somehow managed to have the model finished (after a lots of complaints :-D) and we could go to print!

We had to do a couple of iterations but at the end I had the earrings printed and put together. Let's call them Dart earrings 2 RC1 for now.

Dart earrings: the old vs. the new version

The earrings need some iterations still. And I am planning to release the 3D model when they will be perfect ;-)

Dart Code Lab

The evening before the summit, I helped with the organization of the Dart Code Lab again. Attendees could try two new Dart code labs - the first one on AngularDart components and the second one on the developer workflow.



We had also a lots of awesome demos from attendees showing us the projects they built with Dart. I enjoyed the evening with people from the community very much.

Dart Developer Summit

The Dart summit was two days event. The first day started with the keynote - Dart in 2017 and beyond where we could hear a lots of interesting numbers (did you know that there is more than $70B per year in Google applications written in Dart?) and about the actual Dart's state and focus. You can read more about this in the Dart news blog post.

Dart Dev Summit 2017 - on a boat? :-D

The summit then continued with a lots of interesting talks on various topics like Angular 2 Dart and it's components, the set of material design widgets written in AngularDart for developers.

We also heard about Dart's type system and a strong mode, the Dart Dev Compiler (yay!), and about the Dart to JavaScript interoperability and more. The JS interop talk is a definitely "must see" if you consider writing a wrapper around some existing JS library.

The conferences are not only about talks. We had a lot of space to meet and talk with Dart engineers and developers from the whole world.

I must also say that I loved the setup and decorations in the room.

Darts everywhere...

The second day started with the Flutter keynote. Flutter is a project which helps you to build both iOS and Android applications with Dart.

Flutter Flutter Flutter

Over the year, they moved the project (it was named Sky before) so much forward and with the hot reload feature, the development is even faster and more delightful to developer.

Flutter's hot reload: must see

I was very impressed and I am moving my personal todo "try Flutter" more to the top of my todo list. :-D

During the day we could see more talks on for example Google's build tool Bazel, server-side framework Aqueduct or Dart package for React.

The day ended with a panel discussion where we could ask questions and the Dart team answered.

All the videos from talks are online in the Dart Dev Summit 2016 playlist.

My Firebase talk

I was excited to have a talk on How to build a Dart and Firebase app in 30 mins. During the talk I showed what is a Firebase and how to use this service with Dart using the wrapper library Firebase3, I implemented. The library is available on pub and Github.

I am planning to write some article on how to use Dart + Firebase and how to write a JS interop wrapper soon.

For now you can take a look at the talk on Youtube, explore the slides, or the source code for the demo app I showed.

The demo is available online, the source code is on Github.

The demo is publicly available and is written in Dart using the Firebase library, then compiled and deployed to Firebase hosting.

The end

It's always so sad when such great event ends. The Dart Developer Summit was a really great event, I met a lots of Dart developers and saw really nice talks on topics which interest me. I filled my personal todo list with a lots of "must try" or "must explore" things.

I am really looking forward to the next year's summit and see ya on a boat! :-D

čtvrtek 29. října 2015

DevFest Ukraine 2015

This year I and my friend Jakub Škvára were invited as speakers to DevFest Ukraine 2015. I watched their event on social networks last year and when I got an invitation to speak there this year, I was really super happy and made a proposal for both Dart talk and a Code Lab.

DevFest Ukraine 2015 took place on October 23 - 24 in Lviv. Because there is no direct flight from Prague to Lviv, we had to transfer in Warsaw. Everything went fine and we successfully arrived to Lviv the evening before. Organizers prepared for us a special city tour around the city center and we heard a lot about Ukrainian history and saw a lot of Lviv's historical beauty.

Lviv's beauty according to Google Photos

Talks

The event started next morning with the keynote followed by talks in three parallel tracks: Android, Web & Cloud and community. And there were 40 sessions during the whole event!

DevFest Ukraine 2015 just started!


I and Jakub both had talks on Friday and code labs/workshops on Saturday. I had a talk with name Let's play Dart! where I talked about why I love Dart and why working with it makes me so much happy and productive developer. You can take a look at my slides on Slideshare:




Jakub had a talk about Polymer vs other libraries. During his talk he compared Polymer elements with components from React and Angular and showed us lots of examples.



You can also take a look at his slides on Slideshare:




During the day there was a lots of great talks about Android, Angular, Firebase and more.

You could also taste Marshmallows:



Or all Android versions:

All Android versions to eat ♥

More Androids!


The first day ended with a great afterparty!


Code Labs

The next day you could see also a lots of talks and Code Labs. But for me and Jakub it was mostly a Code Lab day.

We both had our Code Labs after the lunch. I started with mine about Your first server-side application in Dart in which you could create a simple RESTful API with all speakers and sessions from the conference using the Dart's powerful (and really easy to use) rpc library and Jakub had a Code Lab about creating a Polymer front-end application for this API.

Dart Code Lab!

You can find both our Code Labs on Github:


I am planning to update my Code Lab soon a little, probably with integration to App Engine and a client-side app.


Summary

I am really happy that I could be part of a great DevFest Ukraine 2015. The event was nicely organized, had a great atmosphere and organizers were always helpful and took care about us really nicely. We had also a lot of fun with other speakers and organizers and we could taste a local food and beer in nice restaurants.

I definitely recommend going to DevFest Ukraine next year!



Next month I am looking forward to DevFest Silicon Valley 2015 and next? ... ;-)

And the last photo from Ukraine's Lviv:



středa 4. února 2015

Happy to be Dart Google Developer Expert!

It's a big pleasure for me to say, that I recently became Google Developer Expert (GDE) for Dart language.

Who are the Google Experts?

Shortly said:
Google Experts are a global network of experienced product strategists, designers, developers and marketing professionals actively supporting developers, startups and companies changing the world through web and mobile applications.
You can read more about them on site: https://developers.google.com/experts/about

What does this mean to me?

Besides of developing in Dart I really love meeting and helping to other developers so I will continue helping the community.

I have some experience with co-organizing Dart related events like code labs (to learn Dart), hackathons (to code and have fun with Dart) and I love talking about Dart. So if you plan to do some Dart related event and want to help or you are looking for speaker, don't hesitate to contact me! :-)