关于Isaac Dealey关于OnTap框架的10个问题

tech2024-03-21  17

Isaac Dealey is the author of two frameworks: onTap and more recently, an ORM (object relational mapper) called DataFaucet (subject of a future framework interview). Here’s his answers to my 10 framework questions.

Isaac Dealey是两个框架的作者:onTap和最近的一个称为DataFaucet的ORM(对象关系映射器)(未来框架访谈的主题)。 这是他对我的10个框架问题的回答。

See other framework interviews: Geoff Bowers on FarCry, John Farrar on COOP and Mark Mandel on Transfer ORM.

参见其他框架访谈: FarCry上的Geoff Bowers , COOP 上的 John Farrar和Transfer ORM上的Mark Mandel 。

1. Hi Ike! Give us your elevator pitch: summarize the essence of onTap in a sentence or two.

1.嗨,艾克! 给我们您的电梯音调:用一两句话总结onTap的本质。

Sales Pitchy Version: The onTap framework does for ColdFusion what ColdFusion did for the web: simplify a lot of powerful tools.

Sales Pitchy版本:onTap框架对ColdFusion起作用,而ColdFusion对Web起作用:简化许多功能强大的工具。

Not so Sales Pitchy Version: The onTap framework is an SOA approach to ColdFusion development.

并非Sales Pitchy版本:onTap框架是用于ColdFusion开发的SOA方法。

2. Let’s dig a little deeper: tell us more about the main features.

2.让我们进行更深入的了解:向我们详细介绍主要功能。

Version 3.2 has converted all its config files from flat CFML includes now to CFCs and includes a new IoC Manager. The IoC Manager and the Plugin Manager provides a structure for developers to distribute or sell pluggable, smartly integrated applications and services that can be installed within a browser. In the not too distant future, the framework site will host a webservice which allows those “plugin” applications to be installed directly from within the framework in much the same way that add-ons can be installed in Eclipse or FireFox 3 without leaving the IDE.

3.2版已将其所有配置文件从现在的平面CFML转换为CFC,并包括一个新的IoC管理器。 IoC管理器和插件管理器为开发人员提供了一种结构,可用于分发或出售可安装在浏览器中的可插拔的,智能集成的应用程序和服务。 在不久的将来,框架站点将托管一个Web服务,该服务允许直接在框架内安装这些“插件”应用程序,其方式与可以在不离开IDE的情况下将附件安装在Eclipse或FireFox 3中的方式相同。

If that sounds intimidating, don’t worry. None of that is actually necessary for developing applications with the onTap framework. The framework itself is agnostic about OO, the same way that the Fusebox framework is agnostic. You can choose to develop your application in an “extreme OO” manner, using an IoC framework, etc. or you can just build pages if that’s your preference. My preference is for the OO/SOA approach.

如果这听起来令人生畏,请不要担心。 使用onTap框架开发应用程序实际上并不需要这些。 框架本身与OO无关,与Fusebox框架无关。 您可以选择使用IoC框架等以“极端的OO”方式开发应用程序,也可以仅构建页面(如果您愿意)。 我更喜欢OO / SOA方法。

The framework includes a powerful XHTML library: a powerful and extensible templating engine which gives you access to a variety of form building and Ajax tools.

该框架包括一个强大的XHTML库:一个强大且可扩展的模板引擎,使您可以访问各种表单构建和Ajax工具。

I use these XHTML tools in combination with a unique core architecture I’ve been calling “tiered inclusion”. Where Fusebox has circuits and fuseactions, the onTap framework has a “process”, which resembles and actually maps to both a URL and a file path. This tiered inclusion also provides some additional directory-based hooks for powerful branding/customization features as well as a host of very comprehensive internationalization (i18n) features for anyone who needs or wants them.

我将这些XHTML工具与一种我称为“分层包含”的独特核心体系结构结合使用。 在Fusebox具有电路和熔断的情况下,onTap框架具有一个“进程”,该进程类似于并且实际上映射到URL和文件路径。 此分层包含还提供了一些附加的基于目录的挂钩,以提供强大的商标/定制功能,以及为需要或需要的人提供的非常全面的国际化(i18n)功能。

And that’s not even getting into a variety of other odds and ends you’ll find in the framework like content caching, section-508 compliant Ajax widgets, an XML-based rule-manager tool for providing powerfully configurable business logic that users can manage (not found in other frameworks), etc.

而且,您甚至不会在框架中找到各种各样的杂项,例如内容缓存,符合508节的Ajax小部件,这是一种基于XML的规则管理器工具,用于提供用户可以管理的功能强大的可配置业务逻辑(在其他框架中找不到),等等。

3. How did onTap come about and what was the reason for creating it? How are you involved?

3. onTap是如何产生的,创建它的原因是什么? 您如何参与?

I’m the original author. About the time I started working on the tiered inclusion technique, I had been doing a lot of work with Fusebox 3. Sure it was a decent framework, and initially I was a big fan of it… over time I found myself growing increasingly disenchanted by the amount of repetition involved in the switch files in Fusebox 3.

我是原作者。 大约在我开始研究分层包含技术时,我已经在Fusebox 3上进行了大量工作。确保它是一个不错的框架,最初我是它的忠实拥护者……随着时间的流逝,我发现自己越来越对它感到困惑Fusebox 3中的切换文件中涉及的重复次数。

The tiered inclusion concept was something that just occurred to me spur of the moment one day and I worked on it for a long time to perfect it. For myself, it’s always provided an excellent way of reducing the amount of code I write. The rest of the framework came later and has always just been an endless pursuit of tools to make my own development work easier – if I found a way to create a generic tool that would be useful later, I included it in the distribution.

分层包容性概念是一天中突然发生的事情,我花了很长时间来完善它。 对于我自己,它总是提供一种减少我编写的代码量的绝妙方法。 框架的其余部分随后出现,并且一直是对工具的不懈追求,以使我自己的开发工作更轻松–如果我找到了创建通用工具的方法,该工具以后将有用,则将其包含在发行版中。

4. When should a developer seek out onTap? What has it got going for it?

4.开发人员应何时寻找onTap? 它有什么用呢?

The onTap framework’s biggest strength is in its ability to allow seamless branding and customization as well as seamless, automated integration between plugin applications (both using the same techniques).

onTap框架的最大优势在于它能够实现无缝的品牌和自定义,以及插件应用程序之间的无缝,自动集成(都使用相同的技术)。

I worked for a lot of ASP companies over the years and one thing that has been a consistent problem at every ASP I’ve worked for has been client customization requests. Clients invariably want tools the system wasn’t designed to provide and then finding a way to provide them is consistently problematic for the company providing the service, often actually hurting the company financially. The onTap framework provides a comprehensive set of tools that work very well for mitigating the problems caused by implementing client customization requests.

多年来,我为许多ASP公司工作,而我工作的每个ASP一直存在的一个问题就是客户定制请求。 客户总是想要系统未设计的工具,然后找到提供这些工具的方法对于提供服务的公司始终存在问题,通常实际上会给公司造成财务损失。 onTap框架提供了一套全面的工具,这些工具非常有效地缓解了由于实施客户端自定义请求而导致的问题。

5. What are the pre-requisites for using onTap? Is there any prior knowledge that would help new users? Does it use any other frameworks that could simplify or complicate things?

5.使用onTap的前提条件是什么? 是否有任何有助于新用户的先验知识? 它是否使用其他任何可以简化或复杂化的框架?

Knowing some ColdFusion obviously would help! The only real requirement is ColdFusion 7 and it should run on both Windows and Unix operating systems. I haven’t tried with more recent versions of BlueDragon or with Railo yet. It doesn’t require any additional frameworks, although it does include built-in integration for ColdSpring or Lightwire if that’s your preference.

知道一些ColdFusion显然会有所帮助! 唯一真正的需求是ColdFusion 7,它应该可以在Windows和Unix操作系统上运行。 我还没有尝试使用最新版本的BlueDragon或Railo。 它不需要任何其他框架,但是如果您愿意,它确实包括ColdSpring或Lightwire的内置集成。

The core architecture behind the onTap framework is honestly not very complicated and is intentionally designed to be very simple to use, however it is unlike most other ColdFusion frameworks in its approach. So if you come to it expecting it to behave just like Mach-II, Model-Glue, ColdBox or even FuseBox you might have to unlearn some complexity to understand how simple and powerful the onTap framework is.

坦白地说,onTap框架背后的核心体系结构并不是很复杂,并且有意设计为易于使用,但是其方法与大多数其他ColdFusion框架不同。 因此,如果您期望它像Mach-II,Model-Glue,ColdBox甚至FuseBox一样运行,则可能必须了解一些复杂性才能了解onTap框架的简单性和强大性。

When I work on my own projects, I spend no more than a few minutes on things that normally, even with a good framework like ColdBox, would take several hours of my time. I spend those extra hours working on new problems instead of working on problems that I’ve already solved a bazillion times, like laying out or validating a form. And when I work on projects at my day job I essentially consider much of my time spent working as “time wasted” because I know how much faster things could be done.

当我从事自己的项目时,即使是使用ColdBox之类的良好框架,我通常也要花费数小时的时间,而这些时间通常不会花几分钟。 我将这些额外的时间花在处理新问题上,而不是处理已经解决了无数次的问题,例如布置或验证表格。 而且,当我在日常工作中从事项目工作时,我实际上将大部分时间都花在了“浪费时间”上,因为我知道可以更快地完成工作。

6. What sets onTap apart from other frameworks?

6. onTap与其他框架有何不同?

Three things especially: – Its SOA Approach to ColdFusion development – Powerful tools for customization and branding (very useful for ASPs) – Its simplicity

特别要注意三件事:–用于ColdFusion开发的SOA方法–强大的定制和品牌工具(对ASP很有用)–简单

Actually something I find interesting is that several years ago I had done a comparison of several ColdFusion frameworks – there weren’t very many at the time, so I had just Fusebox 3 and 4, Mach-II and the onTap framework. At the time I was really disenchanted by the extra work required by the other frameworks, particularly the many, many lines of XML required for Mach-II.

实际上,我发现有趣的是,几年前我对几种ColdFusion框架进行了比较–当时还没有太多,所以我只有Fusebox 3和4,Mach-II和onTap框架。 那时,我真的对其他框架所需的额外工作特别着迷,尤其是Mach-II所需的许多行XML。

In the intervening years, not just Mach-II and Fusebox have adopted my approaches, but other frameworks like ColdBox have cropped up in various places all touting as their advantages techniques that I’d been using for a long time. I’m not just saying this to pat myself on the back (in spite of the fact that I do take pride in it), but to point out that nearly everything that’s in the onTap framework has always been “ahead of its time”. I think that should speak to the longevity of the framework, which I know a few people have worried about.

在随后的几年中,不仅Mach-II和Fusebox都采用了我的方法,而且Coldbox之类的其他框架也出现在各个地方,它们都是我长期使用的优势技术。 我不仅说这是为了反击自己(尽管我确实为此感到自豪),但要指出的是,onTap框架中的几乎所有内容始终“遥遥领先”。 我认为这应该说明该框架的使用寿命,我知道有些人对此感到担心。

In truth I like to think that the onTap framework functions in many ways a lot more like ColdFusion than most of the other ColdFusion frameworks that have been created in recent years.

实际上,我喜欢认为onTap框架在很多方面都比最近创建的大多数其他ColdFusion框架更像ColdFusion。

7. Are there any great examples of onTap “in the wild”?

7.在“野外”有没有onTap的出色范例?

I have to be honest here and say nobody’s informed me of any yet. I really wish I could say “ahh yeah, XXX Bank is using it”, but I can’t.

我必须在这里诚实,说还没有人通知我。 我真的希望我能说“啊,是的,XXX Bank正在使用它”,但我不能。

Several years ago I implemented a solution using it for a defense contractor called Raytheon. I hesitate to say that’s an example of the framework in the wild because it was such an early version.

几年前,我为一家名为Raytheon的国防承包商实施了一个解决方案。 我会毫不犹豫地说这是框架的一个示例,因为它太早了。

I’m excited to get the news though!

我很高兴得到这个消息!

8. What about licensing, community, support and documentation?

8.许可,社区,支持和文档如何处理?

It’s released with an OpenBSD style license, which is a little less restrictive than LGPL2 in that, not only are you allowed to create commercial software using it (lord knows I’ve had my own plans), but you can also encrypt your own software based on the onTap framework if you want to. It only requires that you include the notice that your distribution includes the onTap framework and that it’s not endorsed by the framework authors (which as of today is just me).

它以OpenBSD样式的许可证发布,与LGPL2相比,它的限制要少一些,不仅允许您使用它创建商业软件(上帝知道我有自己的计划),而且还可以加密自己的软件基于onTap框架(如果需要)。 它只要求您包括以下通知:您的发行版包含onTap框架,并且框架作者未认可该文件(到目前为止,该文件仅属于我)。

I’m currently working rather hard to try and grow the framework community. I’m trying to find better ways to encourage feedback and participation. I’m just not good at the marketing and people skills. I am however very interested in growing a more active community around this framework like the Fusebox or FarCry communities which have actual dev. teams and active forums and mailing lists. I’d like the framework to have a dev team at some point, not just me. I’d like for it to include code reviews / critiques and code contributions from other members of the community. I just recently published a blog about this specifically asking for people to write about their experiences with the framework, good bad or ugly.

我目前正在相当努力地尝试发展框架社区。 我正在尝试寻找更好的方法来鼓励反馈和参与。 我只是不擅长市场营销和人际交往能力。 但是,我对围绕此框架建立更活跃的社区(例如具有实际开发人员的Fusebox或FarCry社区)非常感兴趣。 团队,活跃的论坛和邮件列表。 我希望该框架在某个时候有一个开发团队,而不仅仅是我自己。 我希望它包括社区中其他成员的代码审查/评论和代码贡献。 我最近刚刚发布了一个有关此问题的博客,专门要求人们写下他们使用框架的经历,无论是好是坏。

Documentation for the framework has always been… well, verbose. I have actually removed some of the documentation in this latest release because I found that not only was a lot of it not read, but I’d had a number of developers over the years voice … well they weren’t complaints, but they would say things like Jeff Peters from the Fusebox community when I met him at cf.Objective had related an anecdote about having looked at the documentation a few days before and having a conversation with someone else in which the phrase “Do I have to read ALL this?!” was used.

框架的文档一直都是……很好,很冗长。 实际上,我已经删除了此最新发行版中的一些文档,因为我发现不仅很多文档未被阅读,而且多年来我有很多开发人员的声音……嗯,他们不是抱怨,但是他们会当我在cf.Objective遇见Fusebox社区中的Jeff Peters之类的事情时,他讲了一个轶事,涉及几天前看过文档并与其他人交谈,其中“我必须阅读所有这句话吗? ?!” 被使用了。

The author of Model-Glue, Joe Rinehart once made a comment on the cf-talk list to the effect of “thanks for setting the bar so high for documentation” because he found my documentation to be so thorough (read LONG).

Model-Glue的作者Joe Rinehart曾经在cf-talk列表上发表了评论,其结果是“感谢为文档设置很高的标准”,因为他发现我的文档太详尽了(请阅读LONG)。

9. What’s coming up in the future for onTap?

9. onTap将来会发生什么?

Right now I’m working on getting it back onto its own domain. I just registered tapogee.com … Soon I hope it will be hosting the webservice I mentioned before for instantly finding and downloading plugin applications. My hope is that with a more active community there will be many plugin-based services and applications that can all work together to create a suite that truly leverages the collective talents of the ColdFusion community at large in a way that’s not been seen with other frameworks thus far (yes even FarCry, I’m that bold). Work less, accomplish more.

现在,我正在努力将其恢复到自己的域中。 我刚刚注册了tapogee.com…很快,我希望它可以托管我之前提到的Web服务,以便立即查找和下载插件应用程序。 我的希望是,随着社区的活跃,将有许多基于插件的服务和应用程序可以一起工作,以创建一套套件,该套件可以真正利用整个ColdFusion社区的集体才能,而这是其他框架所没有的到目前为止(是的,即使是FarCry,我也这么大胆)。 少工作,多成就。

To that end I’m also considering self-publishing a small book on how to develop applications using the framework, and possibly t-shirts and other guerilla-marketing techniques.

为此,我还将考虑自行出版一本小书,介绍如何使用该框架以及可能的T恤和其他游击营销技术开发应用程序。

10. Where can people find more information about onTap?

10.人们在哪里可以找到有关onTap的更多信息?

http://on.tapogee.com and check out the framework blog on RIAForge.

http://on.tapogee.com并查看RIAForge上的框架博客 。

翻译自: https://www.sitepoint.com/isaac-dealey-on-the-ontap-framework/

相关资源:ibm 云计算 isaac hslt 文档
最新回复(0)