web-frameworks

Does it make sense to use Google Web Toolkit (GWT) as a full-blown Java web framework?

余生颓废 提交于 2019-12-03 07:28:08
问题 I am interested in the possibility that GWT could serve as the basis for my entire presentation layer. I would be interested to know if anyone has tried this successfully - or unsuccessfully - and could persuade or unpersuade me from attempting this. 回答1: I worked with GWT about a year ago. At the time it seemed like a great idea, with a number of caveats: I had "gotcha" problems with some parts of the API, that were probably related to the fact that you're coding as if you're in java when in

Sinatra success stories [closed]

末鹿安然 提交于 2019-12-03 05:43:41
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 8 years ago . Have you used Sinatra successfully? What kind of a project was it? In what situations would you recommend using Sinatra instead of Rails or Merb? 回答1: I've dabbled with Sinatra, but haven't really written anything serious with it. As you said above, there's a list at http://www.sinatrarb.com/wild.html, although

How to get the current port number in Flask?

十年热恋 提交于 2019-12-03 04:59:13
问题 Using Flask, how can I get the current port number that flask is connected to? I want to start a server on a random port using port 0 but I also need to know which port I am on. Edit I think I've found a work around for my issue, although it isn't an answer to the question. I can iterate through ports starting with 49152 and attempt to use that port through app.run(port=PORT) . I can do this in a try catch block so that if I get an Address already in use error, I can try the next port. 回答1:

What are the best MVC web frameworks on the market? [closed]

人走茶凉 提交于 2019-12-03 03:45:32
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 5 years ago . I am looking for a Web Framework to move windows based applications to the web. The main requirements to WF are the following: unit tests support desktop and mobile browsers support long term viability maturity of the framework 回答1: In my opinion, with contributions from the

What python equivalent of Sinatra would you recommend? [closed]

帅比萌擦擦* 提交于 2019-12-03 01:17:29
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. I like the sinatra framework, but might have to work in python. A quick web search has uncovered a few python equivalents including itty , flask and juno . I'd like to know people's experience of these, or other sinatra equivalents. Which would you recommend

Is there a good, free small Python web host? [closed]

旧巷老猫 提交于 2019-12-03 00:18:38
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . I want to develop a web app for my own personal use, that I can access from my phone and my computer. I thought I'd hone my Python

Can we say node.js is a web server?

天大地大妈咪最大 提交于 2019-12-03 00:12:26
问题 I found that I am confusing between web framework and web server. Apache is a web server. Tornado is a web server written in Python. Nginx is a web server written in C Zend is a web framework in php Flask/Bottle is a web framework in Python RoR is a web framework written in Ruby Express is a web framework written in JS under Node.JS Can we say node.js is a web server??? I am so confused between web server/ framework. If somehow node.js is kind of webserver, not webframework (Express does),

Which Perl web framework should I use?

爷,独闯天下 提交于 2019-12-02 23:32:10
I would like to develop a web application using Perl. Refer some Perl package (like Strawberry ) which is simple to install. Also it should be suitable for the web application. Have a look at Mojolicious , a complete and modern framework for Web applications whose only requirement is Perl (no additional modules required!). To install it, just download a Strawberry Perl version and issue cpan Mojolicious : no dependencies required. Or, download the latest tar.gz for Mojolicious, unpack it, and perl Makefile.PL && make test install . With it, you get a Modern Perl web client, server, MVC

Does it make sense to use Google Web Toolkit (GWT) as a full-blown Java web framework?

风格不统一 提交于 2019-12-02 20:59:39
I am interested in the possibility that GWT could serve as the basis for my entire presentation layer. I would be interested to know if anyone has tried this successfully - or unsuccessfully - and could persuade or unpersuade me from attempting this. I worked with GWT about a year ago. At the time it seemed like a great idea, with a number of caveats: I had "gotcha" problems with some parts of the API, that were probably related to the fact that you're coding as if you're in java when in fact you're actually writing for a separately compiled environment that acts like java, so you make some

How to get the current port number in Flask?

泪湿孤枕 提交于 2019-12-02 19:20:58
Using Flask , how can I get the current port number that flask is connected to? I want to start a server on a random port using port 0 but I also need to know which port I am on. Edit I think I've found a work around for my issue, although it isn't an answer to the question. I can iterate through ports starting with 49152 and attempt to use that port through app.run(port=PORT) . I can do this in a try catch block so that if I get an Address already in use error, I can try the next port. You can't easily get at the server socket used by Flask, as it's hidden in the internals of the standard