Wiemy już jak zoptymalizować samą instalację paczek npm, jak także przyspieszyć instalację z wykorzystaniem archiwizacji node_modules. Teraz skoncentrujemy się na optymalizacji instalacji bez konieczności posiadania szybkiego dysku twardego! W tym celu trzeba się zastanowić co można by byłoby zrobić by tak naprawdę te paczki zawsze były zainstalowane nie...
W poprzedniej części trochę poszaleliśmy z opcjami w npm install. Teraz skoncentrujmy się nad tym jak to można jeszcze bardziej zoptymalizować. Dla przypomnienia, chcemy zoptymalizować wykonywanie npm install na build server, lub w miejscach gdzie często to wykonujemy dla określonego projektu. Część 1 skończyła się na zapytaniu...
Co to jest npm już swojego czasu pisałem. Teraz pora jednak zagłębić się w sposób optymalizacji dość prozaicznego zapytania – npm install. Które jak wiadomo, jest odpowiedzialne za zainstalowanie wszystkich możliwych paczek zdefiniowanych w package.json we wszystkich jego sekcjach – depedencies, devDepedencies, peerDepedencies, optionalDependencies (takie które nie są wymagane by paczka działała)...
Recently, together with my co-worker Breck, we were looking at the error logs. One of our ideas – in order to investigate errors that were hard to diagnose – was to check in which part of the World users who get errors are located.
Last Saturday I had a pleasure to speak at Seattle Code Camp. It was an amazing event, which was free. There were over 50 talks, 500 attendees, and raffle with many prizes, e.g., Microsoft Surface Pro 3! Check out videos, code, and slides from my talks!
On July 1st I had a pleasure to speak at Seattle Node.js meetup about unit testing and Test Driven Development with Angular.js and Node.js, using TypeScript. In this talk I gave an overview of JavaScript testing frameworks, and tools. I also demonstrated how TypeScript can strengthen your tests by adding free unit tests (type checking) thanks to strong typing.
Node.js plugin for Visual Studio allows you to create Node.js application within the Visual Studio. It supports editing with IntelliSense, debugging and deployment of Node.js projects. It is a free and available for download
nodeschool.io I would like to present a highly interesting initiative for everyone keen on topics oriented to Node.js. If you are curious about how to effectively learn of stuff available on the platform, how to effectively use libraries and write the most idiomatic code, which is consistent with the UNIX philosophy, read this article.Why? The major problem when learning new things is related to the first step, even if it concerns a basic question “how to start”. This barrier is often related t...
W poprzednim odcinku dowiedzieliśmy się co to jest Node (pobieżnie) i do czego służy NPM. Dowiedzieliśmy się, by zainstalować framework lub rozszerzyć nasz serwer o dodatkowe funkcje wystarczy polecenie npm install i kłopot z głowy. A co jeżeli byśmy chcieli zainstalować jQuery? Albo Twitter Bootstrap? Albo jakąś inną kliencką bibliotekę, którą chcemy wykorzystać w aplikacji? W Visual Studio za pomocą nuget instalujemy paczkę o odpowiedniej nazwie i ona nam już trafia do odpowiednich folderów. Ale NPM ...
Useful Node.js modules – ssh2 I would like to introduce a very useful Node.js module to you, which can help in automating your daily work or accomplishing non-ordinary and non-obvious task such as SFTP/SSH management.Description ssh2 is a SSH2 client module written in pure JavaScript. In this case the above mentioned module helped me to bootstrap the simple tool a while ago. The main goal of this tool is to automate creating, downloading and uploading a backup to SFTP for one-of-the-most-popul...
It is all about people and cooperation! April 25-26 – dotNetConf took place, online conference for .NET developers, organized by Scott Hanselman and Javier Lozano April 27 – I text Pawel Sawicz, that we can organize something similar with Polish speakers and name it dotNetConfPL, he said: “it’s a good idea”. (motivation++) April 28 – Pawel told me that Michal Franc is also interested and we created google doc to write down ideas and todos. ...
I have been playing with Node.js recently. Mostly doing some small hobby projects. One of them needed server side badly, some of the cool features were not possible with the client side only web app. I was thinking about using RoR, Asp.Net Mvc or NancyFX all of these frameworks suitable for the task. Then why Node ? Well, the answer is simple, FUN. There is a lot of hype around it. Community is very dynamic, lots of modules and extensions created on the daily basis. As a Passionate Developer, I also wa...
As I mentioned some time ago Microsoft is offering free 3 month trial account in the BrowserStack service. Because I'm currently working on application that should support variety of browsers including old IE versions (fortunately starting from IE7 only - not IE6) I've decided to give it a try. I must say that I'm really impressed about it. But first let me explain some more details. What is it It is a service that gives us a possibility to use almost every browser running on operating system of our ...
Node.js - jest to framework oparty o programowanie sterowane zdarzeniami w języku JavaScript.