Quantcast
Channel: Infragistics Community
Viewing all 2398 articles
Browse latest View live

Mobile Performance Testing - JSON vs XML

$
0
0

Introduction

It doesn't matter if you're loading a configuration file, data set or even something obtained from a website to use as a data source, there is a performance tradeoff you'll encounter because of the processing time that occurs while parsing JSON or XML. This blog post covers how well loading and reading JSON & XML files using native APIs perform on iOS & Android.

Test Files

To test performance the SouthWind data set was used for JSON and XML. Both data sets are of roughly the same size, 1.3mb, and contain the same information. Source code used for the performance is provided below. The source for each project is quite generic and simply loads the data set file and reads all the employees into an array. All of the timing information is output through log statements.

Android

For XML loading and reading the DocumentBuilderFactoryDocumentBuilderDocument and NodeList classes were used. For JSON loading and reading the JSONObject and JSONArray classes were used. 

Testing was done using a Kindle Fire HDX 7" tablet. The results on Android greatly varied on each run, but JSON was the faster choice by 300 milliseconds and even up to more than a second of processing time.

Android

iOS

For XML loading and reading the NSXMLParser class was used. Because of how NSXMLParser is used it required created a separate class and adopting the NSXMLParserDelegate. For JSON loading and reading the NSJSONSerialization class was used for creating an NSDictionary from the JSON. 

Testing was done using an iPad 3. The results on iOS were consistent throughout the run and provided JSON quite the edge over XML by more than a second for each of the runs.

iOS

Conclusion

As you might of guessed JSON APIs are a lot faster at loading and reading compared to XML APIs. Picking which option to use requires you to look at the entire solution you're working toward. For example, a lot of companies make use of XLST transformations with their XML which can be very powerful. If you're app doesn't need a format with a lot of overhead for extra search functionality & transformation, then JSON is the way to go. The open source community has really done a great job extending what's possible with JSON.

By Torrey Betts


UltraWebGrid to WebDataGrid Migration

$
0
0

It has beet a while since the introduction of the new ASP.NET controls based on the Aikido framework. It brought the developers a product meeting latest standards in performance and modern browser support. This turned into a major challenge for applications that need to migrate from the Ultra ASP.NET controls to the new Aikido control. We did our best trying to help developers and make the migration process as seamless as possible – we posted content on our blog, we introduced some useful resources like the Cheat Sheet that provides a quick-access guidance to the new features that were introduced in both ASP.NET AJAX grids, styling guide and all of these along with an ongoing support for the old controls. However, there are still developers that are yet to upgrade their applications due to the challenges of modern web.

It has always been our mission to delight our customers and еаse their work, while trying to achieve great functionalities with the help of our products. To do this, and to assist them through the upgrading process, we will expand our documentations and we will emphasize on the most popular for ASP.NET WebForms toolkit – WebDataGrid and the WebHierarchicalDataGrid.

This article aims to show you how to achieve a smooth transition from the old UltraWebGrid to the new WebDataGrid/WebHierarchicalDataGrid based on our Aikido framework. I hope that all documents referenced below will help you save time and energy while using our ASP.NET grids and improve your daily work with the Infragistics toolset.

Let’s continue with new topics below, which aim to explain in more details how a feature could be implemented along with code snippets and explanations.

When migrating to the WebDataGrid/WebHierarchicalDataGrid, you may not find 1-1 equivalence for some functionalities you’ve been using in the UltraWebGrid. In all of these cases the functionality is available in the new grid, but is achieved in a slightly difference manner. After all the new grid follows entirely different approaches for styling, back-end and front-end implementations, ajax capabilities, loading of data and a lot more! Also take advantage of our forum community, online samples and blogs, after all “Those who dare seek, shall find what they are seeking for”.

Enough with the sweet talks, let’s see how to migrate to the following features:

Some of the commonly asked questions that we get are “Should I migrate to the new WebDataGrid?”, “If I start to use WDG, would it be supported under IE 11 or even Edge?”, “Is it easy to maintain and extend grids functionalities?”. And the answer to all of them is simply, yes!  

Our grid is supported by all browsers out there, using of each feature is intuitive, easy and will help you to achieve almost anything.

In conclusion, don’t be afraid to implement something new, or to start using entirely different approach in order to achieve what you want.

 

 

Design, Usability and Testing the User Experience

$
0
0

Members of the Infragistics design community have been invited to speak at the 3rd annual Testing UY conference on April 26-27 in Montevideo, Uruguay. 

UX Workshop Banner

Martín Loskin, UX Architect, Claudia Badell, Senior Quality Engineer and Diego Rivero, Helena Muñoz, Joanna Arnaiz, Santiago Aguiar and Patricia Duarte, Indigo Studio Design & Development Team, will be conducting a 4 hour workshop, Testing the User Experience.

The workshop will cover:

  • Usability and user experience: an introduction to the concepts.
  • Usability Heuristics: an overview of the different heuristics and a hands-on exercise.
  • User Testing: quantitative and qualitative usability testing techniques with a focus on task-oriented testing and analytics.

Richardson Keynote Presentation Banner

Kevin Richardson, Director of User Experience, will be delivering the closing keynote address, Design, Usability and Complex Systems.

Kevin’s presentation will answer the following questions:

  • How does complex software need to evolve in order to become truly innovative?
  • Why will this “evolution” usher in a new era in product development?
  • How can the risk associated with existing software development processes, such as Waterfall and Agile, be significantly lowered by following a Design process?

 

Testing UY is a software testing professionals conference, held annually in Montevideo, Uruguay. Testing UY consists of workshops and lectures dedicated to sharing software testing experience and knowledge, exploring the latest trends in software development and test automation, new technologies and best practices as well as improving software quality.

Developer News - What's IN with the Infragistics Community? (4/4-4/17)

$
0
0

Here we are with another edition of Developer News! If you're just joining the series, Developer News is a curated content series by YOU, the Infragistics Community! Based on our social media profiles, we share the most popular and informative content a second time, twice weekly, so you don't miss out on the good stuff!

Here are this round's picks:

4. Coding Inspiration: For Anyone Who Has Been Turned Down by 18 Companies (HackerRank)

3. 18 Web Development Conferences to Attendin 2016: Be There or Be Square! (Usersnap)

2. Machines that Learn to Code and Take Your Job (Dev.To)

1. 6 Essential Tips for Getting Started as a JavaScript Developer (DebugMe)

Silverlight Release Notes – 16.1 Volume Release

$
0
0

Release notes reflect the state of resolved bugs and new additions from the previous release. You wll find these notes useful to help determine the resolution of existing issues from a past release and as a means of determining where to test your applications when upgrading from one version to the next.

Release notes are available in both PDF and Excel formats. The PDF summarizes the changes to this release along with a listing of each item. The Excel sheet includes each change item and makes it easy for you to sort, filter and otherwise manipulate the data to your liking.

Download the Release Notes

WPF Release Notes – April: 16.1 Volume Release

$
0
0

Release notes reflect the state of resolved bugs and new additions from the previous release. You wll find these notes useful to help determine the resolution of existing issues from a past release and as a means of determining where to test your applications when upgrading from one version to the next.

Release notes are available in both PDF and Excel formats. The PDF summarizes the changes to this release along with a listing of each item. The Excel sheet includes each change item and makes it easy for you to sort, filter and otherwise manipulate the data to your liking.

Download the Release Notes

Silverlight Release Notes – March: 15.1, 15.2 Service Releases

$
0
0

Release notes reflect the state of resolved bugs and new additions from the previous release. You will find these notes useful to help determine the resolution of existing issues from a past release and as a means of determining where to test your applications when upgrading from one version to the next.

Release notes are available in both PDF and Excel formats. The PDF summarizes the changes to this release along with a listing of each item. The Excel sheet includes each change item and makes it easy for you to sort, filter and otherwise manipulate the data to your liking.

In order to download release notes, use the following links:

Silverlight 2015 Volume 1 Service Release

Silverlight 2015 Volume 2 Service Release

WPF Release Notes – March: 15.1, 15.2 Service Releases

$
0
0

Release notes reflect the state of resolved bugs and new additions from the previous release. You will find these notes useful to help determine the resolution of existing issues from a past release and as a means of determining where to test your applications when upgrading from one version to the next.

Release notes are available in both PDF and Excel formats. The PDF summarizes the changes to this release along with a listing of each item. The Excel sheet includes each change item and makes it easy for you to sort, filter and otherwise manipulate the data to your liking.

In order to download release notes, use the following links:

WPF 2015 Volume 1 Service Release

WPF 2015 Volume 2 Service Release


Xamarin Forms Release Notes – March: 15.1, 15.2 Service Releases

$
0
0

Release notes reflect the state of resolved bugs and new additions from the previous release. You will find these notes useful to help determine the resolution of existing issues from a past release and as a means of determining where to test your applications when upgrading from one version to the next.

Release notes are available in both PDF and Excel formats. The PDF summarizes the changes to this release along with a listing of each item. The Excel sheet includes each change item and makes it easy for you to sort, filter and otherwise manipulate the data to your liking.

In order to download release notes, use the following links:

Xamarin Forms 2015 Volume 1 Service Release

Xamarin Forms 2015 Volume 2 Service Release

Android Release Notes – March: 15.2 Service Release

$
0
0

Release notes reflect the state of resolved bugs and new additions from the previous release. You will find these notes useful to help determine the resolution of existing issues from a past release and as a means of determining where to test your applications when upgrading from one version to the next.

Release notes are available in both PDF and Excel formats. The PDF summarizes the changes to this release along with a listing of each item. The Excel sheet includes each change item and makes it easy for you to sort, filter and otherwise manipulate the data to your liking.

In order to download release notes, use the following links:

Android 2015 Volume 2 Service Release

Android Release Notes – April: 16.1 Volume Release

$
0
0

Release notes reflect the state of resolved bugs and new additions from the previous release. You wll find these notes useful to help determine the resolution of existing issues from a past release and as a means of determining where to test your applications when upgrading from one version to the next.

Release notes are available in both PDF and Excel formats. The PDF summarizes the changes to this release along with a listing of each item. The Excel sheet includes each change item and makes it easy for you to sort, filter and otherwise manipulate the data to your liking.

Download the Release Notes

Xamarin Forms Release Notes – 16.1 Volume Release

$
0
0

Release notes reflect the state of resolved bugs and new additions from the previous release. You wll find these notes useful to help determine the resolution of existing issues from a past release and as a means of determining where to test your applications when upgrading from one version to the next.

Release notes are available in both PDF and Excel formats. The PDF summarizes the changes to this release along with a listing of each item. The Excel sheet includes each change item and makes it easy for you to sort, filter and otherwise manipulate the data to your liking.

Download the Release Notes

Accelerate Your JavaScript & Mobile Dev Skills at XLR8 Conference 2016

$
0
0

Join us on May 14th at Sofia Event Center, Bulgaria, and hear the insights of some of the sharpest minds in the fields of JavaScript and Mobile Development!

XLR8 2016 will bring you the latest trends and best practices in today’s hottest topics in software development – JavaScript – Angular 2, ReactJs, native & hybrid mobile development & design and our bonus track for you – handy Soft Skills which will help you become an even more successful developer.

Here’s a sneak peek at some of our featured speakers and the exciting topics they'll cover at XLR8 2016:

  • Integrated Web Stack with Angular 2 (Minko Gechev, web hacker& Angular contributor)
  • Design for Constrained Productivity (Stefan Ivanov, Senior UX Architect, Infragistics)
  • Multi-threaded JS Applications in the Browser (Martin Chaov, Technical Lead, SBTech)
  • Evolution of JavaScript and Web– Past and Present Challenges (Konstantin Dinev, Platform Development Lead – Web Tools, Infragistics)
  • Neuro-linguistic Programming (NLP) Practices (Magdalena Nikolova, creator of NLP Training Center Bulgaria)
  • The WHYs and HOWs of User Research (Raya Dimitrova, UX Architect, Infragistics)
  • The Path of a Freelancer (Adrian Vladimirov, Tech Lead, Freelance)
  • Building Product Hunt for iOS (Radoslav Stankov, Web Developer, Product Hunt)
  • Keynote by Jason Beres, Vice President of Product Management, Community, and Evangelism at Infragistics
  • And much more.

Hurry up and secure your spot today!

Eventbrite - XLR8 Conference Bulgaria

Event Links

XLR8 Conference Official Website

Facebook Event

Follow @XLR8conference on Twitter

Official event hashtag: #XLR8con

#XLR8con is powered by Infragistics together with our friends and partners from MentorMate, SBTech, SuperHosting.BG and International House Sofia.

When SharePlus met Dropbox, Google Drive and OneDrive for Business

$
0
0

A new experience

Synesthesia is a particularly unique sensory condition: a neurological mismatch that results in two or more senses combining. Ingrid Carey lives with this rare but real condition. For her, the letter “N” is experienced as a sort of sienna brown, while the number “8” is orange. The pain from her shin splints throbs in hues of orange, yellow, purple and red.

Meanwhile, for Sean Day, the taste of steak produces a rich blue color, while mango sherbet offers a wall of lime green with thin, wavy strips of cherry red. For others, listening to music may result in seeing colors.

And speaking of new experiences, we recently released three new experiences in SharePlus. Given the rapid growth of cloud storage services in the last few years and the direction they are heading in the future, the logical step was to bring these different experiences to our mobile app. In 2016, we’re introducing cloud storage giants Dropbox, Google Drive & OneDrive for Business to SharePlus.

A helping hand

The addition of more cloud storage facilities to SharePlus brings a range of benefits for both individuals and teams. Above all, you and your colleagues will be able to collaborate and be productive in the way that’s most convenient to you.

Despite the rapid growth the cloud has witnessed, the ‘big three’ cloud storage providers have led the way for some time. This means that although it’s unlikely for employees to all use the same provider, the likelihood is they’ll be using either Dropbox, Google Drive or OneDrive. This is useful, but since these environments don’t ‘talk to one another’, unifying them through SharePlus should iron out any friction resulting from individuals using different cloud providers.

SharePlus users won’t have to go through the lengthy process of switching providers and moving all their content from one location to another. For those who are not yet affiliated with a specific cloud storage service, they’ll be able to choose the one that’s most suited to them. Someone who has a Gmail account may want to use Google Drive to store their files, whereas someone who is signed up to Office 365 will probably choose OneDrive for Business, for example.

So what will the introduction of Dropbox, Google Drive and OneDrive for Business look like for SharePlus users?

Brand new Documents Module

Users are now able to access all of their files stored in different clouds from one centralized location by way of the Documents Module– regardless of which cloud the document is stored in. Created to facilitate the access to all your relevant documents; those marked as favorites, recently opened documents and those recommended by the server are all a finger press away.

SharePlus’ Documents Module tab is divided into the following sections:

  1. Documents– displays the recent and recommended documents along with the documents you follow. (Recommended documents is a feature exclusive to SharePlus Enterprise.)
  2. Favorites– displays all documents you have listed as ‘Favorite’.
  3. Edited by me– a list of all documents that have recently been edited by the user.
  4. Local Files– an isolated and secure storage on your device. This storage is not synchronized with the server and can be used for storing personal files. These local files can be uploaded to the SharePoint server or can be shared via a Wi-Fi network.

Content Sources

Content Sources are displayed in the ‘Content’ section of the Documents Module, and give you access to all files within them. As we’ve mentioned, the new content sources added for 2016 are:

  • OneDrive for Business

Office 365 or SharePoint personal cloud storage (this will be pre-configured if you are using SharePlus Enterprise and have Social features enabled).

  • Google Drive & Dropbox

 Cloud storage.

  • Network Drives

Network file sharing over the network.

It’s worth mentioning that OneDrive for Business has a few additional features thanks to its integration with Office 365.

Along with the creation of documents and folders, users are able to add ReportPlus dashboards to create striking charts and data visualizations in SharePlus from SharePoint Lists and Excel files (If you have a SharePlus + ReportPlus bundle, you can connect to more than 20 other data sources).

The power of the Cloud, on your mobile

An underlying problem facing mobile devices is their storage capacity. With the cloud gradually becoming available for mobile devices, that problem is becoming a thing of the past. With a subscription to any of the cloud storage platforms that SharePlus now supports, users will have more space than they know what to do with. Which is, of course, a very nice problem to have.

Centralize your productivity

The integration of Dropbox, Google Drive and OneDrive for Business has massively expanded on the SharePlus experience, offering the biggest database ever for users to access their content. Try a free 30-day trial to see if SharePlus is right for you.

The CIO’s new role in enabling digital transformation

$
0
0

 

Challenges present themselves everywhere. When faced with challenges, some grow stronger; some see the idea of challenge not as a negative but as a positive. It’s important to remember (without getting too ‘New Age-y’) that within all challenges there are opportunities for rejuvenation and transformation.

The idea of transformation is a very handy mindset to have for a Chief Information Officer (CIO) today. IT innovation has never been as rapid and for CIO’s the pressure is on to keep up. An important aspect of the job has always been about helping their business take advantage of the latest technology trends, and never more so than today, where mobile and cloud computing are smashing down cultural norms and changing how we do things.

In today’s post we will look at the challenges CIOs face in the wake of rapid digital innovation, the universalization of mobile technology in the workplace and how they can turn these challenges to their own advantage, while still ensuring the progression of their business’ IT capabilities and enable positive digital transformation.

Shadow IT

One of the biggest challenges a CIO faces is the emergence of Shadow IT. Many readers may already be aware, but for those who are not, Shadow IT refers to IT systems and solutions that are used in your business without the knowledge and/or the approval of corporate leadership. ‘Stealth IT’ is another term used that means the same thing, and it is something that is redesigning how IT departments need to operate to keep the right amount of control over their company’s IT infrastructure.

The Cloud and mobile technology is changing the world. It is also changing how we work. There are now so many consumer apps out there that your employees may use to get their work done, even when these tools have not been passed through the usual processes of your IT department to make sure they are functional, can support multiple users and secure. With the prevalence of BYOD (Bring Your Own Device), CIOs and IT departments are put in a tricky position.

Do you choose to try and ban all unauthorized apps on a personal or corporate device? Or, do you work to ensure stability, security and compliance for any and all applications your employees use? Perhaps you should allow employees themselves to choose the apps that they feel allow them to get their work done most efficiently? It’s important to keep in mind that with the rate of innovation only continuing to increase, it’s likely that even the most progressive IT departments will, at varying points, fall behind the curve of the latest trends.

So, what can you as a CIO do to make sure your systems and corporate content remain secure, your employees are working within consistent platforms but also have the latest technology available to them to get their jobs done with the minimum of fuss and frustration?

Challenge vs. Opportunity

Shadow IT is a complicated matter. It is both a challenge and an opportunity facing CIOs in the corporate world. The challenge revolves around keeping company data safe and in line with compliance and other regulations, without alienating your workers who want the latest apps and tools. It’s a balancing act for each individual organization and CIOs need to make this decision based on their company’s circumstances.

There are a number of things that a CIO should consider to help make sure Shadow IT, mobile working and cloud trends work for you and your company rather than hinder you and create unnecessary risks.  

Understand how information flows around the business now

Information has long been the lifeblood of business. However, the manner in which we access our information has changed right along with the innovation of new technology. As a CIO you need to be fluent in the current devices, apps and tools that your employees are making use of to access this information and how it impacts workflows and communication. You’ll also need to be able to predict what the next innovation will be. That means keeping a close eye on what’s happening in both business and consumer tech, and by facilitating the flow of information within your company rather than getting hung up on your changing influence. Remember what the ‘I’ in your title stands for.

Change management

Updating systems and ensuring high adoption rates have always been the bones of the job. When a better way of doing things becomes apparent in IT, it has always been the CIO’s job to effect positive change within their company, and deal with the risks. It just so happens, with the cultural shift that mobile and cloud computing is causing, the change is happening much faster than what many have been used to. A starting point should be implementing usage policies regarding BYOD and remote working that protect corporate data without compromising users’ productivity.

Ability to manage culture shifts

This shift goes beyond the concept of ‘fast change’, and may as well be considered ‘constant change’. It represents a cultural shift as deep and meaningful as anything has in the past – think the move from typewriter to desktop computer or the advent of the Internet. It is and will be the CIO’s job over the coming years to chaperone their business into this world of continuing innovation by constantly helping their team to move with the changes. The ultimate way to reduce shadow IT is to make sure your IT systems are as optimal as possible so there is no temptation for your employees to stray to unauthorized tools. But of course that’s not always possible, meaning being flexible is the key and accepting that shadow IT will likely continue to be on the periphery.

The complete solution for any large-scale digital transformations, enterprise mobilization and modern UI initiatives. See what's new in Infragistics Ultimate 16.1!

       


Windows Forms Release Notes - April: 16.1 Volume Release

$
0
0

Release notes reflect the state of resolved bugs and new additions from the previous release. You will find these notes useful to help determine the resolution of existing issues from a past release and as a means of determining where to test your applications when upgrading from one version to the next.

Release notes are available in PDF and Excel formats. The PDF summarizes the changes to this release along with a listing of each item. The Excel sheet includes each change item and makes it easy for you to sort, filter and otherwise manipulate the data to your liking.

Download the Release Notes

PDF - Windows Forms 2016 Volume 1
Excel - Windows Forms 2016 Volume 1

10 Tips for Using AngularJS

$
0
0

There are a lot of powerful frameworks out there, but if you don’t know best practice, they can be pretty confusing. In this post we’ll be looking at Angular JS. First of all, what actually is Angular JS?

Angular JS is a JavaScript-based open source web application framework used to develop rich HTML Web applications in a modular fashion and using MVVM framework (try and say that quickly). As it implements an MVVM framework, it helps you develop applications with less code and more flexibility. Since Angular JS is completely client side, it also helps you to create mobile or tablet apps easily. For example, YouTube applications on the PS3 are built using Angular JS.

There are many features available with Angular JS, below are just a few standouts:

  1. Data-binding– Angular JS provides the directives in order to bind your HTML (view) with your JavaScript functions (controller).
  2. Form Validation– Angular JS provides form validations which are a basic requirement for any application that accepts input.
  3. Dependency Injection– AngularJS has a built-in dependency injection subsystem that helps developers by making the application easier to develop, understand, and test.
  4. Templating– Angular JS provides a way to create your own HTML templates which can be multiple partial views or even a single page
  5. Routing– Like MVC, Angular JS also provides the routing feature to switch between views.

 

A history lesson...

Angular JS made its debut in 2009 and was developed as an attempt to replace the Google Web Toolkit. The previous code name of Angular JS was ‘Locality-Filtration’. Misko Hevery and Igor Minar of Google were the founding members of the Angular JS in-house development team. After its success, Angular JS was officially supported by Google and made into an open source framework. The 1.0 version of Angular JS was released in 2012 and version 1.5.5 is the current stable release of Angular JS (also known by its code name ‘Ice-Manipulation’).

There are many JavaScript based frameworks available to create Rich Client side applications using an MVC pattern. However, each of them has its own special way of harnessing JavaScript’s power. In the rest of this post, we’ll look at the best ways of harnessing that power with Angular JS.

Harness your powers (like Spiderman)

If you’ve decided to use it for your application, below are some of the best practices for Angular JS:

 1. Initialization & Expressions– When you develop any web application, always load your JavaScript code at the bottom of your HTML so that the loading of the HTML is not hampered in order to load your JavaScript files. Also, split your complex logic into methods in the controller which can be rendered in specific views. Each controller should only contain logic for that particular business view.

 2. Modularize your Angular Code– When we start writing applications we tend to include everything in the main module. This is fine for a small app, but when it comes to managing the code for a more complex tool - which tends to get big over time - it’s a huge pain. So, always split your code into proper modules. Divide your application features into modules and accordingly create their Angular Modules. This way you can reuse the modules in another page or view.

 3. Avoid DOM manipulations– Most of the DOM manipulations will be available as an out-of-the-box feature of Angular JS, so use those features wherever possible. The reason for this is that Angular JS has a mechanism that ensures all its various pieces are in sync. Now, if you manipulate DOM, Angular JS triggers the events automatically to make the application state consistent which increases the unnecessary overhead on the application. If you still have to do DOM manipulations, always aim to do your manipulations inside a $scope.$apply(callback) function.

 4. Keep Business Logic in Models– Always keep your business logic in models so that it can be easily shared between the controllers and other services. This way we can easily perform unit testing on the models. The model is for application logic which is specific to your application and how it wants to interact. Controllers should only direct your code to a method or service that updates your model and in your model create helper classes to implement that business logic.

 5. Validations in Angular JS– Angular JS provides the wonderful feature of validating your form. This is the backbone of any application that accepts user inputs. Most often, forms validation is written in separate parts as: ‘if, else if..’ which is a very bad practice. In this approach, the user has to submit the form so many times to see one validation error after the other.

Angular JS, by contrast, provides a way of validating the form as the user is filling it out. And of course, almost all validations are provided by Angular JS directives as out-of-the-box and are easy to use.

 6. Utilize the Angular JS unit testing– Unlike other frameworks, Angular JS provides a great framework to unit test your models. Most of the time, developers do manual testing to see if their code is functional or not. Sometimes, to test a minor change, manual testing takes more time compared to developing a unit test. The Angular JS core team developed a couple of tools - Protractor and Karma– to do the unit testing of your Angular JS code for you. Thanks guys!

 7. Invest in Naming Conventions– The most important thing when developing any application should be to set up consistent naming conventions so that your code is easily readable and manageable. Any developer should be able to read your code and maintain it in your absence.

 8. Define your components– Do not include your model, controller and factory components in a single file. Create three separate files for each and accordingly write your code in each of them. Something like this myapp.module.js, myapp.controller.js, myappfactory.js and so on.

 9. Scopes– This is one of the most important features which every developer should take care of. The scope should always be write-only in controllers and read only in templates. Do not create properties in the scope – use the object.

Now with full support for Angular 2 Beta, see what's new in Infragistics Ignite UI 16.1!

The Future of Work

$
0
0

What will the future look like? This has been a popular question since… forever. In the 1950s the predictions for the turn of the millennium noted that common, universal interplanetary travel was something more probable over possible, as was finding intelligent life on Mars. Robots would be in every home, helping with the household chores, and our telephones would fit in our handbags.

Well, from our perch of 2016 we can see how wide-of-the-mark some of the predictions were and yet how close to the reality others remain. Take, for instance, the one about how our telephones will fit in our handbag. They do, and so much more besides.

Here’s a prediction of our own: the future of work lies in the world of mobile. It’s all about flexible working. The future will see more and more of us working remotely and in a more adaptable way. Today’s post is about the future of the enterprise, about how the workplace is changing, what we can look forward to in the next few years and how your business should be preparing to take advantage of innovations that are available right now.

Mobile working

These days not only do our cell phones fit in our handbags (and our pockets), they are an all-powerful source of information; a tool for getting both personal and professional tasks completed; an interactive map, a watch, an instant messenger, an email client, a conference call creator, a camera, a word processor, and a file sync and share tool among many other functions. In fact, actually making phone calls is almost the last thing we use our phones for these days.

And innovation isn’t plateauing here. At the rate of progression of machine learning, computers are changing what they can do and, by proxy, what we can achieve with them. The level of learning and automation is such that programs can successfully complete an even greater share of the our most tedious, banal, motivation-reducing tasks so that we can concentrate our energies on the more important aspects of our work and business. The goal for the immediate future will be for devices having the ability to anticipate our needs and allow us the space to be even more productive. But the ‘future’ is almost here already. The productivity we can achieve with our smartphones right now would seem incredible to someone even five or six years ago.

Remote work today has become much more feasible and much more popular than in the recent past. But it’s not without its challenges.

The rise of freelancing

There are multiple forces transforming the way we work. Companies across all industries, are undergoing a rapid disruption to how they do business thanks to IT innovations. There are now better ways to be productive at cheaper costs, but that also means these companies face more competition than ever as cloud computing has leveled the playing field– allowing smaller businesses the resources to compete against their bigger rivals.

One of the changes that has come about is the rise of freelance workers. Approximately 30% of the workforce in the U.S. are freelancers, and the expectation is for this to rise to 40% by 2020. With so many companies of differing sizes, there is a lot of choice (and work) out there for a freelancer. But it’s not all plain sailing: working freelance means you gain the added task of looking after your own marketing, taxes, benefits such as healthcare, etc. and also you may miss out on the more intangible aspects of being office-based, like the socializing, and possible on-the-job learning.

Combining freelancing with full employment

Perhaps the ideal of the future of work is to get to a happy medium which combines all the benefits of freelance with the security and engagement of being part of a team. That’s where the process of remote collaboration comes in. If you could be part of a great company but also work on your own specific schedule, whenever and wherever it was most convenient for you, that would likely increase motivation, productivity, as well as company loyalty, right? Data compiled from numerous studies, articles, and whitepapers suggest that it would.

We have you covered

With SharePlus from Infragistics you get the benefits of remote and flexible work with your team by mobilizing your SharePoint investment. Improve your organization’s collaboration instantly in the simplest, most cost-effective way. Your teams from across the globe as well as locally can access multiple file sources and content from on-premises and in the Cloud, enabling them to share, organize, and work together wherever they need to. Set up a custom mobile workspace for specific projects and share and store important content where everyone can see it. Build and manage projects remotely, work collaboratively with colleagues from two seats down to two time zones away.

As we move to increasingly more flexible ways of getting our work done, your business needs solutions that will allow you to stay ahead of your competition. Whether you are a team of freelancers operating out of a digital office, a traditional ‘brick and mortar’ company, or a combination of both, SharePlus allows you to stay connected and securely collaborate from anywhere at any time. Customize your workspace and how you work by mobilizing your business practices; reduce the cost of IT infrastructure, boost productivity and gain a significant ROI.

To find out more about how Infragistics can help your business move into the future and mobilize your business practices, visit us now. Or, for a free trial of our SharePlus mobile collaboration tool click here.  


When it Comes to Dataviz, Color is Complicated: Part 1

$
0
0

In all the articles I've written here I've covered a fairly broad range of topics related to data visualization: the use of tick marks and labels, data density, the problems with dual-axis charts and much more. I've touched upon the use of color a few times but only in passing. That's because I think, while interesting, the topic can be quite confusing and that makes writing short articles difficult. In this two-part series I'll try to bring together previous advice on the use of color, cover why I think it's a complex topic, define some relevant jargon, and provide links to a few resources that I have found useful. In this part I cover why what we see might not be what we expect to see. In Part 2 I'll look at picking suitable color palettes.

What Color is That?

One morning in February 2015 I awoke and checked what was going on in the world via Twitter. Everyone was talking about a white and gold dress. Or rather they were talking about what looked like to me like a white and gold dress. Many felt the same as me but some strange people were claiming it was blue and black. It turns out those strange people were actually right. The viral phenomenon that was "the dress" showcased the peculiarities of our vision system.

Colin Ware describes, on page 69 of Information Visualization (third edition), how "[n]eurons processing visual information in the early stages of the retina and primary visual cortex do not behave like light meters; they act as change meters". One benefit of the complex way our visual system works is that we can usually detect a gray surface as being gray, a white surface as being white and a black surface as being black whether we're in bright sunlight or a dimly lit room and independently of the color of the illuminant. This is called "color constancy" and it shouldn't be too difficult to imagine how this could have been an evolutionary advantage in the past. Information about the light source itself is usually much less important.

To achieve color constancy the brain has to make some educated guesses about the illuminant. Sometimes it gets things wrong. This would appear to be at least part of the reason for the disagreement over the dress.

If you're creating a visual representation of some data it's rare you'll ever have to worry too much about the perceived colors of a dress. But it does still highlight the fact that sometimes we misinterpret color stimuli. Take the simple image below:


If you've never seen this illusion before you may be surprised to learn that the small squares are the same color. You can check this using the eyedropper or color-picker tool of your favorite image editing program. If you're on a Mac it's quicker to use OSX's DigitalColor Meter app.

This color contrast illusion can be significant for data visualization: if you're using the same color encoding on two different backgrounds you need to check whether they really look the same. Remember the blocks of color in your key or legend too. If a chart background is, say, light gray then the background in the key should also be light gray and not white or black (we're not talking about natural illuminants here so don't expect your brain to fix it for you).

Not Everyone Has Perfect Color Vision

The color-sensitive cells of the retina are called cones and we (most of us) have three types - millions of each - making us "trichromats". The types are frequently referred to as red, green and blue, though it's more proper to use long (L), medium (M) and short (S), describing the wavelengths of peak sensitivity. Even this is very much a relative designation: L cones are most sensitive to light at around 580 nanometers, M cones to light at around 540 nm and S cones to light at around 450 nm (Ware, page 97). (There's no relation here with the designations for radio waves!)

Color blindness, or color vision deficiency (CVD), in humans is the result of a lack of, or deficiency in, one type of cone cell. It can be acquired or inherited and the latter is fairly common in men (around one in 12 suffer). If it is L or M cones that are lacking the resulting condition is frequently described as red-green color blindness, while blue-yellow color blindness results from defective S cones. In reality, the effect is more nuanced than these common names would suggest and a number of tools have been developed to help trichromats without a CVD ensure their work is accessible to those who do suffer. My favorite is ColorOracle. It's a really simple app for Windows, Mac and (some) Linux OS's that sits in the notification area (system tray) or menubar. You click on its icon, select a form of color deficiency and it instantly (temporarily!) changes the colors on the screen to simulate the deficiency.

Deuteranopia, the formal name for a problem with M cones, is the most common form of CVD. As I've previously mentioned, it's a good reason to avoid using only red and green color encoding in your visualizations. If you do want to use a "traffic light" color scheme then one option is to use a secondary encoding to reinforce the differences, for example a red circle and a green triangle (perhaps with an amber square).

Try one of our most wanted features - the new XAML 3D Surface Chart and deliver fast, visually appealing and customizable 3D surface visualizations! Download Infragistics WPF 16.1 toolset  from here.

A dribbble chapter at Infragistics

$
0
0

 

Show and tell for designers based in Sofia

clip_image002

In the world of design, dribbble is the go to place for sharing your own design concepts and ideas and a treasure island for designers wanting to browse, comment or get inspired by shots (screenshots of the works of others). I believe that this vivid online community is very well known across all digital professionals, if not by the name, then most likely by the distinctive pink basketball logo.

This week the fifth Sofia dribbble meetup took place with the support of Infragistics and the design team from our office in Bulgaria. Together with the design fellas from KickflipX, the same team behind one of the most memorable workshops at UXify Bulgaria 2015, we brainstormed topics for discussion and made sure there were enough swag items, cold beers and fresh chips. We also selected a brand new location in one of the newest co-working spaces in Sofia, 1Hub.

The discussion part exceeded our expectations and the two hours that we planned were only enough for half of the topics. We kicked off the meetup with a discussion about content strategy. As designers, we all agreed that content, not design, should happen first. But we also agreed that this rarely happens.

People shared their workarounds for lorem ipsum, like stripping all the content from your closest competitor’s product or making up funny copy, as described in an earlier Infragistics blog, “Wireframing and Deadpool”. Some people also shared that even when there is content, it is rarely the real deal because it may not have been written by a copywriter. Sometimes it is badly structured, written by the customer themselves, or overwhelmingly long and complicated.

Of course, the topic of “dribbblisation” of design was brought up (the danger of polishing your concepts too much, too early in the process) and risks this involves. A small orange basketball served diligently as the token-to-speak and helped us with the moderation even when opinions got intense.

clip_image004

The token-to-speak orange basketball in the middle held by Vasil Enchev (uffo), a dribbbler with
sharp sense of humor, who calmed us down when we got too serious. Image attributed to the author.

Next we discussed some practical topics, including different ways to earn traction as a designer. The best dribbblers in the room shared their ways of getting followers in the community and the types of projects that converted best. One of the group’s insights was to join “challenges”, e.g. Daily UI elements for 100 days, as a proactive participant. Darin Dimitrov (deezel) shared how a blog post he wrote a while ago got him tons of freelance contracts and with that we kicked off a short discussion about blogging. After another short discussion on contracting as a freelancer and making sure that you don’t get tricked by the client, we settled down to a lengthy discussion about productivity hacks when working out of the office. To be more precise, we spoke about how we focus and stay productive during occasional work-from-home days, working from home on a long-term basis or working from a co-working space. Our hosts from 1Hub also joined the discussion, sharing some reasons and insights regarding why their customers book a desk rather than work from home. When working from a home office, we discussed ideas like pomodoro, a standing desk, and dedicating a certain area of your home to work, work and work.

The most awaited and exciting part of the meetup was during the closing minutes, of course. There was a license raffle for which Infragistics provided 5 one-year licenses for the latest version of Indigo Studio. Happy one year of free prototyping, remote usability testing on indigodesigned and code generation to all the winners!!!
clip_image006

Photo or it didn’t happen, 3 guys and 2 gals went home with licenses for Indigo Studio. Another lucky
three got the Infragistics T-shirts laying on the desk in front of me. Image attributed to the author.
Viewing all 2398 articles
Browse latest View live