Welcome to EverybodyWiki ! Nuvola apps kgpg.png Sign in or create an account to improve, watchlist or create an article like a company page or a bio (yours ?)...

Takes (framework)

From EverybodyWiki Bios & Wiki
Jump to navigation Jump to search

Takes Logo.png
Developer(s)Yegor Bugayenko
Stable release
1.7.1 / October 14, 2017 (2017-10-14)
Written inJava
    Lua error in Module:Wd at line 162: attempt to index field 'wikibase' (a nil value).
Operating systemCross-platform
PlatformJava Virtual Machine
TypeWeb framework
Website<strong%20class= "error"><span%20class="scribunto-error"%20id="mw-scribunto-error-4">Lua%20error%20in%20Module:Wd%20at%20line%20162:%20attempt%20to%20index%20field%20'wikibase'%20(a%20nil%20value). http://<strong%20class="error"><span%20class="scribunto-error"%20id="mw-scribunto-error-4">Lua%20error%20in%20Module:Wd%20at%20line%20162:%20attempt%20to%20index%20field%20'wikibase'%20(a%20nil%20value).

Takes is an open source web framework based on the principles of immutability and object-oriented programming.

Its key benefits, comparing to all others, include these four fundamental principles:

  1. Not a single NULL
  2. Not a single public static method
  3. Not a single mutable class, and
  4. Not a single instanceof keyword, type casting, or reflection.

Features[edit | edit source]

  • No configuration files
  • No need to use any web container
  • Hit-refresh debugging
  • Native support of XML+XSLT templating
  • Native support of JSON
  • JUnit integration
  • Velocity, JSP, JSF templates/layouts
  • Open-source
  • Lightweight

Example[edit | edit source]

A Hello World Takes application, with just one file:

import org.takes.http.Exit;
import org.takes.http.FtBasic;
import org.takes.facets.fork.TkFork;
public final class Hello {
  public static void main(final String... args) throws Exception {
    new FtBasic(
      new TkFork(new FkRegex("/", "hello, world!")), 8080

References[edit | edit source]

External links[edit | edit source]

Some use of "" in your query was not closed by a matching "".Some use of "" in your query was not closed by a matching "".

  • Lua error in Module:Official_website at line 90: attempt to index field 'wikibase' (a nil value).

This article "Takes (framework)" is from Wikipedia. The list of its authors can be seen in its historical and/or the page Edithistory:Takes (framework). Articles copied from Draft Namespace on Wikipedia could be seen on the Draft Namespace of Wikipedia and not main one.

Compte Twitter EverybodyWiki Follow us on https://twitter.com/EverybodyWiki !