web-frameworks

Web “frameworks” for Haxe to deploy in a PHP environment?

坚强是说给别人听的谎言 提交于 2019-11-29 01:50:26
问题 Lately I've been taking a look at Haxe, to build an application to be deployed to Apache running PHP. Well, while it looks like it might suit my needs (deploying to PHP, but not using an awful language), I haven't found anything to make the actual application development easier than building a traditional non-MVC PHP app. Are there any toolkits/frameworks that I'm missing, that would be worthwhile? It'd be nice if it were MVC inspired, and I'd definitely want an easy way to use nice URLS,

Web interface for a twisted application

*爱你&永不变心* 提交于 2019-11-29 01:33:37
问题 I have a application written in Twisted and I want to add a web interface to control and monitor it. I'll need plenty of dynamic pages that show the current status and configuration, so I hoped for a framework that offers at least a templating language with inheritance and some basic routing. Since I am using Twisted anyways I wanted to use twisted.web - but it's templating language is too basic and it seems that the only framework, Nevow is quite dead (it's on launchpad but the homepage and

Mature Clojure web frameworks? [closed]

时光毁灭记忆、已成空白 提交于 2019-11-28 15:03:53
What are the current choices of mature Clojure web frameworks? I am looking for some kind of feature matrix telling me what the popular frameworks support and to what extent, including: Response templating (response written in Clojure or in some other markup - e.g. like JSP with Tiles) HTTP sessions REST with automatic mapping of URLs into action-functions and params HTML forms (params available as map, error handling, validation) Application flow (known from Java frameworks - request handlers return action identifiers which are eventually handled by renderers) Michał Marczyk Perhaps my answer

What's the right approach for calling functions after a flask app is run?

扶醉桌前 提交于 2019-11-28 06:17:14
I'm a little confused about how to do something that I thought would be quite simple. I have a simple app written using Flask . It looks something like this: from flask import Flask app = Flask(__name__) def _run_on_start(a_string): print "doing something important with %s" % a_string @app.route('/') def root(): return 'hello world' if __name__ == "__main__": if len(sys.argv) < 2: raise Exception("Must provide domain for application execution.") else: DOM = sys.argv[1] _run_on_start("%s" % DOM) app.run(debug=True) What I'm finding is that my terminal is outputting the print statements in _run

Better alternative to Apache Tiles

梦想的初衷 提交于 2019-11-28 02:37:46
问题 I'm looking for a framework that is better and easier to use than Apache Tiles (which so far, I have used a couple of times). With Tiles, it seems that when I have 100 actions I need to creates 100 jsp files and create 100 definitions in tiles.xml . Is there a better framework to manage my templates? I want to create, for example, 2 templates: a) menu and column for content b) menu, column for content, right column with banner In both templates the menu is constant. In template b , the right

Django vs other Python web frameworks?

拟墨画扇 提交于 2019-11-27 10:23:29
I've pretty much tried every Python web framework that exists, and it took me a long time to realize there wasn't a silver bullet framework, each had its own advantages and disadvantages. I started out with Snakelets and heartily enjoyed being able to control almost everything at a lower level without much fuss, but then I discovered TurboGears and I have been using it (1.x) ever since. Tools like Catwalk and the web console are invaluable to me. But with TurboGears 2 coming out which brings WSGI support, and after reading up on the religious debates between the Django and WSGI camps, I'm

Comparing Haskell's Snap and Yesod web frameworks

被刻印的时光 ゝ 提交于 2019-11-27 09:56:57
The two Haskell web frameworks in the news recently are Yesod (at 0.8) and Snap (at 0.4). It's quite obvious that Yesod currently supports a lot more features than Snap. However, I can't stand the syntax Yesod uses for its HTML, CSS and Javascript. So, I'd like to understand what I'd be missing if I went with Snap instead. For example, doesn't look like database support is there. How about sessions? Other features? mightybyte Full disclosure: I'm one of the lead developers of Snap. First of all, let's talk about what Snap is. Right now the Snap team maintains five different projects on hackage

Solving the Double Submission Issue

江枫思渺然 提交于 2019-11-27 07:06:46
I would like to see how Web Developers avoid the double submission problem. So basically my understanding of the problem is as follows: Double submission occurs when an impatient user submits a form multiple times, causing issues. This problem can be fixed by JavaScript (specifically jQuery scripts) that disable the submit button once the form has been submitted - a weakness of this is if clients have JavaScript disabled. There is also server side methods of detection. So my questions are: How do people overcome double submission? What is a real life example of a problem caused by double

Solving the Double Submission Issue

跟風遠走 提交于 2019-11-27 03:59:29
问题 I would like to see how Web Developers avoid the double submission problem. So basically my understanding of the problem is as follows: Double submission occurs when an impatient user submits a form multiple times, causing issues. This problem can be fixed by JavaScript (specifically jQuery scripts) that disable the submit button once the form has been submitted - a weakness of this is if clients have JavaScript disabled. There is also server side methods of detection. So my questions are:

Best Web applications framework for Java? [closed]

你说的曾经没有我的故事 提交于 2019-11-27 03:46:52
Which is the best framework for Java? I'm looking for something similar to Symfony for php and Ruby-On-Rails for Ruby? I even don't know if anything such exists for Java or not. There are many great web frameworks for java, but if your looking for something that is similar to Rails, look at Grails . It uses Groovy , which is dynamic language, but uses the Java VM. Check out their quick start to determine if it's what you want. Georgy Bolyuba Take a look at Spring. I think it will do anything Ruby-On-Rails can do (you can also add Hibernate for ORM). i suggest you to check out the playframework