HP Software Developers Blog
HP Software Developers thought leadership around software architecture and design, cloud data modeling, mobile technologies, big data, performance programming and more.

Intuitive AngularJS testing with Jasmine

AngularJS was designed from ground up to be testable” in this presentation Eitan Peer shows how to test angular.js apps  intuitively with Jasmine

Labels: web

Detect HTML5/CSS3 Features Using the Modernizr JavaScript Library

In the past, when we developed an application or website, there was a limited variety of browsers: Microsoft Internet Explorer and Netscape. The changes between the browsers forced the developers to detect the browser type by user string and load the appropriate JavaScript file accordingly.


Now there are a huge variety of browsers— five major desktop browsers—and countless browsers on other platforms, including mobile and gaming consoles. Now that you have an image of all the different browsers that we come into contact with daily, remember that almost all the major browsers update frequently.  Each of these updates affect (sometimes heavily)  the features that the browser supports.


In this post we will share how to use the Modernizr library in order to solve this mess...


This article has been written by Ran Bar-Zik

What goes around comes around (Javascript testing with Jasmine and Karma)

My team uses AngularJS which was written with testing in mind “so there is no excuse for not testing”.

The dependency injection mechanism it uses is powerful for substituting real dependencies with fake ones for testing in isolation.

Separation of concerns is also inherent in the framework, so that logical code is tested separately from presentation logic.


Our chosen testing framework is Jasmine and we use the spectacular test runner for Javascript - Karma.


This post was written by Eitan Peer

Labels: web

JavaScript Inheritance Revisited - part 2

The second part of the JavaScript Inheritance Revisited blog post

This post focuses on what other frameworks and compiled-to-js languages are doing in terms of inheritance.

Labels: web

JavaScript Inheritance Revisited

JavaScript is an excellent language for Object Oriented programming although its prototypical inheritance mechanism is often misunderstood. Alex Sexton (@slexaxton) recently posted a nice (and somewhat amusing)blog post called "Understanding JavaScript Inheritance" which gives a fresh and interesting view on the whole topic. There are numerous other articles, blog posts, etc., available around this topic. Most of them explain various ways to implement JavaScript inheritance (e.g. this and the famous one by John Resig here). The problem, as far as I can see it, is that as a newbie JavaScript developer one might be lost in the slew of the specific details that each and every such post presents. In this blog post I want to try a different approach where I create a general overview of the various methodologies without naming them with specific names (such as "Functional", "Pseudoclassical", "Pseudoclassifunctional", or "Jerry"). I hope that after reading this blog post you will be able to understand the best direction to take with your inheritance scheme.

Labels: web

CSS is dead, long live SASS

Any developer that has written some CSS probably knows the hard, sad, truth: CSS is ugly. Not only is it ugly,but it is very hard to maintain and change. CSS was the big promise of the early '00 - no more tables and HTML attributes - just add some CSS to classes and ID and style your HTML neatly with clear separation between content and design. Unfortunately that just hasn't happend.


Keep reading to find out what SASS stands for and what it means for you.


This article has been written by Ran Bar-Zik

Tags: CSS| Ran Bar-Zik| SASS
Labels: SCSS| web

The magical life of JavaScript properties

Object properties are one of the fundamental structures of JavaScript.

In this article we will explore the magical world of those JavaScript properties with emphasis on their metadata

Labels: web
Showing results for 
Search instead for 
Do you mean 
About the Author(s)
  • I've been all over the coding world since earning my degrees have worked several years in c++ and then several in java, finally setteling into c# about 7 years ago, where i spent a good amount of my time in Performance tweaking & memory debugging, as well as designing new solutions and hacking at old ones to stay in line. Computers never cease to amaze me, and i'm glad to have found a field where i get paid to do what i enjoy. some of my tools and thoughts are also stored in codeproject, and you are welcome to check them out there.
  • work as a Senior Technologist in HP Software ALM CTO office. Past experience include chief architect for Application performance management, QA manager for Business service management, developer for Real User management
  • This account is for guest bloggers. The blog post will identify the blogger.
  • Research Architect @HPSW, focused on what ALM means for developers, DevOps, user experience and other emerging practices. Previously was a functional architect and a developer in HP ALM and HP UFT products.
  • Seasoned architect with over 12 years of experience in the enterprise software business, contributing to setting the roadmap / vision, high level architecture and technology review, innovation management and product integration within HP Software portfolio.
  • Lior has over 15 years experience in the software industry in various roles – experienced in Enterprise Software and team build up . Lior Managed the HP Software ALM PCoE Group where he focused on the domain of application development and application performance management .
  • Malcolm is a functional architect, focusing on best practices and methodologies across the software development lifecycle.
  • Architect and User Experience expert with more than 10 years of experience in designing complex applications for all platforms. Currently in Operations Analytics - Big data and Analytics for IT organisations. Follow me on twitter @nuritps
  • CTO Office, Product Foundation Services, HP Software
  • Yaniv Sayers has over 15 years of experience in the IT and software industry, including software design, R&D and IT operations. Holds expertise in various spaces including IT operations, ITIL, ALM, Agile, Cloud, DevOps, Mobility and Software Architecture and Design. In current capacity Yaniv is a CTO in HP Software IT Management, responsible for planning and driving technology and innovations strategy with emphasized focus on solutions for agile development, DevOps, mobility and cloud.
HP Blog

HP Software Solutions Blog


Follow Us
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.