All Projects → bigskysoftware → Htmx

bigskysoftware / Htmx

Licence: bsd-2-clause
</> htmx - high power tools for HTML

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
ruby
36898 projects - #4 most used programming language
SCSS
7915 projects
Nunjucks
165 projects
CSS
56736 projects

Projects that are alternatives of or similar to Htmx

Symlex
A lean framework stack for agile Web development based on Symfony and Vuetify
Stars: ✭ 278 (-94.71%)
Mutual labels:  rest
Slim Api Skeleton
Slim 3 API skeleton project for Composer
Stars: ✭ 296 (-94.37%)
Mutual labels:  rest
Ng Admin Demo
Source of the ng-admin angular.js demo, using a dummy REST service powered by FakeRest
Stars: ✭ 310 (-94.1%)
Mutual labels:  rest
Nodejs Restful Api
How to create a RESTful CRUD API using Nodejs?
Stars: ✭ 285 (-94.58%)
Mutual labels:  rest
Jaguar
Jaguar, a server framework built for speed, simplicity and extensible. ORM, Session, Authentication & Authorization, OAuth
Stars: ✭ 286 (-94.56%)
Mutual labels:  rest
Http Rpc
Lightweight REST for Java
Stars: ✭ 298 (-94.33%)
Mutual labels:  rest
Requester
Powerful, modern HTTP/REST client built on top of the Requests library
Stars: ✭ 273 (-94.81%)
Mutual labels:  rest
Imbo
Imbo is an image "server" that can be used to add/get/delete images using a RESTful interface.
Stars: ✭ 312 (-94.06%)
Mutual labels:  rest
Vulcain
Fast and idiomatic client-driven REST APIs.
Stars: ✭ 3,190 (-39.31%)
Mutual labels:  rest
Angularjs Springmvc Sample Boot
A RESTful sample using Spring Boot, Spring MVC, Spring Data and Angular/Bootstrap.
Stars: ✭ 309 (-94.12%)
Mutual labels:  rest
React Admin
A frontend Framework for building B2B applications running in the browser on top of REST/GraphQL APIs, using ES6, React and Material Design
Stars: ✭ 18,525 (+252.45%)
Mutual labels:  rest
Stubb
Specify REST API stubs using your file system.
Stars: ✭ 289 (-94.5%)
Mutual labels:  rest
Spring Boot File Upload Download Rest Api Example
Spring Boot File Upload / Download Rest API Example
Stars: ✭ 300 (-94.29%)
Mutual labels:  rest
Jsonld
JSON-LD processor for PHP
Stars: ✭ 280 (-94.67%)
Mutual labels:  rest
Guns
Guns基于SpringBoot 2,致力于做更简洁的后台管理系统,完美整合springmvc + shiro + mybatis-plus + beetl!Guns项目代码简洁,注释丰富,上手容易,同时Guns包含许多基础模块(用户管理,角色管理,部门管理,字典管理等10个模块),可以直接作为一个后台管理系统的脚手架!
Stars: ✭ 3,327 (-36.7%)
Mutual labels:  rest
Product Ei
An open source, a high-performance hybrid integration platform that allows developers quick integration with any application, data, or system.
Stars: ✭ 277 (-94.73%)
Mutual labels:  rest
Horse
Fast, opinionated, minimalist web framework for Delphi
Stars: ✭ 295 (-94.39%)
Mutual labels:  rest
Flask Appbuilder
Simple and rapid application development framework, built on top of Flask. includes detailed security, auto CRUD generation for your models, google charts and much more. Demo (login with guest/welcome) - http://flaskappbuilder.pythonanywhere.com/
Stars: ✭ 3,603 (-31.45%)
Mutual labels:  rest
Json Server Heroku
Deploy json-server to Heroku & Azure 🆙 🆓
Stars: ✭ 310 (-94.1%)
Mutual labels:  rest
Webxcel
🤔 A REST backend built with plain VBA Microsoft Excel macros. Yes. Macros.
Stars: ✭ 305 (-94.2%)
Mutual labels:  rest

</> htmx

high power tools for HTML

Discord Netlify Bundlephobia Bundlephobia

introduction

htmx allows you to access AJAX, CSS Transitions, WebSockets and Server Sent Events directly in HTML, using attributes, so you can build modern user interfaces with the simplicity and power of hypertext

htmx is small (~10k min.gz'd), dependency-free, extendable & IE11 compatible

motivation

  • Why should only <a> and <form> be able to make HTTP requests?
  • Why should only click & submit events trigger them?
  • Why should only GET & POST be available?
  • Why should you only be able to replace the entire screen?

By removing these arbitrary constraints htmx completes HTML as a hypertext

quick start

  <!-- Load from unpkg -->
  <script src="https://unpkg.com/[email protected]" ></script>
  <!-- have a button POST a click via AJAX -->
  <button hx-post="/clicked" hx-swap="outerHTML">
    Click Me
  </button>

The hx-post and hx-swap attributes tell htmx:

"When a user clicks on this button, issue an AJAX request to /clicked, and replace the entire button with the response"

htmx is the successor to intercooler.js

installing as a node package

To install using npm:

npm install htmx.org --save

Note there is an old broken package called htmx. This is htmx.org.

website & docs

contributing

  • please write code, including tests, in ES5 for IE 11 compatibility
  • please include test cases in /test and docs in /www
  • if you are adding a feature, consider doing it as an extension instead to keep the core htmx code tidy
  • development pull requests should be against the dev branch, docs fixes can be made directly against master
  • No time? Then become a sponsor

hacking guide

to develop htmx locally, you will need to install the development dependencies:

  • npm install

and then run a web server in the root (easiest with python):

  • python3 -m http.server

you can then run the test suite by navigating to:

http://0.0.0.0:8000/test/

at this point you can modify /src/htmx.js to add features, and then add tests in the appropriate area under /test

  • /test/index.html - the root test page from which all other tests are included
  • /test/attributres - attribute specific tests
  • /test/core - core functionality tests
  • /test/core/regressions.js - regresssion tests
  • /test/ext - extension tests
  • /test/manual - manual tests that cannot be automated

htmx uses the mocha testing framework, the chai assertion framework and sinon to mock out AJAX requests. They are all OK.

haiku

javascript fatigue:
longing for a hypertext
already in hand

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].