- https://github.com/jedireza/drywall - https://github.com/jedireza/frame - https://github.com/jedireza/aqua
Ask HN: Can you suggest some good JavaScript projects to read and learn?
21–30 of 49 posts
Re: Ask HN: Can you suggest some good JavaScript projects to read and learn?
#22Re: Ask HN: Can you suggest some good JavaScript projects to read and learn?
#23This game is a tool for experimentation - it gave me motivation to start learning. You need to write the control software for an elevator (or elevators), which has levels of increasing difficulty to clear, which will mean re-evaluating and rewriting your code to perform better under different scenarios. http://play.elevatorsaga.com/
Re: Ask HN: Can you suggest some good JavaScript projects to read and learn?
#24I'm also interested to see a mid-size scale SPA project that has excellent unit-testing and integration-testing. I've read a lot about how JS can make programmer productive, I've also read a lot how code can be succinct and all that jazz because of JS, but I have _never seen_ a well-architected, well-documented, well-automated-tested non-todomvc SPA codebase. This isn't a sarcasm or criticism but a serious and legiti…
We have a mid-size scale SPA and its suffering because of bloat. Functions are 2-500 lines long as an example. we've had critical bugs in the last 2 weeks and I got fed up and decided to start learning unit testing. Its been absolutely painful to get everything setup and started (Visual Studio). Nothing works. I would love to see a well written project to base my tests off of. I would really love to see a well writte…
I've had good success in architecting/designing classical web-app (MVC-ish as overall architecture and minimum JS on front-end).
I can write unit-test with mocking and integration-test with in-memory database as part of my build/compile loop.
But I struggled a lot with front-end.
Re: Ask HN: Can you suggest some good JavaScript projects to read and learn?
#25Re: Ask HN: Can you suggest some good JavaScript projects to read and learn?
#26Re: Ask HN: Can you suggest some good JavaScript projects to read and learn?
#27One of the best starting points for building a SPA that I've seen is the Angular Fullstack generator https://github.com/DaftMonk/generator-angular-fullstack This generator uses Angular best practices, has Jasmine and Karma built in for solid unit and integration (called e2e tests in Angular) testing. The built-in generators even build pages, controllers, and add the unit test files along with the new routes. In addit…
I'm looking to learn ways to do e2e test without touching the DOM (e.g.: from Controller all the way up to the back-end; imagine firing up Chrome DevTools console and start writing JS code that executes some logic and eventually fires AJAX request and process the response, of course in this case the View will be mocked but the app logic and everything else can be executed).
Re: Ask HN: Can you suggest some good JavaScript projects to read and learn?
#28Read the underscore Source first: http://underscorejs.org/docs/underscore.html
Re: Ask HN: Can you suggest some good JavaScript projects to read and learn?
#29One of the best starting points for building a SPA that I've seen is the Angular Fullstack generator https://github.com/DaftMonk/generator-angular-fullstack This generator uses Angular best practices, has Jasmine and Karma built in for solid unit and integration (called e2e tests in Angular) testing. The built-in generators even build pages, controllers, and add the unit test files along with the new routes. In addit…
Can you briefly expand the e2e test aspect of Angular? I'm looking to learn ways to do e2e test without touching the DOM (e.g.: from Controller all the way up to the back-end; imagine firing up Chrome DevTools console and start writing JS code that executes some logic and eventually fires AJAX request and process the response, of course in this case the View will be mocked but the app logic and everything else can be…
Also read about Protractor, http://angular.github.io/protractor/#/, their e2e testing framework. These tests generally should be run in the browser. You can run them in PhantomJS, a command line browser simulator, but it's not the same and there are sometimes issues that don't get caught by Phantom. Best to run those tests in an actual browser.