TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Build Business Logic in Minutes, Not Weeks

51 pointsby ihodesover 11 years ago

12 comments

ebiesterover 11 years ago
I get it, in principle, but in every project I&#x27;ve been in, actually nailing down the business logic itself is the tricky part, more than coding it up. It usually goes like this.<p>&quot;I want it to work like A.&quot; <i>code it up, find twenty edge case potentials</i> &quot;Well, 3, 5, 6, and 7 can be solved like this, let&#x27;s guard to make sure 1, 3, 8, 9 never happen, 10-13 can never happen, and let me get back to you on the rest.&quot; <i>code it up, notice a few more edge cases.</i> Lather, rinse, repeat.<p>Along the way, one of the edge cases will show me that what they really want is B, and time and budget let me know if we start down that path.
评论 #6609126 未加载
评论 #6609347 未加载
评论 #6610769 未加载
ihodesover 11 years ago
This has been my project for the past few months, in one form or another. I&#x27;m planning on making a video to show just how easy and extensible this system is, as well as launching to a few small companies in the coming weeks. I&#x27;d love to answer any questions&#x2F;take any criticism. Crocker&#x27;s Rules (but that&#x27;s a given around here :)
tarr11over 11 years ago
Is this a JSON oriented workflow engine?<p>My experience with workflow engines (as a developer) has been ... not great. They are hard to debug, and difficult to code once the logic gets complicated.
评论 #6607928 未加载
memracomover 11 years ago
No, building business logic takes years, and even then it is not done because the business needs demand that it be changed yet again. Business logic is never correct. At best it is just good enough for now. This is why established businesses place so much emphasis on change management. They know that change is constant and that they need changes to be carefully managed in order to adapt fast enough, yet not break anything.
评论 #6609523 未加载
toddmoreyover 11 years ago
As an extended state machine, it&#x27;s certainly an interesting concept. I also love that you describe the components of your workflow in JSON, but the logical pieces are I think where this approach struggles.<p>I mean I get what&#x27;s going on here, but the syntax clutter drives me nuts.<p>[[&quot;if&quot;, &quot;eq&quot;, &quot;decline&quot;], &quot;Pending Response&quot;]
评论 #6609569 未加载
krmmalikover 11 years ago
I&#x27;d love to chat with you more about this. I don&#x27;t know if we could benefit since we&#x27;re not building a business app even though it has a fair amount of business logic planned in the spec.<p>I&#x27;ve signed up to your mailing list anyhow. (Khuram Malik)<p>Look forward to chatting to you.
评论 #6608028 未加载
ppadronover 11 years ago
Also, NoFlo: <a href="http://noflojs.org/" rel="nofollow">http:&#x2F;&#x2F;noflojs.org&#x2F;</a>.
评论 #6609813 未加载
gfodorover 11 years ago
Amazon has a killer offering for this problem in the form of SWF. It&#x27;s fairly under the radar as they have done a terrible job marketing it, but it&#x27;s great.
评论 #6608034 未加载
te0006over 11 years ago
thingamy.com have been building and offering a web-based system for supporting what they chose to call &quot;Barely Repeatable (business) Processes&quot; for years, and put a lot of tought into it. Written in Lisp btw.<p>See <a href="http://www.thingamy.com" rel="nofollow">http:&#x2F;&#x2F;www.thingamy.com</a> -&gt; &quot;process engine&quot;<p>(not associated in any way, just used to read and like their blog for some time)
fleitzover 11 years ago
Or do it on your own server with a DSL instead of JSON.<p><pre><code> gem install state_machine</code></pre>
ericHosickover 11 years ago
What external APIs are working in Copper? Stripe? Twilio? etc.?
评论 #6607943 未加载
elwellover 11 years ago
&quot;in Minutes&quot;... no.