/
/ convert a dom element to a PDF and download it
convert( $('.invoice') ).to( 'invoice.pdf' ).download()
- nobackend.org
Dreamcode
Slide 14
Slide 14 text
/
/ convert another website to a png and show it on the page
convert( 'http:/
/exam.pl/page' ).toImage().then( $
('.screenshots').append )
- nobackend.org
Slide 15
Slide 15 text
/
/ attach a file to an email
sendEmail({
subject: "Hello, World!",
text: "This mail has been sent from the frontend",
to: "[email protected]",
attachments: [
convert( 'http:/
/exam.pl/page' ).to("screenshot.png")
]
})
- nobackend.org
Slide 16
Slide 16 text
Nobackend solutions
Slide 17
Slide 17 text
• Backend as a service
• Authentication with Facebook, twitter, Persona, etc…
• Security (access only from given IP)
• Store any object
• Analytics
• Can host your static files (=your front-end app)
Slide 18
Slide 18 text
Self hosted noBackends
applications
Slide 19
Slide 19 text
• NodeJS / CouchDB
• Offline First
• Event system
• Modules (NPM based)
• Angular + Hoodie yeoman generator
• Angular directives available
• CouchDB: no DB schema to build
Slide 20
Slide 20 text
• NodeJS / MongoDB
• Event system
• Modules (NPM based)
• Easy to install (Install exe)
• DB Schema = Server-side validation
• Event scripts for:
- security, validation, relations
• Easy to deploy
Slide 21
Slide 21 text
Finally some code
Slide 22
Slide 22 text
Questions ?
[email protected]
demo available at https:/
/github.com/NicolasRitouet/angularMeetupTeachr
https:/
/github.com/NicolasRitouet