This article is for those of you who are new to Angular 2 or even to web development in general. Here, Im going to give you a good overview of what Angular 2 is all about, highlighting some of the main concepts behind. The idea is to give you a good starting point.
Today, I had to quickly assemble a wiki/blog website for our family temple back in India. At first, I considered doing my traditional option to leverage WordPress, but then I thought of all the complexities of setting up a MySQL database, creating and registering the site with WP Jetpack, etc.
I wanted something quick, easy to maintain and something that I can hand over to someone else for maintaining. Most software developers are used to Git for source control, and if there was a way to keep the source files in a Git, then this opens up the possibility of merely giving the end-user the access to the repository. With that, they can then either maintain it in the long run or branch it into their own copy. Spending a bit of time researching my options, I came across a suite of tools that allows you to generate static-blogs and wiki. Out of the dozen or so options, I decided to explore the one with the most traffic (Jekyll) and one that is ranking fourth but built on GoLang (Hugo).
At first, the typical criminal was a scary guy with a big gun who robbed banks and random victims in dark alleys. Then there were the black hat hackers capable of stealing money and personal information from financial organizations and countless people in the blink of an eye, without even leaving their homes. The internet has brought equality: it doesnt matter if you are an investment banker in New York or the typical working-class family in the midwest, you run into the same risks of being hijacked by stealth criminals who hide behind their computers all over the world.
As if that wasnt enough to scare you, the latest trend in cyber threats is even more serious, because it doesnt only threaten your money, but your very healthpossibly even your life.
Google’s new initiative called Google AMP (Accelerated Mobile Pages) focuses on stripping out extra fluff around your web pages to create mobile versions. Each AMP page should load 2x-4x faster than normal.
Since I started this particular mission to convert my content pages over to AMP (here, here, and here), I’ve been watching my site through the Google Search Console (Search Appearance -> Accelerated Mobile Pages) to see if everything is proceeding as planned.
The world changed completely when the Internet was born. A business that used to spend millions of dollars on TV advertisements and newspaper ads had to realize the change the Internet brought. They had to change the directions of their investments and put their money in a place that had more potential to bring more customers. Soon, it became compulsory for businesses to have an online identity if they were to compete and be known in the world. A business is now represented most effectively with a website.
The people who give businesses their online identity are web designers. The online image of a business now relies quite a bit on these professionalseven an established brand could ruin its image by having a bad website. The true representation of a business in the form of a website depends on how a designer has understood the industry, the idea of business, its mission and how it has decided to deliver it. When you work as a website designer, here are the top six mistakes that you must avoid:
There are different frameworks for building native desktop C# apps. We have WPF (Windows Presentation Foundation) and Universal Windows. Universal Windows apps enable you to target every Windows device in one solution. You develop once, share most of your code, and deploy on Windows, Windows Phone, or Xbox. It reduces the effort needed in building and maintaining an app for each type of device.
The limitation of Universal Windows right now is that it only works from Windows 8 and above. Meanwhile, WPF has been around for a very long time. It was introduced with .NET Framework 3.0. It uses Direct3D rendering, which employs graphics cards to render the output on the screen. Thus, the drawing in the form will be smooth and there is also a chance to utilize the hardware capabilities installed in your machine. WPF controls are actually drawn over the screen, hence you can totally customize controls and modify their behavior when required.
A few months ago, I wrote a tutorial on Getting Started with Angular 2. That tutorial was based on Angular 2.0.0 Beta 9. Rather than simply updating that tutorial and blog post for 2.0.0 RC1, I decided to create a new version for posterity’s sake. The 2.0 Beta 9 version will remain on my blog and I’ve tagged the source on GitHub. This is an updated version of Getting Started with Angular 2, complete with the largely undocumented component router, and lazy-loaded components.
Every couple of months, Im in a meeting where a couple of developers start arguing about which HTTP status codes to use in their RESTful API or decide not to use HTTP status codes at all and instead layer their own error-code system on top of HTTP.
In my experience, HTTP status codes are more than adequate for communicating from servers to clients. Furthermore, its preferable to stick with this standard because thats what most client- and server-side HTTP libraries are used to dealing with.
I recently implemented the bowling kata in Haskell. In the process, I found out how set up my environment to comfortably do Test Driven Development. Hopefully, others might find this post helpful to begin their journey with the language. I used the following components:
Haskell installation:Haskell Platform. This also gives you GHCi which you can use as an interactive environment and type inspector.
The Drupal community is special because of its culture of adapting to change, determination and passion, as well as its fun and friendship. It is a combination that is hard to come by, even in the open source world. Our culture enabled us to work through long, but ground-breaking release cycles, which also prompted us to celebrate the release of Drupal 8 with 240 parties around the world.
Throughout Drupal’s 15 years history, that culture has served us really well. As the larger industry around us continues to changesee my DrupalCon New Orleans keynote for recent exampleswe have been able to evolve Drupal accordingly. Drupal has not only survived massive changes in our industry; it has also helped drive them. Very few open source projects are 15 years old and still gaining momentum.
Since I have been using the MEAN stack and node quite a bit lately, I have found myself using the command line all the time. Not just in using node and git, but also to create files (Touch), launch my editor (code or subl), and work with MongoDB (Mongo). My command line of choice for my Windows machines is cmder. I will make another post explaining why I like it, but in this post, I wanted to show you just a few of the things I’ve added to make life easier from the command line.
First, cmder uses conemu, which is not a shell but adds features to the shell you prefer to usein this case, PowerShell. The small additions to my profile that I am going to show you will work with PowerShell and so, in essence, with cmder.
In this post we will discuss how we can enable client-side exporting in HighChart. Normally, the data of your chart is sent to the external server here. But if your product is already in the production environment, your clients will agree with the idea of sending their data to any third party server. Am I right? To overcome this, HighChart has given an option called offline-exporting. We will discuss that here.
Whenever a new product or new feature implementation is ahead of us, there are many ways to approach the implementation phase. Besides choosing the software development framework such as SCRUM or Kanban, we also need to figure out from what angle do we approach the implementation itself, the order of epics, stories, and tasks.
This largely depends on a few things, such as operational capacity (team size, project budget, required skillsets, etc) and type of project, but also with respect to product and stakeholders. For example, we may not have the budget for a large team, in which case things need to be done in a more sequential order. We must choose if we will develop the frontend of the app first or focus on back-end development.
As time goes by and the CSS specification grows bigger, writing an efficient and maintainable stylesheet has become a bit trickier than before. Heres a round-up of best practices, tools, and tips to produce super clean, optimized, and maintainable CSS files.
Always Create a Table of Contents
As CSS files are becoming bigger and bigger, the easiest way to quickly find what youre looking for is to create a table of contents and organize your IDs and classes.
Security is one of the most important aspects of any application and when we talk about security, particularly in ASP.NET applications, it is not limited to development. A secure app involves multiple layers of security in the configuration, framework, web server, database server, and more. In this post, well take a look at the top nine tips for writing secure applications in ASP.NET.
Cross Site Scripting (XSS)
Imagine you have a young bright child (I’m sure those of you with children already do). You hope they will broaden their experience by talking to people and learning new things. They will learn quickly. And they can apply what they’ve learned to future conversations getting better and learning more all the time. How do you help them learn? What is the best way for them to gain the knowledge that will make them a better person. How do you help them grow into a person you can be proud of?
Perhaps you could go to the center of your city, to the municipal park. And just in case it wasn’t obvious from their childlike countenance you could pin a sign on your child saying something like “Gullible Innocent Being”. Then you instruct your child to talk with any and all the people that approach and of course you tell your child to learn what they teach you. Finally you set your child down on the bench where some other diverse people are gathered, then you leave. Perhaps you look back and see their smiling innocent face just before you turn the corner and leave the park. What could go wrong?