TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Build Business Logic in Minutes, Not Weeks

51 点作者 ihodes超过 11 年前

12 条评论

ebiester超过 11 年前
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 未加载
ihodes超过 11 年前
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 :)
tarr11超过 11 年前
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 未加载
memracom超过 11 年前
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 未加载
toddmorey超过 11 年前
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 未加载
krmmalik超过 11 年前
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 未加载
ppadron超过 11 年前
Also, NoFlo: <a href="http://noflojs.org/" rel="nofollow">http:&#x2F;&#x2F;noflojs.org&#x2F;</a>.
评论 #6609813 未加载
gfodor超过 11 年前
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 未加载
te0006超过 11 年前
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)
fleitz超过 11 年前
Or do it on your own server with a DSL instead of JSON.<p><pre><code> gem install state_machine</code></pre>
ericHosick超过 11 年前
What external APIs are working in Copper? Stripe? Twilio? etc.?
评论 #6607943 未加载
elwell超过 11 年前
&quot;in Minutes&quot;... no.