Skip to main content

Javier Neira's Library tagged webdev   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 that
    shows 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.
11 Dec 09

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

blog.chromium.org/...s-now-available-in-google.html - Preview

web sockets chromium google webdev

  • 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...
05 Dec 09

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.

www.ibm.com/...j-scala12228.html - Preview

scala webdev servlet howto

04 Dec 09

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.}

mrhaki.blogspot.com/...ess-using-servletcategory.html - Preview

groovy goodness webdev servlet example

26 Nov 09

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...
28 Oct 09

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)

firequery.binaryage.com - Preview

jquery firequery inject webdev mozilla plugin firebug

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.

impalablog.blogspot.com/...ml-makes-it-hard-to-write.html - Preview

webdev j2ee web.xml restrictions 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.
1 - 20 of 133 Next › Last »
Showing 20 items per page

Diigo is about better ways to research, share and collaborate on information. Learn more »

Join Diigo