On-line tools
Wednesday, August 31, 2016
Tuesday, August 30, 2016
PaaS
"Application infrastructure functionality, enriched with cloud characteristics and offered as a service,
is platform as a service (PaaS). Gartner refers to it more precisely as cloud application infrastructure services."
"Application platform as a service (aPaaS) is a form of PaaS that provides a platform to
support application development, deployment and execution in the cloud."
Pure PaaS players
PaaS frameworks
References- Pivotal Cloud Foundry.
- Red Hat OpenShift.
- Aprendaa.
- Heroku.
- Engine Yard.
IaaS hybrid players
- Google?
- Microsoft Azure Cloud Services?
- Amazon AWS
- ...
SaaS hybrids players
- Salesforce
- ...
PaaS frameworks
- Pivotal Cloud Foundry.
- Red Hat OpenShift.
- Apache Stratos.
Related software
- OpenStack
- Docker
- Kubernetes
- Chef
- OpenStack
- Docker
- Kubernetes
- Chef
- PaaS and IaaS have really crossed features: http://www.gfi.com/blog/is-paas-the-new-cloud-or-a-passe-term/
- aPaaS Grtner Magic Quadrant 2015: https://www.ibm.com/cloud-computing/files/GARTNER_COMP_magic_quadrant_for_enterpris_271188_Bluemix.pdf
Friday, August 26, 2016
Functional programming
- Why:
- General sateless tendency: cloud & scaling
- No locks (multi-thread)
- Easy reading
- Easy testing
- JavaScript boom?
- How:
- Pure functions (no side-effects)
- Immutability
- Composition (not inheritance)
- Deferred execution
- Currying
- ...
- Related: funcional reactive programming.
https://www.cs.kent.ac.uk/people/staff/dat/miranda/whyfp90.pdf
FP Languages
- Erlang
- Haskell
- OCami
- LISP
- Scheme
- Standard ML
- Wolfram
- Frege (JVM): https://github.com/Frege/frege
- Clojure (JVM)
Hybrid Languages
- Scala (JVM)
- F#
Monday, August 22, 2016
Nginx reverse proxy
proxy_pas without path:
location /some/path/ {
location /some/path/ {
proxy_pass http://new.domain;
}
}
http://orig.domain/some/path/x --> http://new.domain/some/path/x
proxy_pas case insensitive:
location ~* /some/path/ {
proxy_pass http://new.domain;
}
proxy_pas case insensitive:
location ~* /some/path/ {
proxy_pass http://new.domain;
}
http://orig.domain/SOME/Path/x --> http://new.domain/SOME/Path/x
SSL:
- Redirect HTTP to HTTPS: https://bjornjohansen.no/redirect-to-https-with-nginx
- Certificate: https://www.digitalocean.com/community/tutorials/how-to-create-a-ssl-certificate-on-nginx-for-centos-6
- Optimal (TLS, etc): https://bjornjohansen.no/optimizing-https-nginx
Wednesday, August 3, 2016
Multiple browser windows applications
Basic Techniques:
- HTML5 postMessage: provides inter-windows message based communication.
- HTML5 local storage: provides a shared storage for all the windows. Windows can be notified of local storage updates through events so this technique can also be used as a postMessage replacement.
- Direct JS: to be tested. ¿limitations?.
childWin = openWindow();
childWin.anyFunction();
Auxiliary techniques
- HTML5 Webworkers.
- Angular app bootstraping tweaks.
- Web-workers / postMessage: https://www.youtube.com/watch?v=-o8B4TE18gI
- Setting the size and position (demo): https://hsablonniere.github.io/window-popup/
- Multiple A2 apps on the same page: https://blog.sstorie.com/bootstrapping-multiple-angular-2-applications-on-the-same-page/
- Sync AngularJS apps through local storage: https://www.undefinednull.com/2014/02/25/angularjs-real-time-model-persistence-using-local-storage/
- Shared authentication through local storage: https://www.guya.net/2015/06/12/sharing-sessionstorage-between-tabs-for-secure-multi-tab-authentication/
Immutables on JavaScript & TypeScript
- JS (most used): https://facebook.github.io/immutable-js/
- JS: https://github.com/rtfeldman/seamless-immutable
- TypeScript lib (decorators): https://github.com/danielearwicker/doop
- TypeScript 2.0 readonly: https://basarat.gitbooks.io/typescript/content/docs/types/readonly.html
Subscribe to:
Posts (Atom)