Hacker News new | ask | show | jobs
by kekub 4335 days ago
I have just downloaded and started using the "app" 10 minutes ago. It sounds like an app I have been searching for for a long time. After downloading I checked the codebase, as I usually do with every open source project I consider using - I have to agree to the other users: The code is really messy. I would suggest you to rewrite the whole app using an object oriented approach and dividing between HTML- and PHP-Code. Probably you can make use of something like Twig[1]. Do not create a file for every function of your system: Create a class for every object like "Dashboard", "Project" and "Node", then write an API to make their methods accessible from your apps javascript parts.

After checking out the code and realizing that it might have just been written by a beginner, I "installed" it locally: From a users point of view I have to say it is exactly what I need. I am able to post small snippets (called "nodes") to a project (kind of a category/idea). Thats all. Drag & Drop works - awesome. The design is simple but really neat! However to make this system perfect for me it needs to implement multi-user functionality, where I can chat with my friends about our current projects.

I think I would give this project another try, when you were able to refactor the whole code basis and add multi-user functionality.

Good luck anyways.

PS: This post lead me to create a HN account.

[1] http://twig.sensiolabs.org/

1 comments

You won't use it until the code is refactored? If it works, who cares if it is a mess and was written by a "beginner".
Because you don't know what's lurking and waiting for you X-periods of time from now. Sure, it works now and that's probably all that matters for most. Others like reliable solutions that won't just up and corrupt themselves at some point.

However, I've often been amazed at how "messy" code is. Code that does what it needs to, and works. Early bird get's the worm, and I applaud this guy for throwing something out (something perhaps that we were too busy taking our time "working on to get clean and perfect"). I'm sure it'll get refined and refactored as time goes by, if people latch on.

Have you ever heard the catch-phrase, "What could POSSIBLY go wrong?" before?

Many have been burned by PHP experts before. This guy is a beginner. I really like the app design and idea but I can't find a reason to let protect my data or compromise my server. Might be cute to host it inside my firewall, though.

I care. As I am a developer I like to understand what the code does. If they would refactor this project to use 3-4 classes and a coherent structure it would make their code easier to overview and maintain. I prefer the mix of a beautiful UI, a meaningful UX and a powerful codebase.
As a developer I challenge you to understand what it does - and how- even though it's messy.
If it works but performs poorly due to poor design decisions I definitely care. Otherwise I'm with you -- I tend not to care about the skill level of the programmer as long as the application works and has no glaring security issues.
> If it works

That would be the question. Is it bugfree, or will it eat my data and let scriptkiddies run amok on my host?