您使用什么工具来创建Web服务的原型或模型?

时间:2022-09-02 09:01:23

Ideally, and you will think I am crazy, I can code some basic logic into a bash or korn script and open that functionality up to clients hitting them. There is a lot of plumbing involved in web services and I was wondering what tools and techniques more experienced developers have been using to prototype systems where a backend webservice may not be yet available. Do such tools exist for bash and ksh? What languages are the easiest to develop mockups in. BTW I am staring at an ecplipse IDE feeling a bit disgusted by what I am looking at. I just now got JBOSS installed and running... at its heart all these services are are socket connections to the client through a port ... or am I mistaken?

理想情况下,您会认为我疯了,我可以将一些基本逻辑编码为bash或korn脚本,并打开该功能直至客户点击它们。 Web服务涉及很多管道,我想知道更有经验的开发人员使用哪些工具和技术来构建可能尚未提供后端Web服务的系统原型。 bash和ksh是否存在这样的工具?什么语言最容易开发模型.BTW我盯着ecplipse IDE感觉有些厌恶我正在看的东西。我刚刚安装并运行了JBOSS ......其核心所有这些服务都是通过端口连接到客户端的套接字......或者我错了?

BTW: I am currently reading through this. And my disgust is increasing.

顺便说一句:我正在读这篇文章。而我的厌恶正在增加。

2 个解决方案

#1


I share your disgust with eclipse. A language like Python is perfect for rapid prototyping. If you combine it with one of the many web frameworks (Pylons or Django would be my recommendation for Python), the amount of work you can accomplish quickly is astounding.

我和eclipse分享你的厌恶。像Python这样的语言非常适合快速原型设计。如果你将它与许多Web框架中的一个结合起来(Pylons或Django将是我对Python的推荐),那么你可以快速完成的工作量是惊人的。

#2


Seriously consider some other scripting language. I've been using Python and Ruby to build quick prototypes, and been very happy with them.

认真考虑其他一些脚本语言。我一直在使用Python和Ruby来构建快速原型,并对它们非常满意。

If you're free to make this choice, consider using a REST architecture instead of a WSDL and SOAP solution. RPC has its place, but if you can live with the restrictions of REST, life will be much easier. Even if you can't, it's a lot quicker for prototyping to use a dynamic language.

如果您可以*选择,请考虑使用REST架构而不是WSDL和SOAP解决方案。 RPC有它的位置,但是如果你能忍受REST的限制,那么生活将变得更加容易。即使你不能,使用动态语言进行原型设计也要快得多。

#1


I share your disgust with eclipse. A language like Python is perfect for rapid prototyping. If you combine it with one of the many web frameworks (Pylons or Django would be my recommendation for Python), the amount of work you can accomplish quickly is astounding.

我和eclipse分享你的厌恶。像Python这样的语言非常适合快速原型设计。如果你将它与许多Web框架中的一个结合起来(Pylons或Django将是我对Python的推荐),那么你可以快速完成的工作量是惊人的。

#2


Seriously consider some other scripting language. I've been using Python and Ruby to build quick prototypes, and been very happy with them.

认真考虑其他一些脚本语言。我一直在使用Python和Ruby来构建快速原型,并对它们非常满意。

If you're free to make this choice, consider using a REST architecture instead of a WSDL and SOAP solution. RPC has its place, but if you can live with the restrictions of REST, life will be much easier. Even if you can't, it's a lot quicker for prototyping to use a dynamic language.

如果您可以*选择,请考虑使用REST架构而不是WSDL和SOAP解决方案。 RPC有它的位置,但是如果你能忍受REST的限制,那么生活将变得更加容易。即使你不能,使用动态语言进行原型设计也要快得多。