Javier Neira's Library tagged → View Popular
we can beat the arc challenge
-
In this gist we will first show that we can beat the arc challenge(http://www.paulgraham.com/arcchallenge.html), and then build the library thatshows how we did it. This gist is Literate Haskell and is of course executable. The packages needed are happstack-server and applicative-extras, installable using cabal.
Chromium Blog: Web Sockets Now Available In Google Chrome
Web Sockets are available and enabled by default. Web Sockets are "TCP for the Web," a next-generation bidirectional communication technology for web applications
-
Web Sockets are available and enabled by default. Web Sockets are "TCP for the Web," a next-generation bidirectional communication technology for web applications
-
The Web Sockets API enables web applications to handle bidirectional communications with server-side process in a straightforward way.
- 2 more annotations...
The busy Java developer's guide to Scala: Scala and servlets
Summary: In order for a language to be recognized as "real-world" and "ready for prime-time," the language has to be able to reach out to real-world environments and applications. In this installment, Ted Neward begins a tour of Scala in the real world by examining how Scala can interact with the core Servlet API and perhaps even improve it a little.
Groovy Goodness: Using the ServletCategory - Messages from mrhaki
// File: Start.groovy
01.import javax.servlet.http.*
02.import javax.servlet.*
03.import groovy.servlet.ServletCategory
04.
05.class Start extends HttpServlet {
06. def application
07.
08. void init(ServletConfig config) {
09. super.init(config)
10. application = config.servletContext
11. use(ServletCategory) {
12. application.author = 'mrhaki'
13. }
14. }
15.
16. void doGet(HttpServletRequest request, HttpServletRespons reponse) {
17. def session = request.session
18. use (ServletCategory) {
19. if (session.counter) { // We can use . notation to access session attribute.
20. session.counter++ // We can use . notation to set value for session attribute.
21. } else {
22. session.counter = 1
23. }
24.
25. request.pageTitle = 'Groovy Rocks!'
26. }
27. application.getRequestDispatcher('/output').forward(request, response)
28. }
29.}
http://intensivesystems.net/tutorials/web_sessions.html
-
A web application consists of multiple web pages that taken together allow the user to accomplish a task or tasks.
Each web page is generated based on what actions the user has taken on previously viewed pages. -
The user carries a mental context in their
head and the application server must as well. The problem is that the HTTP protocol is stateless. That is, each request
is totally independent of any request that came before or comes after. - 17 more annotations...
Comet - Wikipedia, la enciclopedia libre
-
Dojo es el primer framework que implementa a Comet.
FireQuery = Firebug enhancements for jQuery
Features
FireQuery is a Firefox addon integrated with Firebug
* jQuery expressions are intelligently presented in Firebug Console and DOM inspector
* attached jQuery datas are first class citizens
* elements in jQuery collections are highlighted on hover
* jQuerify: enables you to inject jQuery into any web page
Compatibility
* v0.3 works with official Firebug 1.3 and official Firebug 1.4 (Firefox 2.0 - 3.5)
* v0.2 works with beta Firebug 1.4 (Firefox 3.0.x or Firefox 3.5)
The Impala Blog: Why web.xml makes it hard to write modular web applications
What about Servlet 3.0?
The changes described above are very much in line with the changes in the forthcoming Servlet 3 specification which allow servlets and filters to be added via web.xml fragments, and via annotations. It will also allows you to add Servlet and Filter instances programmatically.
-
The changes described above are very much in line with the changes in the forthcoming Servlet 3 specification which allow servlets and filters to be added via web.xml fragments, and via annotations. It will also allows you to add Servlet and Filter instances programmatically.
Selected Tags
Related Tags
Sponsored Links
Top Contributors
Groups interested in webdev
-
Cool AJAX Controls
Cool AJAX controls worth fu...
Items: 16 | Visits: 84
Created by: Darren Wallace
-
webdev
Items: 140 | Visits: 88
Created by: Greg Kerstin
-
WebDev
Items: 1079 | Visits: 87
Created by: Tazem Zero
Diigo is about better ways to research, share and collaborate on information. Learn more »
Join Diigo
