zsoltnagy.eu
Functional and Object Oriented Programming with Higher Order Functions – Zsolt Nagy
http://www.zsoltnagy.eu/functional-and-object-oriented-programming-with-higher-order-functions
Development of Maintainable Web Applications. Development of Maintainable Web Applications. Functional and Object Oriented Programming with Higher Order Functions. Get The Developer’s Edge! Functional and Object Oriented Programming with Higher Order Functions. This entry was posted in JavaScript Basics. And tagged Functional Programming. Why is functional programming good? If you write code in a functional style, all your functions are side effect free. Examples for functional programming utilities.
zsoltnagy.eu
Cookie Policy – Zsolt Nagy
http://www.zsoltnagy.eu/cookie-policy
Development of Maintainable Web Applications. Development of Maintainable Web Applications. Get The Developer’s Edge! Which offers guidance for all modern browsers. If you liked this article and think others should read it, please share it on Twitter. Middot; Designed by. Middot; Powered by. Would you like to learn ES6? Strengthen your JavaScript knowledge with marketable skills! Get the Course "ES6 in Practice"! Verify your knowledge with real world exercises. Thank you for your subscription.
zsoltnagy.eu
Ten Productivity Tips for Software Developers – Zsolt Nagy
http://www.zsoltnagy.eu/ten-productivity-tips-for-software-developers
Development of Maintainable Web Applications. Development of Maintainable Web Applications. Ten Productivity Tips for Software Developers. Get The Developer’s Edge! Ten Productivity Tips for Software Developers. This entry was posted in Productivity. I have tested multiple software developers on this topic. The absolutely worst example I have seen spanned about 50 browser tabs across 4-5 different browser instances. Some people find an interesting article and keep it open for weeks. I mentioned that I us...
zsoltnagy.eu
My 8 Step Code Review Process – Zsolt Nagy
http://www.zsoltnagy.eu/my-8-step-code-review-process
Development of Maintainable Web Applications. Development of Maintainable Web Applications. My 8 Step Code Review Process. Get The Developer’s Edge! My 8 Step Code Review Process. This entry was posted in Web Applications. Developing and maintaining web applications requires code changes of excellent quality. When a team develops an application for years, team members lose track of some updates. Developers tend to make more mistakes when touching code they are not familiar with. Testing and Code Review.
zsoltnagy.eu
Cloning Objects in JavaScript – Zsolt Nagy
http://www.zsoltnagy.eu/cloning-objects-in-javascript
Development of Maintainable Web Applications. Development of Maintainable Web Applications. Cloning Objects in JavaScript. Get The Developer’s Edge! Cloning Objects in JavaScript. This entry was posted in JavaScript Basics. And tagged Functional Programming. Cloning can be quite complex. Prototypal inheritance, reference types. Cloning methods of most libraries are implemented using shallow copying. One example is. The clone method of UnderscoreJs. This definition has some implications. Recall the. Chang...
zsoltnagy.eu
Principles of Debugging Web Applications – Zsolt Nagy
http://www.zsoltnagy.eu/principles-of-debugging-web-applications
Development of Maintainable Web Applications. Development of Maintainable Web Applications. Principles of Debugging Web Applications. Get The Developer’s Edge! Principles of Debugging Web Applications. This entry was posted in Web Applications. And tagged Automated Testing. It is worth investing some time and effort in fine tuning our debugging skills. I will show you a couple of tips to widen your debugging arsenal. I will also give you ideas that let you locate bugs with less work. Your most important ...
zsoltnagy.eu
SinonJs Mocks – Zsolt Nagy
http://www.zsoltnagy.eu/sinonjs-mocks
Development of Maintainable Web Applications. Development of Maintainable Web Applications. Get The Developer’s Edge! This entry was posted in Test Automation. And tagged Automated Testing. This is part 5 of the automating testing series with Mocha, Chai and SinonJs. Part 1. Introduce the Mocha automated testing framework and the Chai assertion library. We then learned how to use SinonJs spies. The mocking process works as follows:. 2 formulate your expectations. To be called once, same as once(). The fo...
zsoltnagy.eu
Fake Servers in SinonJs – Zsolt Nagy
http://www.zsoltnagy.eu/fake-servers-in-sinonjs
Development of Maintainable Web Applications. Development of Maintainable Web Applications. Fake Servers in SinonJs. Get The Developer’s Edge! Fake Servers in SinonJs. This entry was posted in Test Automation. And tagged Automated Testing. Use cases for SinonJs fake servers. Creating a fake server. Let’s create a. And respond their requests using fake servers. 1 Initialize the fake server. 2 Perform ajax requests. Website report has been fetched'. Quick Stats have been fetched'. 4 Restore the server.
zsoltnagy.eu
Fake Timers with SinonJs – Zsolt Nagy
http://www.zsoltnagy.eu/fake-timers-with-sinonjs
Development of Maintainable Web Applications. Development of Maintainable Web Applications. Fake Timers with SinonJs. Get The Developer’s Edge! Fake Timers with SinonJs. This entry was posted in Test Automation. And tagged Automated Testing. Tests suites tend to grow together with applications. It is quite common that you need a significant amount of time to execute all your unit tests. Under these circumstances, you cannot afford to waste 5 secons on waiting for a. Var clock = sinon.useFakeTimers();.
zsoltnagy.eu
Ten Tips for Writing Maintainable Code in BackboneJs – Zsolt Nagy
http://www.zsoltnagy.eu/ten-tips-for-writing-maintainable-code-in-backbonejs
Development of Maintainable Web Applications. Development of Maintainable Web Applications. Ten Tips for Writing Maintainable Code in BackboneJs. Get The Developer’s Edge! Ten Tips for Writing Maintainable Code in BackboneJs. This entry was posted in Web Applications. 1 Manipulating DOM elements outside the scope of a Backbone View. Var CodeEditorView = Backbone.View.extend({ events : { 'change .js-code-textarea': this.codeChanged }, codeChanged : function( e ) { var contents = $( e.t...Suppose that you ...