Working with Ionic 3 (Ionic 4 still sucks for production apps) I had this weird requirement to subscribe to one Observable and in case of error, wait some time, repeat the action twice and if it fails again, catch the error and do some stuff. First I thought it's really easy to do this with … Continue reading RxJs – Retry with delay and error handling
Tag: JavaScript
I still like jQuery, Is that a sin?
No seriously, I work a lot with Angular (right now with Ionic) but I also maintain some server side rendered projects where I use jQuery... and after all this time I still love it. Everybody say that jQuery is that dark library from the middle ages of WEB development, that inevitably leads the callback hell … Continue reading I still like jQuery, Is that a sin?
Do TypeScript allows us to program like Java?
I think in many ways TypeScript is superior to Java but unfortunately, TypeScript is not a magical tool that fixes all the things wrong with JavaScript and in fact, is very dynamic and much closer to JavaScript than to Java. From my experience, many developers (especially Angular developers) don't get that. TypeScript is basically JavaScript … Continue reading Do TypeScript allows us to program like Java?
TypeScript you liar…!
I was playing with the TypeScript playground (http://www.typescriptlang.org/play/) and noticed how cool is to have a great linter that checks your code for all kinds of errors and gives you meaningful warnings. So check this out: ... and after you hit run!
How you can develop Progressive Web Apps that feel native
Probably many of you already know that, PWAs (Progressive Web Apps) are apps that can run in the browser or in a standalone window and can take advantage of native OS features, such as push notifications and the ability to work offline. Recently they’ve got a lot of media attention because they seem to be … Continue reading How you can develop Progressive Web Apps that feel native
PWAs are coming to iOS 11.3
Good news for WEB fanatics, Ricky Mondello from Apple announced on Twitter that Safari will have support for Web App Manifest and Service Workers which means multi-platform PWAs are now possible. https://twitter.com/rmondello/status/956256845311590400 PWAs or Progressive Web Applications are basically enhanced web apps. When the user regularly returns to the app, browsers will invite him to … Continue reading PWAs are coming to iOS 11.3
What happened to the WEB?
I was always into low level C/C++ stuff and most of my career I wrote desktop and server applications but during my college years, I remember I made decent amount of money by doing websites/applications for different customers. I remember that I really liked WEB development back in the days: you just needed to edit … Continue reading What happened to the WEB?
Top JavaScript Libraries to Learn in 2018
As you may know, there are tons of JavaScript libraries out there and probably will be even more in 2018. While this is, arguably, a good thing, cuz everybody is free to write whatever library or framework wants, I think that you should be insanely stupid to think that as a software developer, you should … Continue reading Top JavaScript Libraries to Learn in 2018
Fast food development
These days everybody wants to write web applications, cuz we all know that the web has all the cool technologies: Angular, React, Vue, you name it. More than that we can actually see JavaScript being pushed everywhere including mobile and desktop. Java, C++, native applications are all obsolete! Ionic and Electron are the future. Well, … Continue reading Fast food development
Redirect via JavaScript
Sometimes you need to redirect to a page from client side JavaScript. You can do this in two ways: Go to a specific page with a "link pressed" like behavior. That means that your current page will be put into the browser's back stack: Do not add the current page to the back stack. This … Continue reading Redirect via JavaScript