As the Age of Open Source matures, it often seems like technology is moving faster than anyone can keep up. Just as Knockout was becoming a widely accepted platform, AngularJS emerged and became the new paradigm. After only a few short years, Angular 2 was announced and brought in a change to how that project was used. It seems every few days, a new library gains traction that will make some part of our lives easier. This isn’t limited only to front-end development as the .NET tool NuGet allows for an infinite number of libraries to become available to ease server side coding as well.
With so many choices before us, we are presented with a dilemma as we begin a new project, or rework an existing solution. As deadlines continue to get tighter, it is very easy to grab at every little advantage we can in order to save some work. However, caution should still be used before jumping on too many bandwagons. At one time it may have seemed like all the common libraries available to us were tested and in use across multiple applications. Now, new “bleeding edge” packages are just as easy to find as the reliable frameworks.
However, I’ve rarely had a project where I’ve implemented UI components and then the customer was happy with it forever. There’s almost always that conversation a week or six months later where they say “This new page makes our lives so much easier, but it would be nice if we could make this table do…” It’s at this point where the true cost of saving the time at the beginning comes due.
Oftentimes, especially with front end packages, the tools are made to “just work”. Someone has a great idea on how to solve a problem that they’ve encountered, and they were nice enough to share it with other people. However, just because it fit their needs doesn’t mean that it will fit anyone else’s. The other scenario is when it works phenomenally, but configuring it for “one little change” probably requires editing their source code, which causes problems if their library gets updated. You could also add a wrapper but then the potential exists for the next change to cause complications. Perhaps there’s another library out there that does most of what you’re looking for, but it’s missing something from the original package. Then the effort to rework everywhere you’ve created that table would take too long, and potentially introduce bugs.
There are many places to find new libraries. A simple search of the language you want to use, and the problem you are solving will reveal numerous blog posts, GitHub repositories, Stack Overflow questions, etc. that can begin your search. Once you have found a potential solution, there are a few things you should look at to help determine if this is a reliable fit. Number of downloads for a GitHub or NuGet package will be a solid indicator of its quality. The last time a release was made, and how many open bugs are reported on a GitHub repository will help ensure that newly discovered problems are getting fixed. Solid documentation is always helpful to gauge the author’s commitment for helping others use their package.
Another thing to consider when evaluating whether to use a new library: If the library is creating a feature that you don’t know how to implement, and you have the time, take a look at their source for inspiration and try to solve it for yourself. Under no circumstances should you copy it verbatim, but use some of their techniques to get you started on your own. Even if your solution doesn’t seem as elegant as a package you’ve found, you’re still improving your skillset, and you could probably solve that or another problem better in the future. You also gain the benefit of understanding exactly what the code is doing so that if you do need to add another feature down the line, you know where to add that in.
And of course, there’s nothing wrong with keeping that new library you created in your pocket just in case you can’t quite get it figured out. At the very least, you’ll have gained some experience that may help you with the next widget or server side process you need to create.
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
|cookielawinfo-checbox-analytics||11 months||This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".|
|cookielawinfo-checbox-functional||11 months||The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".|
|cookielawinfo-checbox-others||11 months||This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.|
|cookielawinfo-checkbox-necessary||11 months||This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".|
|cookielawinfo-checkbox-performance||11 months||This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".|
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.