SlideShare a Scribd company logo
@electrobabe
From Java To AngularJS
(Without Pain)
9.12.2015 jquery conf berlin @electrobabe
Background
9.12.2015 jquery conf berlin @electrobabe
JavaScript!!!
9.12.2015 jquery conf berlin @electrobabe
Java <3
9.12.2015 jquery conf berlin @electrobabe
JavaScript
9.12.2015 jquery conf berlin @electrobabe
JavaScript is evil
9.12.2015 jquery conf berlin @electrobabe
JavaScript is eval
9.12.2015 jquery conf berlin @electrobabe
JavaScript is evil
9.12.2015 jquery conf berlin @electrobabe
JS: The Home Of Antipatterns
9.12.2015 jquery conf berlin @electrobabe
Some master it...
9.12.2015 jquery conf berlin @electrobabe
MVC in Java
9.12.2015 jquery conf berlin @electrobabe
AngularJS FTW!
9.12.2015 jquery conf berlin @electrobabe
MVW in Angular
9.12.2015 jquery conf berlin @electrobabe
ng-what?
9.12.2015 jquery conf berlin @electrobabe
Live Edit in Browser
9.12.2015 jquery conf berlin @electrobabe
Live Edit in Browser
9.12.2015 jquery conf berlin @electrobabe
Add a Controller to View
9.12.2015 jquery conf berlin @electrobabe
The Controller
9.12.2015 jquery conf berlin @electrobabe
Live Edit in Browser
9.12.2015 jquery conf berlin @electrobabe
Live Edit in Browser
9.12.2015 jquery conf berlin @electrobabe
Live Edit in Browser
9.12.2015 jquery conf berlin @electrobabe
Use A Model
9.12.2015 jquery conf berlin @electrobabe
Different Modules in Controller
9.12.2015 jquery conf berlin @electrobabe
Dependency Injection
9.12.2015 jquery conf berlin @electrobabe
Directives
9.12.2015 jquery conf berlin @electrobabe
Deep Linking & Routing
9.12.2015 jquery conf berlin @electrobabe
Nested Views
9.12.2015 jquery conf berlin @electrobabe
Nested Views
9.12.2015 jquery conf berlin @electrobabe
Nested Views
9.12.2015 jquery conf berlin @electrobabe
Structure
9.12.2015 jquery conf berlin @electrobabe
Testability
9.12.2015 jquery conf berlin @electrobabe
Build
9.12.2015 jquery conf berlin @electrobabe
Dependency Management
9.12.2015 jquery conf berlin @electrobabe
Supporting Frameworks
9.12.2015 jquery conf berlin @electrobabe
Best practices & Lessons Learned
9.12.2015 jquery conf berlin @electrobabe
Downsides
9.12.2015 jquery conf berlin @electrobabe
Downsides
9.12.2015 jquery conf berlin @electrobabe
I can has code? kthxbye
https://github.com/electrobabe/hungry-ui
9.12.2015 jquery conf berlin @electrobabe
Any Questions?
9.12.2015 jquery conf berlin @electrobabe
CATS!
9.12.2015 jquery conf berlin @electrobabe
Links
● Slides and Src on Github
https://github.com/electrobabe/hungry-ui
● http://electrobabe.at
● https://play.google.com/store/apps/details?
id=at.chefbabe.hungry
● https://play.google.com/store/apps/details?
id=com.likeahipster.app
9.12.2015 jquery conf berlin @electrobabe
Credentials
Images from
● hipsterlogogenerator.com
● stocksnap.io
● Wikipedia
● Giphy

More Related Content

What's hot

Lightning talk teaching php to kids with atk
Lightning talk teaching php to kids with atkLightning talk teaching php to kids with atk
Lightning talk teaching php to kids with atk
Romans Malinovskis
 
ASP.NET MVC From The Ground Up
ASP.NET MVC From The Ground UpASP.NET MVC From The Ground Up
ASP.NET MVC From The Ground UpKevin Griffin
 
A Lap around ASP.NET 5 - CONDG
A Lap around ASP.NET 5 - CONDGA Lap around ASP.NET 5 - CONDG
A Lap around ASP.NET 5 - CONDG
Sam Basu
 
Building high-performance web applications with Preact
Building high-performance web applications with PreactBuilding high-performance web applications with Preact
Building high-performance web applications with Preact
Maurice De Beijer [MVP]
 
Capistrano @ VilniusPHP
Capistrano @ VilniusPHPCapistrano @ VilniusPHP
Capistrano @ VilniusPHP
Vidmantas Kabošis
 
Hello Cats: MobileWidgetCamp talk about mobile widgets
Hello Cats: MobileWidgetCamp talk about mobile widgetsHello Cats: MobileWidgetCamp talk about mobile widgets
Hello Cats: MobileWidgetCamp talk about mobile widgets
Martijn Pannevis
 
ASP.NET Quick Wins - 20 Tips and Tricks To Shift Your Application into High Gear
ASP.NET Quick Wins - 20 Tips and Tricks To Shift Your Application into High GearASP.NET Quick Wins - 20 Tips and Tricks To Shift Your Application into High Gear
ASP.NET Quick Wins - 20 Tips and Tricks To Shift Your Application into High Gear
Kevin Griffin
 
Handle the error
Handle the errorHandle the error
Handle the error
CocoaHeads France
 
Testing of React JS app
Testing of React JS appTesting of React JS app
Testing of React JS app
Aleks Zinevych
 
jQuery From the Ground Up
jQuery From the Ground UpjQuery From the Ground Up
jQuery From the Ground UpKevin Griffin
 
Ryan Christiani I Heard React Was Good
Ryan Christiani I Heard React Was GoodRyan Christiani I Heard React Was Good
Ryan Christiani I Heard React Was Good
FITC
 
Learn react the right way
Learn react the right way  Learn react the right way
Learn react the right way
Mohamed Thareef Bin Ubaid
 
Wordcamp Toronto Presentation
Wordcamp Toronto PresentationWordcamp Toronto Presentation
Wordcamp Toronto Presentation
Roy Sivan
 
React 101
React 101React 101
React 101
AndryRajohnson
 
WordPress and Client Side Web Applications WCTO
WordPress and Client Side Web Applications WCTOWordPress and Client Side Web Applications WCTO
WordPress and Client Side Web Applications WCTO
Roy Sivan
 
[DevDay 2017] ReactJS Hands on - Speaker: Binh Phan - Developer at mgm techno...
[DevDay 2017] ReactJS Hands on - Speaker: Binh Phan - Developer at mgm techno...[DevDay 2017] ReactJS Hands on - Speaker: Binh Phan - Developer at mgm techno...
[DevDay 2017] ReactJS Hands on - Speaker: Binh Phan - Developer at mgm techno...
DevDay.org
 
AngularU Recap
AngularU RecapAngularU Recap
AngularU Recap
Frank Linehan
 
Building End to-End Web Apps Using TypeScript
Building End to-End Web Apps Using TypeScriptBuilding End to-End Web Apps Using TypeScript
Building End to-End Web Apps Using TypeScript
Gil Fink
 
[DevDay 2017] Serverless Architecture - Speaker: Trung Huynh - Software Engin...
[DevDay 2017] Serverless Architecture - Speaker: Trung Huynh - Software Engin...[DevDay 2017] Serverless Architecture - Speaker: Trung Huynh - Software Engin...
[DevDay 2017] Serverless Architecture - Speaker: Trung Huynh - Software Engin...
DevDay.org
 
How to build a Mobile API or HTML 5 app in 5 minutes
How to build a Mobile API or HTML 5 app in 5 minutesHow to build a Mobile API or HTML 5 app in 5 minutes
How to build a Mobile API or HTML 5 app in 5 minutes
Robert MacLean
 

What's hot (20)

Lightning talk teaching php to kids with atk
Lightning talk teaching php to kids with atkLightning talk teaching php to kids with atk
Lightning talk teaching php to kids with atk
 
ASP.NET MVC From The Ground Up
ASP.NET MVC From The Ground UpASP.NET MVC From The Ground Up
ASP.NET MVC From The Ground Up
 
A Lap around ASP.NET 5 - CONDG
A Lap around ASP.NET 5 - CONDGA Lap around ASP.NET 5 - CONDG
A Lap around ASP.NET 5 - CONDG
 
Building high-performance web applications with Preact
Building high-performance web applications with PreactBuilding high-performance web applications with Preact
Building high-performance web applications with Preact
 
Capistrano @ VilniusPHP
Capistrano @ VilniusPHPCapistrano @ VilniusPHP
Capistrano @ VilniusPHP
 
Hello Cats: MobileWidgetCamp talk about mobile widgets
Hello Cats: MobileWidgetCamp talk about mobile widgetsHello Cats: MobileWidgetCamp talk about mobile widgets
Hello Cats: MobileWidgetCamp talk about mobile widgets
 
ASP.NET Quick Wins - 20 Tips and Tricks To Shift Your Application into High Gear
ASP.NET Quick Wins - 20 Tips and Tricks To Shift Your Application into High GearASP.NET Quick Wins - 20 Tips and Tricks To Shift Your Application into High Gear
ASP.NET Quick Wins - 20 Tips and Tricks To Shift Your Application into High Gear
 
Handle the error
Handle the errorHandle the error
Handle the error
 
Testing of React JS app
Testing of React JS appTesting of React JS app
Testing of React JS app
 
jQuery From the Ground Up
jQuery From the Ground UpjQuery From the Ground Up
jQuery From the Ground Up
 
Ryan Christiani I Heard React Was Good
Ryan Christiani I Heard React Was GoodRyan Christiani I Heard React Was Good
Ryan Christiani I Heard React Was Good
 
Learn react the right way
Learn react the right way  Learn react the right way
Learn react the right way
 
Wordcamp Toronto Presentation
Wordcamp Toronto PresentationWordcamp Toronto Presentation
Wordcamp Toronto Presentation
 
React 101
React 101React 101
React 101
 
WordPress and Client Side Web Applications WCTO
WordPress and Client Side Web Applications WCTOWordPress and Client Side Web Applications WCTO
WordPress and Client Side Web Applications WCTO
 
[DevDay 2017] ReactJS Hands on - Speaker: Binh Phan - Developer at mgm techno...
[DevDay 2017] ReactJS Hands on - Speaker: Binh Phan - Developer at mgm techno...[DevDay 2017] ReactJS Hands on - Speaker: Binh Phan - Developer at mgm techno...
[DevDay 2017] ReactJS Hands on - Speaker: Binh Phan - Developer at mgm techno...
 
AngularU Recap
AngularU RecapAngularU Recap
AngularU Recap
 
Building End to-End Web Apps Using TypeScript
Building End to-End Web Apps Using TypeScriptBuilding End to-End Web Apps Using TypeScript
Building End to-End Web Apps Using TypeScript
 
[DevDay 2017] Serverless Architecture - Speaker: Trung Huynh - Software Engin...
[DevDay 2017] Serverless Architecture - Speaker: Trung Huynh - Software Engin...[DevDay 2017] Serverless Architecture - Speaker: Trung Huynh - Software Engin...
[DevDay 2017] Serverless Architecture - Speaker: Trung Huynh - Software Engin...
 
How to build a Mobile API or HTML 5 app in 5 minutes
How to build a Mobile API or HTML 5 app in 5 minutesHow to build a Mobile API or HTML 5 app in 5 minutes
How to build a Mobile API or HTML 5 app in 5 minutes
 

Similar to JQuery Conf Berlin - Ondrisek - From Java To AngularJS (without pain)

Introduction to AngularJS
Introduction to AngularJSIntroduction to AngularJS
Introduction to AngularJS
Jumping Bean
 
Mvvm is like born fraction
Mvvm is like born fractionMvvm is like born fraction
Mvvm is like born fraction
Ken Haneda
 
The Modern Java Web Developer Bootcamp - Devoxx 2013
The Modern Java Web Developer Bootcamp - Devoxx 2013The Modern Java Web Developer Bootcamp - Devoxx 2013
The Modern Java Web Developer Bootcamp - Devoxx 2013
Matt Raible
 
ITB2019 ColdBox APIs + VueJS - powering Mobile, Desktop and Web Apps with 1 V...
ITB2019 ColdBox APIs + VueJS - powering Mobile, Desktop and Web Apps with 1 V...ITB2019 ColdBox APIs + VueJS - powering Mobile, Desktop and Web Apps with 1 V...
ITB2019 ColdBox APIs + VueJS - powering Mobile, Desktop and Web Apps with 1 V...
Ortus Solutions, Corp
 
ColdBox APIs + VueJS - powering Mobile, Desktop and Web Apps with 1 VueJS cod...
ColdBox APIs + VueJS - powering Mobile, Desktop and Web Apps with 1 VueJS cod...ColdBox APIs + VueJS - powering Mobile, Desktop and Web Apps with 1 VueJS cod...
ColdBox APIs + VueJS - powering Mobile, Desktop and Web Apps with 1 VueJS cod...
Gavin Pickin
 
Moving to the Client - JavaFX and HTML5 (PowerPoint Version)
Moving to the Client - JavaFX and HTML5 (PowerPoint Version)Moving to the Client - JavaFX and HTML5 (PowerPoint Version)
Moving to the Client - JavaFX and HTML5 (PowerPoint Version)
Stephen Chin
 
JS FAST Prototyping with AngularJS & RequireJS
JS FAST Prototyping with AngularJS & RequireJSJS FAST Prototyping with AngularJS & RequireJS
JS FAST Prototyping with AngularJS & RequireJS
Yuriy Silvestrov
 
Spring MVC Intro / Gore - Nov NHJUG
Spring MVC Intro / Gore - Nov NHJUGSpring MVC Intro / Gore - Nov NHJUG
Spring MVC Intro / Gore - Nov NHJUG
Ted Pennings
 
Java web start Quick Reference
Java web start Quick Reference Java web start Quick Reference
Java web start Quick Reference
Praveen Kumar
 
AngularJS Beginner Day One
AngularJS Beginner Day OneAngularJS Beginner Day One
AngularJS Beginner Day One
Troy Miles
 
React Session 1.pptx
React Session 1.pptxReact Session 1.pptx
React Session 1.pptx
AyaBenkabbour1
 
Angular Routing - Angular Hack Day Melbourne 2019
Angular Routing - Angular Hack Day Melbourne 2019Angular Routing - Angular Hack Day Melbourne 2019
Angular Routing - Angular Hack Day Melbourne 2019
Jernej Kavka (JK)
 
MVC3 Development with visual studio 2010
MVC3 Development with visual studio 2010MVC3 Development with visual studio 2010
MVC3 Development with visual studio 2010AbhishekLuv Kumar
 
Graph ql subscriptions on the jvm
Graph ql subscriptions on the jvmGraph ql subscriptions on the jvm
Graph ql subscriptions on the jvm
Gerard Klijs
 
React vs angular (mobile first battle)
React vs angular (mobile first battle)React vs angular (mobile first battle)
React vs angular (mobile first battle)
Michael Haberman
 
Spring GraphQL
Spring GraphQLSpring GraphQL
Spring GraphQL
VMware Tanzu
 
JavaScript Revolution - 5/Nov/13 - PrDC Saskatoon, SK
JavaScript Revolution - 5/Nov/13 - PrDC Saskatoon, SKJavaScript Revolution - 5/Nov/13 - PrDC Saskatoon, SK
JavaScript Revolution - 5/Nov/13 - PrDC Saskatoon, SK
David Wesst
 
Why you should add React to your Rails application now!
Why you should add React to your Rails application now!Why you should add React to your Rails application now!
Why you should add React to your Rails application now!
David Roberts
 
Advance Java Tutorial | J2EE, Java Servlets, JSP, JDBC | Java Certification T...
Advance Java Tutorial | J2EE, Java Servlets, JSP, JDBC | Java Certification T...Advance Java Tutorial | J2EE, Java Servlets, JSP, JDBC | Java Certification T...
Advance Java Tutorial | J2EE, Java Servlets, JSP, JDBC | Java Certification T...
Edureka!
 
Comparing Native Java REST API Frameworks - Seattle JUG 2022
Comparing Native Java REST API Frameworks - Seattle JUG 2022Comparing Native Java REST API Frameworks - Seattle JUG 2022
Comparing Native Java REST API Frameworks - Seattle JUG 2022
Matt Raible
 

Similar to JQuery Conf Berlin - Ondrisek - From Java To AngularJS (without pain) (20)

Introduction to AngularJS
Introduction to AngularJSIntroduction to AngularJS
Introduction to AngularJS
 
Mvvm is like born fraction
Mvvm is like born fractionMvvm is like born fraction
Mvvm is like born fraction
 
The Modern Java Web Developer Bootcamp - Devoxx 2013
The Modern Java Web Developer Bootcamp - Devoxx 2013The Modern Java Web Developer Bootcamp - Devoxx 2013
The Modern Java Web Developer Bootcamp - Devoxx 2013
 
ITB2019 ColdBox APIs + VueJS - powering Mobile, Desktop and Web Apps with 1 V...
ITB2019 ColdBox APIs + VueJS - powering Mobile, Desktop and Web Apps with 1 V...ITB2019 ColdBox APIs + VueJS - powering Mobile, Desktop and Web Apps with 1 V...
ITB2019 ColdBox APIs + VueJS - powering Mobile, Desktop and Web Apps with 1 V...
 
ColdBox APIs + VueJS - powering Mobile, Desktop and Web Apps with 1 VueJS cod...
ColdBox APIs + VueJS - powering Mobile, Desktop and Web Apps with 1 VueJS cod...ColdBox APIs + VueJS - powering Mobile, Desktop and Web Apps with 1 VueJS cod...
ColdBox APIs + VueJS - powering Mobile, Desktop and Web Apps with 1 VueJS cod...
 
Moving to the Client - JavaFX and HTML5 (PowerPoint Version)
Moving to the Client - JavaFX and HTML5 (PowerPoint Version)Moving to the Client - JavaFX and HTML5 (PowerPoint Version)
Moving to the Client - JavaFX and HTML5 (PowerPoint Version)
 
JS FAST Prototyping with AngularJS & RequireJS
JS FAST Prototyping with AngularJS & RequireJSJS FAST Prototyping with AngularJS & RequireJS
JS FAST Prototyping with AngularJS & RequireJS
 
Spring MVC Intro / Gore - Nov NHJUG
Spring MVC Intro / Gore - Nov NHJUGSpring MVC Intro / Gore - Nov NHJUG
Spring MVC Intro / Gore - Nov NHJUG
 
Java web start Quick Reference
Java web start Quick Reference Java web start Quick Reference
Java web start Quick Reference
 
AngularJS Beginner Day One
AngularJS Beginner Day OneAngularJS Beginner Day One
AngularJS Beginner Day One
 
React Session 1.pptx
React Session 1.pptxReact Session 1.pptx
React Session 1.pptx
 
Angular Routing - Angular Hack Day Melbourne 2019
Angular Routing - Angular Hack Day Melbourne 2019Angular Routing - Angular Hack Day Melbourne 2019
Angular Routing - Angular Hack Day Melbourne 2019
 
MVC3 Development with visual studio 2010
MVC3 Development with visual studio 2010MVC3 Development with visual studio 2010
MVC3 Development with visual studio 2010
 
Graph ql subscriptions on the jvm
Graph ql subscriptions on the jvmGraph ql subscriptions on the jvm
Graph ql subscriptions on the jvm
 
React vs angular (mobile first battle)
React vs angular (mobile first battle)React vs angular (mobile first battle)
React vs angular (mobile first battle)
 
Spring GraphQL
Spring GraphQLSpring GraphQL
Spring GraphQL
 
JavaScript Revolution - 5/Nov/13 - PrDC Saskatoon, SK
JavaScript Revolution - 5/Nov/13 - PrDC Saskatoon, SKJavaScript Revolution - 5/Nov/13 - PrDC Saskatoon, SK
JavaScript Revolution - 5/Nov/13 - PrDC Saskatoon, SK
 
Why you should add React to your Rails application now!
Why you should add React to your Rails application now!Why you should add React to your Rails application now!
Why you should add React to your Rails application now!
 
Advance Java Tutorial | J2EE, Java Servlets, JSP, JDBC | Java Certification T...
Advance Java Tutorial | J2EE, Java Servlets, JSP, JDBC | Java Certification T...Advance Java Tutorial | J2EE, Java Servlets, JSP, JDBC | Java Certification T...
Advance Java Tutorial | J2EE, Java Servlets, JSP, JDBC | Java Certification T...
 
Comparing Native Java REST API Frameworks - Seattle JUG 2022
Comparing Native Java REST API Frameworks - Seattle JUG 2022Comparing Native Java REST API Frameworks - Seattle JUG 2022
Comparing Native Java REST API Frameworks - Seattle JUG 2022
 

More from Barbara Ondrisek

Lessons learned creating a virtual personality - Botscamp - Ondrisek
Lessons learned creating  a virtual personality - Botscamp - OndrisekLessons learned creating  a virtual personality - Botscamp - Ondrisek
Lessons learned creating a virtual personality - Botscamp - Ondrisek
Barbara Ondrisek
 
Privacy Week Ondrisek - Data Security And Privacy Of Chatbots
Privacy Week Ondrisek - Data Security And Privacy Of ChatbotsPrivacy Week Ondrisek - Data Security And Privacy Of Chatbots
Privacy Week Ondrisek - Data Security And Privacy Of Chatbots
Barbara Ondrisek
 
Ondrisek @ DevTernity "Insights into Chatbot Development - Implementing Cros...
Ondrisek @ DevTernity  "Insights into Chatbot Development - Implementing Cros...Ondrisek @ DevTernity  "Insights into Chatbot Development - Implementing Cros...
Ondrisek @ DevTernity "Insights into Chatbot Development - Implementing Cros...
Barbara Ondrisek
 
Risiken von E-voting - CryptoParty - Ondrisek
Risiken von E-voting - CryptoParty - OndrisekRisiken von E-voting - CryptoParty - Ondrisek
Risiken von E-voting - CryptoParty - Ondrisek
Barbara Ondrisek
 
"Chatbots vs. Apps" Cospace ViennaValley Ondrisek
"Chatbots vs. Apps" Cospace ViennaValley Ondrisek"Chatbots vs. Apps" Cospace ViennaValley Ondrisek
"Chatbots vs. Apps" Cospace ViennaValley Ondrisek
Barbara Ondrisek
 
Insights into Chatbot Development - Implementing Cross-Platform Chatbots
Insights into Chatbot Development - Implementing Cross-Platform ChatbotsInsights into Chatbot Development - Implementing Cross-Platform Chatbots
Insights into Chatbot Development - Implementing Cross-Platform Chatbots
Barbara Ondrisek
 
The Austrian Chatbot Ecosystem - Startup Live Brussels - Ondrisek
The Austrian Chatbot Ecosystem - Startup Live Brussels - OndrisekThe Austrian Chatbot Ecosystem - Startup Live Brussels - Ondrisek
The Austrian Chatbot Ecosystem - Startup Live Brussels - Ondrisek
Barbara Ondrisek
 
Best Practices At Implementing A Cross Platform Chatbot - Webclerks Meetup - ...
Best Practices At Implementing A Cross Platform Chatbot - Webclerks Meetup - ...Best Practices At Implementing A Cross Platform Chatbot - Webclerks Meetup - ...
Best Practices At Implementing A Cross Platform Chatbot - Webclerks Meetup - ...
Barbara Ondrisek
 
The Success Story of Mica, the Hipster Cat Bot
The Success Story of Mica, the Hipster Cat BotThe Success Story of Mica, the Hipster Cat Bot
The Success Story of Mica, the Hipster Cat Bot
Barbara Ondrisek
 
Ondrisek - Mica, the Hipster Cat Bot - Talkabot
Ondrisek - Mica, the Hipster Cat Bot - Talkabot Ondrisek - Mica, the Hipster Cat Bot - Talkabot
Ondrisek - Mica, the Hipster Cat Bot - Talkabot
Barbara Ondrisek
 
Simple Mobile Development With Ionic - Ondrisek
Simple Mobile Development With Ionic - OndrisekSimple Mobile Development With Ionic - Ondrisek
Simple Mobile Development With Ionic - Ondrisek
Barbara Ondrisek
 

More from Barbara Ondrisek (13)

Lessons learned creating a virtual personality - Botscamp - Ondrisek
Lessons learned creating  a virtual personality - Botscamp - OndrisekLessons learned creating  a virtual personality - Botscamp - Ondrisek
Lessons learned creating a virtual personality - Botscamp - Ondrisek
 
Privacy Week Ondrisek - Data Security And Privacy Of Chatbots
Privacy Week Ondrisek - Data Security And Privacy Of ChatbotsPrivacy Week Ondrisek - Data Security And Privacy Of Chatbots
Privacy Week Ondrisek - Data Security And Privacy Of Chatbots
 
Ondrisek @ DevTernity "Insights into Chatbot Development - Implementing Cros...
Ondrisek @ DevTernity  "Insights into Chatbot Development - Implementing Cros...Ondrisek @ DevTernity  "Insights into Chatbot Development - Implementing Cros...
Ondrisek @ DevTernity "Insights into Chatbot Development - Implementing Cros...
 
Risiken von E-voting - CryptoParty - Ondrisek
Risiken von E-voting - CryptoParty - OndrisekRisiken von E-voting - CryptoParty - Ondrisek
Risiken von E-voting - CryptoParty - Ondrisek
 
"Chatbots vs. Apps" Cospace ViennaValley Ondrisek
"Chatbots vs. Apps" Cospace ViennaValley Ondrisek"Chatbots vs. Apps" Cospace ViennaValley Ondrisek
"Chatbots vs. Apps" Cospace ViennaValley Ondrisek
 
Insights into Chatbot Development - Implementing Cross-Platform Chatbots
Insights into Chatbot Development - Implementing Cross-Platform ChatbotsInsights into Chatbot Development - Implementing Cross-Platform Chatbots
Insights into Chatbot Development - Implementing Cross-Platform Chatbots
 
The Austrian Chatbot Ecosystem - Startup Live Brussels - Ondrisek
The Austrian Chatbot Ecosystem - Startup Live Brussels - OndrisekThe Austrian Chatbot Ecosystem - Startup Live Brussels - Ondrisek
The Austrian Chatbot Ecosystem - Startup Live Brussels - Ondrisek
 
Best Practices At Implementing A Cross Platform Chatbot - Webclerks Meetup - ...
Best Practices At Implementing A Cross Platform Chatbot - Webclerks Meetup - ...Best Practices At Implementing A Cross Platform Chatbot - Webclerks Meetup - ...
Best Practices At Implementing A Cross Platform Chatbot - Webclerks Meetup - ...
 
The Success Story of Mica, the Hipster Cat Bot
The Success Story of Mica, the Hipster Cat BotThe Success Story of Mica, the Hipster Cat Bot
The Success Story of Mica, the Hipster Cat Bot
 
Ondrisek - Mica, the Hipster Cat Bot - Talkabot
Ondrisek - Mica, the Hipster Cat Bot - Talkabot Ondrisek - Mica, the Hipster Cat Bot - Talkabot
Ondrisek - Mica, the Hipster Cat Bot - Talkabot
 
Simple Mobile Development With Ionic - Ondrisek
Simple Mobile Development With Ionic - OndrisekSimple Mobile Development With Ionic - Ondrisek
Simple Mobile Development With Ionic - Ondrisek
 
keyosk
keyoskkeyosk
keyosk
 
Hicss 42 Presentation
Hicss 42 PresentationHicss 42 Presentation
Hicss 42 Presentation
 

Recently uploaded

Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Nexer Digital
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
Neo4j
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
Kumud Singh
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
James Anderson
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex ProofszkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
Alex Pruden
 
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Zilliz
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
Pierluigi Pugliese
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
SOFTTECHHUB
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
KAMESHS29
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 

Recently uploaded (20)

Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex ProofszkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
 
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 

JQuery Conf Berlin - Ondrisek - From Java To AngularJS (without pain)

Editor's Notes

  1. Hello! My name is Barbara Ondrisek and I&amp;apos;m working as a freelancer for almost 15 years for different companies mostly on Java web projects, but I also like mobile development – especially Android. Currently I&amp;apos;m working for the Erste Bank on the new Version of their netbanking system George.
  2. I have a strong Java background – I love Java - but I always wanted to keep in touch with the Frontend. So last year my team leader asked me wheater I want to join a Full Stack team. BUT! They use JavaScript
  3. BUT Java developers fear Java Script. Why? ps. first I wanted to make a presentation solely with cat pictures but I decided against it
  4. For me object oriented Java is so comforting because it uses a lot of structure – law and order, especially for the &amp;quot;Special Victims Unit&amp;quot; the Java Server Faces guys. There is a huge barrier when you start programming Java, especially when you come from &amp;quot;script land&amp;quot;. But there are many very handy frameworks and standard tools such as Maven, JPA, or Spring that might help you with developing reliable large scale web apps. And for us Java people JS looks like...
  5. Sodom and Gomorrha, because there are sooo many frameworks and tools and noone standardizes anything. Of cause there are certain streams to use structural frameworks such as Backbone, React, ... and now Ecma Script 6 is coming... But for me as a Java developer JS was always a place where every thing is allowed and possible and you can do whatever comes to your mind...
  6. I mean seriously
  7. ...eval is the same as ...
  8. ...evil!
  9. What ever prgramm any antipattern that comes into your mind such as spaghetti code (this is actually a picture of my lunch last week), extension of objects, pollution of the global Namespace, improper Use of Truthy and Falsey Evaluation etc. JS has no standardisation, millions of different, frameworks and github projects... All those strange &amp;quot;undefined is not a function&amp;quot;s and &amp;quot;object Object&amp;quot;s (when you print out a variable and HTML code mixed with javascript... No IDE, no debugging...
  10. Some might see through the matrix, but not many can handle JS code in a proper way that it is maintainable or scalable. BUT web app implementations in Java aren&amp;apos;t much better: ps. now I&amp;apos;m coming to the a little more serious part of my presentation.
  11. Your code base usually grows very fast and you need structure. Model-View-Controller is a pattern meaning the separation of concerns. You seperate the presentation (the view) from the program&amp;apos;s logic (the controller) and the data layer (the model). There are several ways to achieve MVC in Java. A good approach is Spring MVC with Spring Web Flow - but there are also bad and very bad approaches such as JSP or JSF with Beans or Servlets. Old technology I contributed some bad still on my own. So the solution is:
  12. AngularJS FTW! The self-called &amp;quot;Superheroic JavaScript MVW Framework&amp;quot; AngularJS is a state of the art JavaScript tool for single page web applications that offers a lot that JS alone does not - namely structure. And it&amp;apos;s from Google so it can&amp;apos;t be &amp;quot;bad&amp;quot;. In jQuery apps the DOM often represents the model, but with Angular the business logic is decoupled from DOM manipulation. And just a litte disclaimer: I&amp;apos;m talking about Angular 1, not 2, because AFAIK it&amp;apos;s still BETA.
  13. Angular calls their principle &amp;quot;Model-View-Whatever&amp;quot;: You have a single page app devided into modules such as the login, a main screen, config). Simply speaking: An Angular app is a collection of modules. A module consists of different components: * Model (Services / Factories &amp;lt;-&amp;gt; REST API) * &amp;lt;-&amp;gt; Controller (Controllers) * &amp;lt;-&amp;gt; View (Templates with build in Directives)
  14. Here you find a simple html file. I include the angular dependency as js script in the header and define that this references an angular app with &amp;quot;ng-app&amp;quot;. With a very simple reference to &amp;quot;ng-model&amp;quot; I define an object (through data binding) in the current scope respectively DOM that will be initialized on runtime. Next I just display it by referencing it inside this curly braces, which means that it will be &amp;quot;printed out&amp;quot; in the HTML.
  15. When you now open the html file in a browser the browser loads this mini app and when you now enter something in the input field the value is displayed here in this span immediately.
  16. Easy, isn&amp;apos;t it?
  17. Now you add some swag: A Controller. This is an example app I wrote for my talk here, but it is also used with a side project of me: The Hungry? App, an app that uses your location to show you venues such as restaurants close by. In this app you can also save your favorite venue in a list. And this is done on a server. For this server, a REST API, I made this Angular frontend. With &amp;quot;ng-controller&amp;quot; you define a function that encapsulates our logic that is defined in a separate js file. You also have integrated form validations. Here the input type is text with a max lenght of 30. You can also define something like floats or regexs.
  18. A typical controller is placed in a seperate module – in this case we only have one, that is the app, but in the next example there will be more... Now you define the controller as a function that contains the app&amp;apos;s logic such as scope objects and different functions to handle data. This a a super simple example so let me show you a little bit more.
  19. Here you see...
  20. In this example you see the different modules: I defined a module &amp;quot;hungry.controllers&amp;quot;, a module &amp;quot;hungry.constants&amp;quot; and &amp;quot;hungry.factories&amp;quot;. The factories module is the model module, in Angular it is called &amp;quot;Factory&amp;quot;. With my factory I can fetch data from my REST API. This is accomplished with the resource library that I referenced in the html and injected here into my factory. I defined a constants module for some fixed values such as the API path and I defined different controllers. The angular resource library is a jquery tool to fetch data.
  21. Dependency injection is the most amazing feature of AngularJS. It allows you to declaratively describe how your application is wired. This means that your application needs no main() method which is usually an unmaintainable mess. You work modular and can also simply remove or replace components.
  22. Directives is a unique and powerful feature available only in Angular. Directives let you invent new HTML syntax, specific to your application. At a high level, directives are markers on a DOM element (such as an attribute, element name, comment or CSS class) that tell AngularJS&amp;apos;s HTML compiler to attach a specified behavior to that DOM element (e.g. via event listeners), or even to transform the DOM element and its children. Directives are pretty handy, but hard to test because of the HTML code. This is a simple example. One can also use reusable HTML templates and add lots of complexity. Nice is that the scope is directly seperated.
  23. Localization An important part of serious apps is localization. Angular&amp;apos;s locale aware filters and stemming directives give you building blocks to make your application available in all locales. Angular supports i18n/l10n for date, number and currency filters.
  24. Deep Linking A deep link reflects where the user is in the app, this is useful so users can bookmark and email links to locations within apps. Round trip apps get this automatically, but AJAX apps by their nature do not. AngularJS combines the benefits of deep link with desktop app-like behavior. Angular is a single page app, but with these routes you can set ...
  25. For views we use jade templates in our project. And you can nest them inside of each other. Such as headers, menues, and other reusable components
  26. For views we use jade templates in our project. And you can nest them inside of each other.
  27. For views we use jade templates in our project. And you can nest them inside of each other.
  28. Structure by type: controllers, directives, services templates Structure by features
  29. Testable AngularJS was designed from ground up to be testable. It encourages behavior-view separation, comes pre-bundled with mocks, and takes full advantage of dependency injection. It also comes with end-to-end scenario runner which eliminates test flakiness by understanding the inner workings of AngularJS. As tools there are karma and phantom JS. Angular has a built-in mock framework &amp;quot;angular.mock.module&amp;quot;.
  30. Build with gulp! Gulp: Task runner built on Node.js. Build process (less, coffee script / jasmine, jade) Gulp + extensions, such as - babel for ES6 support - lodash
  31. Dependencies are managed by bower resp. Webpack. overview of supporting state of the art frameworks: npm FTW! Bower: Package manager (lodash ) Gulp: Task runner built on Node.js. Build process (less, coffee script / jasmine, jade) Bootstrap UI
  32. overview of supporting state of the art frameworks: npm FTW! lodash Bootstrap UI Etc.etc.
  33. No pain, no gain? Best practices are: Define controllers, factories etc. in seperate files Cache dependencies Don&amp;apos;t use $rootScope. At all. Never live reload as tool Debug in IntelliJ Lessons Learned Integration in mvn, gulp in build (win vs. Osx) Test coverage (no integration in sonar?)
  34. No Downsides at all! ...just kidding
  35. Downsides Structure is provided but not enforced The code is only as good as its programmers Why I love Angular MVC (MVW) Modular design Declarative approach Active development - community