News for hackers. Stuff that matters.
Re:Poll: For your startup, do you use Django, Rails, PHP or ... by randallsquared on Saturday June 28, 2014 @07:28PM (#7959742)
Go / Postgres / React & Fluxxor

Edit: forgot to mention go-tigertonic. :)

Re:Poll: For your startup, do you use Django, Rails, PHP or ... by glis on Saturday June 28, 2014 @10:24PM (#7960170)
I just looked at Fluxxor and AngularJS. They use the exact same TodoList example in their quickstart guides. Turns out that AngularJS is simpler and easier to understand.
Re:Poll: For your startup, do you use Django, Rails, PHP or ... by girvo on Sunday June 29, 2014 @04:02AM (#7960653)
As someone who uses Angular.js every single day on some very large front-end apps, yeah, Angular seems simpler to understand, until your app gets large; Those small examples don't really show the benefit of the Flux architecture, as when it's that small something like Angular or other MVC frameworks with their magic and libraries really shine.

Heck, Angular is still excellent for large apps as well, as long as there is discipline in your development technique. The issue arises when you have a large team with varying skill levels, all working on the same front-end, with things stuck in the $scope when they shouldn't be, over-use and abuse of $watch, and a stack of other gotchas that make debugging an absolute nightmare, as tracing the execution flow is nigh on impossible.

That's where Flux is trying to do things differently. By having one way of passing data between the various components (and plugged directly into React, which also is built around a "componentized" architecture) you know exactly where to look when things go wrong, you give up a bit of dynamism and magic for explicitness, which in my experience is not a bad thing. That's my two cents anyway!

Re:Poll: For your startup, do you use Django, Rails, PHP or ... by brotchie on Saturday June 28, 2014 @07:33PM (#7959759)
Node.js / Express / Postgres / React & Fluxxor

Really enjoying the Flux design pattern + declarative nature of React. I've been applying the Flux pattern to other applications (iOS) with great successful. The goal of one-way data flow and a single touch point for application events is a radical tool for complexity reduction.

Re:Poll: For your startup, do you use Django, Rails, PHP or ... by yror10 on Saturday June 28, 2014 @07:38PM (#7959773)
Are you using any ORM for PostgreSQL in Node? Haven't found anything as good as ActiveRecord yet...
Re:Poll: For your startup, do you use Django, Rails, PHP or ... by chinedufn on Sunday June 29, 2014 @03:00AM (#7960551)
Check out bookshelf and knex
Re:Poll: For your startup, do you use Django, Rails, PHP or ... by swah on Saturday June 28, 2014 @08:53PM (#7959963)
I'm trying to use Go+React and had not heard about Fluxxor. How do those (Golang and Fluxxor which is based on Node) fit together in your system?

Are you using a Node or Go frontend?

Re:Poll: For your startup, do you use Django, Rails, PHP or ... by randallsquared on Saturday June 28, 2014 @08:58PM (#7959973)
We're using Fluxxor on the client, not the server. It uses node for installation infrastructure, but after you bundle it up it's just another JS library to import with require.js (or whatever; it's agnostic about such things).