Profile

Cover photo
Alan Ristić
Lives in 6210 Sežana, Slovenija
69 followers|17,232 views
AboutPostsPhotos+1's

Stream

 
 
Why the Xbox One will Take Over the Living Room http://bit.ly/1gcdAYi
1
Add a comment...

Alan Ristić

Shared publicly  - 
 
Quote tells it all ;)
“The key to success is to focus our conscious mind on things we desire not things we fear.” Brian Tracy
1
Add a comment...

Alan Ristić

Shared publicly  - 
 
Nice and helpfull!
 
Time-saving Developer Tooling Tips And Yeoman (18 mins)

Edit: there's a lengthier blog post with more tips and a little more about Yeoman here http://addyosmani.com/blog/improved-developer-tooling-and-yeoman/ in case you're interested :)

Did you guys enjoy +Paul Irish's talk at Google I/O? 

In case you missed it, today we announced Yeoman (http://yeoman.io) - a project we've been working on to greatly help improve developer workflow. It's not been released just yet, but we're hoping to get it out the door sometime in the next month or so.

In this supplemental video, I discuss some more tips for developer tooling and ways in which Yeoman (and related projects) help us spend less time on process and more time building more awesome applications. 

Developer Tooling And Yeoman

tl;dr: do what you can to automate as much of your workflow as possible. 

(With special thanks to Grunt, HTML5 Boilerplate and more.)

Notes and links:

Editor
- Know your text editor inside out
* What key bindings/shortcuts can help you complete tasks more quickly? Do you know them all?
* How can your editor be extended? Packages?
  -- Zen coding (st2: ZenCoding package )
    - https://bitbucket.org/sublimator/sublime-2-zencoding
  -- Automatic linting (st2: SublimeLinter)
    - https://github.com/kronuz/SublimeLinter/
  -- Source style formatting (st2: Sublime Closure Linter, jsBeautifier)
    - https://github.com/fbzhong/sublime-closure-linter
- Your command-line build process and editor can integrated. Are you doing this?
  (for Sublime users, do you actually use this built in feature?)
  Wes has a guide for it here: http://wesbos.com/sublime-text-build-scripts/

Scaffolding
 - Do you have a scaffolding tool?
   -- if not, you're missing out. Scaffolding tools save you time creating
 parts of your application.
  -- grunt-bbb (backbone) https://github.com/backbone-boilerplate/grunt-bbb
  -- brunch (backbone) http://brunch.io/
  -- brunch for ember https://github.com/icholy/ember-brunch

  other
  -- angular + grails https://github.com/robfletcher/grails-angular-scaffolding
  -- ember + grails https://github.com/robfletcher/grails-ember-scaffolding

Watch process
 - Are you still manually refreshing your apps/pages on every change? Still
   having to compile CoffeeScript etc. each time too? Get a file watcher in place to automatically reload for you.
   -- LiveReload, CodeKit, Brunch and Grunt also do this well:
     -- LiveReload: https://chrome.google.com/webstore/detail/jnihajbhpnppcggbcgedagnkighmdlei      -- Grunt: https://github.com/cowboy/grunt      -- Brunch: http://brunch.io/      -- CodeKit: http://incident57.com/codekit/

Testing
 - Mocha http://visionmedia.github.com/mocha/    - Grunt Mocha task https://github.com/kmiyashiro/grunt-mocha  - Jasmine http://pivotal.github.com/jasmine/    - and its Grunt task https://github.com/creynders/grunt-jasmine-task  - From Pauls talk (thanks to Ryan). Automated client-side testing in the cloud
   - http://ryanseddon.github.com/bunyip/

Build process
 - We all need a solid build process for production
- The basics:
* Linting
* Unit testing
* Concatenation
* Minification
* Optimization

- These days also might need:
- Using AMD? Need to run modules through r.js
 - https://github.com/asciidisco/grunt-requirejs
- Headless unit testing (PhantomJS, Zombie.js)
  - https://github.com/cowboy/node-zombie-connect-socket
- Compile Compass, LESS, CoffeeScript files
 - https://github.com/jharding/grunt-less
 - https://github.com/kahlil/grunt-compass
 - https://github.com/avalade/grunt-coffee
- Image optimization (OptiPNG, JPEGTran)
- File revisioning
- Generating an application cache manifest
  - https://github.com/jamesgpearce/confess

Extra

Interested in automated distributed CI for JS? 
Checkout https://github.com/jquery/testswarm/wiki/Automated-Distributed-Continuous-Integration-for-JavaScript

Edits
I mention linting during a build process, but I mean to say running any scripts against linting whether its outside of this process in a pre-step or otherwise.
10 comments on original post
1
Add a comment...

Alan Ristić

Shared publicly  - 
 
Ha! Vsi jo igramo, hočeš/nočeš ;)
1
Add a comment...

Alan Ristić

Shared publicly  - 
 
Todd Olmstead originally shared:
 
Do you know the difference between engagement and social media optimization? Great post by +Meghan Peters for +Mashable.
1 comment on original post
1
Add a comment...

Alan Ristić

Shared publicly  - 
 
Great in depth article! Tnx.
Today we're going to discuss an effective set of patterns for large-scale JavaScript application architecture. The material is based on my talk of the same name, last presented at LondonJS and ins...
1
Add a comment...
Have him in circles
69 people
Uros Kolbl's profile photo
Ivana Aquarius's profile photo
Dimitrij Margon's profile photo
Asfaltin Makedamovic's profile photo
tony rabina's profile photo
Odkup Vozil's profile photo
Soji Adeyanju's profile photo
Petar Novakovic's profile photo
Simon Legen's profile photo

Alan Ristić

Shared publicly  - 
 
 
Why the Xbox One will Take Over the Living Room http://bit.ly/1gcdAYi
1
Add a comment...

Alan Ristić

Shared publicly  - 
 
One advice for talent and job seekers...
Here is one great advice for talent as well as job seekers from movie (and book) Moneyball: He passes the eye candy test. He’s got the looks, he’s great at playing the part. Spectacular...
1
Add a comment...

Alan Ristić

Shared publicly  - 
 
 
#Devoxx  has posted video of "Securing the Client Side" http://www.parleys.com/d/3521, which I think is well worth your time to watch. Slides are available at https://mkw.st/p/devoxx12-securing-the-client-side/.

The content should really be nothing surprising for anyone who's heard me talk about anything at all in the last few months, but I think it turned out well as a summary of the things I care about at the moment.

Here are a few of the core tenets:

* HTTPS everything: serving data over a secure transport layer is the only way to have any measure of protection against the evils of the web. It's an absolute prerequisite for any discussion of client-side security, and it's easier than you think to get started: https://StartSSL.com/ is literally giving away certificates. There's really no excuse for any application to be served over HTTP. Also, use Strict Transport Security to mitigate the risk of SSL stripping and other such attacks (http://tools.ietf.org/html/rfc6797).

* Escaping content correctly is possible, but hard. It seems like a simple problem, but years of practical experience teaches us that we are seriously bad at it as a community. In a quite well done presentation at AppSecUSA (http://infrequently.org/2012/12/original-sins/), +Alex Russell elegantly phrases this as "discount[ing] the probability of perfection". I'll just call it naked cynicism: we are simply terrible at being perfect, and we need help.

* Use Content Security Policy (http://goo.gl/QcuaK). It's the single best defense against content injection attacks (like XSS) that I know of. The HTML5Rocks article linked above is excellent, and the spec has just advanced to Candidate Recommendation in the W3C: http://www.w3.org/TR/CSP/

* Sandbox components of your applications using the `sandbox` attribute of `iframe` elements. This allows you to run dangerous portions of your application in a low-privilege environment, reducing their value to attackers, and making your application as a whole a less interesting target for attackers.

That's it! Security is easy! Sorta.
10 comments on original post
1
Add a comment...

Alan Ristić

Shared publicly  - 
 
Great overview of nodejs from senior programmer - tnx man!
1
Add a comment...

Alan Ristić

Shared publicly  - 
 
I support the January 18th Wikipedia blackout to protest SOPA and PIPA. Show your support here http://tinyurl.com/7vq4o8g
2
Add a comment...

Alan Ristić

Shared publicly  - 
 
Cool Websites, Tools And Internet Tips
1
Add a comment...
People
Have him in circles
69 people
Uros Kolbl's profile photo
Ivana Aquarius's profile photo
Dimitrij Margon's profile photo
Asfaltin Makedamovic's profile photo
tony rabina's profile photo
Odkup Vozil's profile photo
Soji Adeyanju's profile photo
Petar Novakovic's profile photo
Simon Legen's profile photo
Basic Information
Gender
Male
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
6210 Sežana, Slovenija
Previously
Ljubljana, Slovenija
Links
Alan Ristić's +1's are the things they like, agree with, or want to recommend.
The Google+ Project
www.google.com

The Google+ project makes sharing online more like sharing in real life.

27 things I need to see on an e-commerce homepage
econsultancy.com

A retailer's homepage needs to convey what the site is about and provide all the elements that customers are looking for, and that will enti

HTML Codes - Table of ascii characters and symbols
www.ascii.cl

HTML Codes - Table for easy reference of ascii characters and symbols in HTML format. With indication of browser support

Drinking the Node.js Kool-Aid
journal.paul.querna.org

The Past and Present. I've written dozens of event loops for network services, in C, C++, Python, Perl, Java, Lua, Go and probably other

Improving the DOM : Dart : Structured web programming
www.dartlang.org

Improving the DOM. Written by Bob Nystrom October 2011. One of the great opportunities a new language gives you is a chance to also define a

Augmented Reality for Marketers and Developers: Analysis of the Lea...
www.slideshare.net

Augmented Reality forMarketers and Developers:Analysis of the Leaders, theChallenges and the FutureWritten by Chris Cameron

Japan’s Fastest Train Floats on Magnetic Tracks
mashable.com

Japan’s JR Central Railway Company recently unveiled plans for a new high-speed train propelled by magnetic fields.

Sorry, Haters -- iTunes 11 Rocks
mashable.com

I'll admit, I was skeptical about iTunes 11 before it finally arrived late Thursday. Announced by Apple during the launch of the iPhone 5, i

Expert Cheat Sheets & Tutorial Guides for Developers | Refcardz
refcardz.dzone.com

150+ FREE cheat sheets and quick reference guides for developers & IT professionals. Written by experts, used by millions. Get them all!

Larry Page Wants To Be The Next Steve Jobs (AAPL, GOOG)
www.sfgate.com

It's becoming clearer by the day that Google CEO Larry Page deeply admires Apple and that he would like to be the kind of CEO that Steve Job

Shit Silicon Valley Says
www.youtube.com

written, filmed, and edited by Kate Imbach & Tom Conrad http://twitter.com/kate8 & http://twitter.com/tconrad

ChristinaWarren.com-www.ChristinaWarren.com
www.christinawarren.com

The web space for Christina E. Warren: writer, blogger, pop-culture devotee, and lover of all things geek chic.

Apple's Jonathan Ive Is Now a Knight
mashable.com

Jonathan Ive, designer of Apple's best products over the past 19 years, has been knighted. Whether you call him Jonathan Ive or Jony, you'll

Technology - Google News
news.google.com

Comprehensive up-to-date coverage for Technology, aggregated from news sources all over the world by Google News.

Top tech trends of 2011 [infographic] - Holy Kaw!
holykaw.alltop.com

Alltop.com. Work; Health; Culture; Interests; Tech; People; Good; News; Geos; Sports. A; B; C; D; E; F; G; H; I; J; K; L; M; N; O; P; Q; R;

ProCSSor - Advanced CSS Prettifier
procssor.com

Advanced CSS Prettifier that lets you format CSS in the exact way you want. It empowers you to turn your CSS into something that is visually

Patterns For Large-Scale JavaScript Application Architecture
addyosmani.com

Today we're going to discuss an effective set of patterns for large-scale JavaScript application architecture. The material is based on

Group buying sites urged to adopt code of conduct | The Australian
www.theaustralian.com.au

MAJOR group buying websites Cudo and Spreets have called on rivals to adopt an industry code of conduct.

Founders reveal books that changed their lives. Part 2 | Business Tips
mixergy.com

Andrew is still on vacation, so instead of a new interview, here's a follow up to the popular post that I recently published about influ