Agenda
●
Introduction
●
Creating a framework
●
[code] Mixins / Proxies
●
[code] Identifers
●
[code] Component example
Me
●
Joep van der Heijden
●
24 years old
●
Graduated 2013
Software Engineering
Fontys University
●
Work:
●
Java (Android)
...
Creating a framework
Why?
Everyone should (try to) make a framework
(or contribute)
Missing the magic in existing framewor...
Creating a framework
What should it do?
Provide an environment for Rapid
Application Development
Creating a framework
What do others do?
●
MVC
●
ORM
●
Router (but you have to write your own routes)
●
Hooks
Creating a framework
What to do?
●
MVC
●
ORM
●
Router (without having to write your own routes)
●
Hooks
●
Component driven...
Mixins / Proxies
Code
Identifers
[scheme]://[authority]/[package].[path].[name]
Example:
com://site/customers.controller.customer
Identifers
Get Objects by identifer with fallbacks
Example:
com://site/customers.controller.customer
Result: BaseControlle...
Identifers
Code
What's next
●
First: stable v1 release with examples
●
Look at ecmascript 6 features
●
Future: succes ? continue : rewrite...
Homework :)
http://addyosmani.com/resources/es
sentialjsdesignpatterns/book/
https://github.com/lukehoban/es6fe
atures
Sub...
Upcoming SlideShare
Loading in …5
×

[NijmegenJS] Node.js - 2014/04/25

360 views

Published on

About mixins, proxies and identifiers in Node.js

Published in: Internet, Technology, Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
360
On SlideShare
0
From Embeds
0
Number of Embeds
9
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

[NijmegenJS] Node.js - 2014/04/25

  1. 1. Agenda ● Introduction ● Creating a framework ● [code] Mixins / Proxies ● [code] Identifers ● [code] Component example
  2. 2. Me ● Joep van der Heijden ● 24 years old ● Graduated 2013 Software Engineering Fontys University ● Work: ● Java (Android) ● Javascript (Angular.js, Node.js, others stuf) ● PHP (Joomla/Nooku) https://github.com/Klaasvaak
  3. 3. Creating a framework Why? Everyone should (try to) make a framework (or contribute) Missing the magic in existing frameworks
  4. 4. Creating a framework What should it do? Provide an environment for Rapid Application Development
  5. 5. Creating a framework What do others do? ● MVC ● ORM ● Router (but you have to write your own routes) ● Hooks
  6. 6. Creating a framework What to do? ● MVC ● ORM ● Router (without having to write your own routes) ● Hooks ● Component driven ● Stimulate reuse of code (mixins) ● Magic! ● JWT (https://tools.ietf.org/html/draft-jones-json-web-token-10)
  7. 7. Mixins / Proxies Code
  8. 8. Identifers [scheme]://[authority]/[package].[path].[name] Example: com://site/customers.controller.customer
  9. 9. Identifers Get Objects by identifer with fallbacks Example: com://site/customers.controller.customer Result: BaseController or CustomerController
  10. 10. Identifers Code
  11. 11. What's next ● First: stable v1 release with examples ● Look at ecmascript 6 features ● Future: succes ? continue : rewrite for express
  12. 12. Homework :) http://addyosmani.com/resources/es sentialjsdesignpatterns/book/ https://github.com/lukehoban/es6fe atures Subscribe on: http://javascriptweekly.com/ http://nodeweekly.com/ https://www.destroyallsoftware.com/ talks/wat https://www.destroyallsoftware.com/ talks/the-birth-and-death-of-javasc ript http://nodejsreactions.tumblr.com/ http://nooku.org(inspiration)

×