[ This is a content summary only. Visit our website http://ift.tt/1b4YgHQ for full links, other content, and more! ]
by Irfan Ahmad via Digital Information World
"Mr Branding" is a blog based on RSS for everything related to website branding and website design, it collects its posts from many sites in order to facilitate the updating to the latest technology.
To suggest any source, please contact me: Taha.baba@consultant.com
I've listed predictions for several years, and I'm generally proved wrong, but here goes …
I scored 3.5 out of 10 in 2015, so let's see how my 2016 forecasts fared.
This was a dead certainty, and hacking news rolled in from January. It seems unfair to name names, but Yahoo!, the US Department of Justice, Snapchat, Verizon, LinkedIn, Oracle and Dropbox are just the start. Perhaps it would be easier to list which companies were not compromised?
Frustratingly, few attacks are sophisticated. A little care and security expertise would have prevented most. 1 out of 1 --- but don't expect this 100% success rate to last!
I predicted static site generators (SSGs) such as Jekyll, Middleman and Metalsmith would become increasingly popular. SSGs produce a fully-cached site which is secure and highly scalable. A large number of WordPress sites would benefit.
It's difficult to measure adoption because SSGs generate plain HTML and don't necessarily reveal themselves. Despite some attention, I couldn't claim they went "mainstream". SSGs are not eating into WordPress's market, which now powers 27.3% of the web (and 58.5% of sites running a content management system).
1 out of 2 --- this is more familiar!
This was another obvious forecast; no software can expect exponential user growth forever. I correctly stated Chrome would not reach 60% on desktop devices by the year end. Admittedly, 59% isn't far off, but I'm taking the point!
2 out of 3!
Vivaldi is a powerful new browser worthy of praise. It's reminiscent of Opera 12 --- which is understandable, given it was created by ex-Opera employees.
This prediction was spectacularly vague, but Vivaldi has attracted attention even if some was caused by me. 3 out of 4 --- this is going surprisingly well!
Safari has fallen noticeably behind others, despite being the only real web browser on the iPhone and iPad. Apple has committed to a few lackluster annual updates, but Safari lethargy continues to hold back the mobile web.
3 out of 5 --- thanks Apple.
Continue reading %10 Web Predictions for 2017%
[special]npm is the de facto JavaScript package manager and the npm registry the world's biggest collection of code. But sometimes you need that extra privacy when developing an awesome new package. Be it because you're working on a company project which is not meant to be shared with the public, your master/bachelor thesis project, or simply because you're like me and feel sometimes ashamed of your first steps with a new topic.[/special]
Whatever the reason might be, there are several options to choose from. Perhaps the easiest is to sign up with one of npm's commercial offers and you're good to go. But this comes at a price which might not suit every purse.
Fortunately, there is a free alternative called Verdaccio, which might help you out.
Verdaccio is an npm package which allows you to create a local npm registry, without any configuration. It's a batteries included project, coming with its own database. It does so by acting as a local caching/proxy server.
This means whenever you try to install something from your custom repository that's not present, it will ping the official npm registry and download the dependencies. Your custom repository maintains those inside a simple folder called storage. The next subsequent install will now use this locally cached copy. On top of that, some commands from the npm client, such as npm login/adduser/publish are replicated to support the creation of local private packages, which you can see in use a little bit later in this article.
If you're thinking that's nothing new, there is already Sinopia you are right. Verdaccio is simply a fork of Sinopia which maintains backward compatibility, yet tries to keep up with official npm changes. One such change, which is unavailable in Sinopia, is scoped packages, which you might have already seen when working with libraries like Angular 2 or TypeScript npm hosted types. You can easily recognize them by the leading @ sign:
# Installing an Angular2 dependency
npm install @angular/core
# Installing the official Node.js type definitions for TypeScript
npm install @types/node
Both Sinopia and Verdaccio work on Mac/Linux and Windows.
Since Verdaccio is an npm package, all you need to do is run the following command to install it:
npm install -g verdaccio
A subsequent call with verdaccio will fire up the instance and get your private registry running.
By default, it will listen on the port 4873. We will talk later about how you can change those settings.
In this article we're going through setting up the registry on your development machine. In a company environment, you'll likely want to do that on a dedicated server so that all developers can have access to it.
Verdaccio is a Node.js application, which means you should take care about restarting it in the event of occasional crashes. I recommend using pm2. All you'd need is to run the following steps:
# Install pm2
npm install pm2 -g
# start Verdaccio using pm2
pm2 start PATH-TO-GLOBAL-VERDACCIO/verdaccio
# --> e.g for Windows: C:/Users/[USERNAME]/AppData/Roaming/npm/node_modules/verdaccio/bin/verdaccio
Also, if by the end of the article you come to the conclusion that Verdaccio is not the right tool for you, just stop the process and uninstall Verdaccio with:
Continue reading %Host, Publish and Manage Private npm Packages with Verdaccio%
|
In this tutorial I will show how to allow users buy products or services from your app, using Stripe. Stripe is one of the simplest way to manage your online products, orders, and payments.
You can find the code for this tutorial on Github.
In the end of this tutorial, users would be able to buy plan subscriptions. The first step is creating some simple plans.
To begin with, login to Stripe (or create an account if you haven't already). Make sure that you are in Test Mode before creating the plans from the dashboard.
Continue reading %Integrating Stripe into Your Android App%
|