Kayıtlar

Nodejs ile http request yapılırken dikkat edilmesi gerekenler

Resim
Bu durumda uygun kod örneğine bakabilirsiniz   https://gist.github.com/kodlar/83ff1e2126ed0437bfd07d30f54b1964

How to automatize current ES6 Javasript file tranpile into ES5 with Babel and Atom-Script package

Resim
Requirements https://atom.io/ Atom Editor https://atom.io/packages/script  Install Script Package https://nodejs.org/en/ Nodejs (prefer latest one) Once installation completed, open your project with atom and install this packages with npm (selected light-green texts) 1- Create  ECMA6 standart javascript file. You can look at ECMA6 features from this site 2- While javasript file open, press  shift-ctrl-alt-o (windows) /  shift-cmd-i (OSX)   now we will define a new atom-script profile  Command:node Command Arguments: node_modules\babel-cli\bin\babel.js {FILE_ACTIVE} --out-file out\{FILE_ACTIVE_NAME} Before saving a profile, you can try your script with run button. If you want to open this interface again  press  shift-ctrl-alt-o (windows) /  shift-cmd-i (OSX)  3- Click save as profile and enter a profiler name 4- Finally  run the code on your current javascript file. This will create ECMA5 jav...

Yönlendirilen url üzerindeki hashtagları kaldırmak mümkün değil.

Resim
When you redirect a url, and want to clear old url hashtags, sorry but this is imposible Kaynaklar http://stackoverflow.com/questions/13790460/remove-hashtag-from-redirect-with-rewriterule http://stackoverflow.com/questions/9340121/which-one-is-better-pushstate-or-location-hash http://stackoverflow.com/questions/2286402/url-fragment-and-302-redirects?lq=1 http://stackoverflow.com/questions/7553919/clear-hash-and-parameters-from-redirect-in-aspnet-mvc

Atom.io için kullandığım paketler

Resim
Atom.io paketleri Theme:Tron

Dosyada yapılan değişiklikiğin farkını görmek için aşağıdaki git komutu çalıştırılır

Resim

ES6 ve ES5 javascript kaynakları

http://node.green/ Node versiyonlarının hangi javascript versiyonlarını ne oranda desteklediğini gösteren bir çizelge http://exploringjs.com/es6/ Exploring ES6 ES6 online kitap Dr. Axel Rauschmayer http://speakingjs.com/es5/index.html Speaking JavaScript ES5 online kitap Dr. Axel Rauschmayer

Encapsulation, Assosication, Aggregation, Composition diffs

Bir soru üzerine gelen cevap, Encapsulation, Assosication, Aggregation, Composition arasındaki ilişkilerin açıklanması http://programmers.stackexchange.com/questions/176049/what-is-the-use-of-association-aggregation-and-composition