Skip to content

Turpial JS it's a micro framework created with Pure Javascript, it offer a set of tools as: templating engine with JSX syntax, create, load & cache web components. Turpial JS do not manage a Virtual DOM, it point and manage the real DOM directly, Also it can create reusable web components. Loadfiles as views, modules components, or .turpial.js f…

License

Notifications You must be signed in to change notification settings

Yerikmiller/turpialjs

Repository files navigation

Turpial JS - Micro Javascript Framework to create single page applications.

Turpial JS - Micro Javascript Framework to create SPA easily

Turpial JS is a micro library with a set of tools to create web applications. Templating engines with JSX syntax. Create, load, and use components; load dependencies sequentially whenever you want in your app, and also load files (components, views, JS files) based on the URLs. Update views easily and develop a single page application in a few steps.

Getting Started

	
	<script src="https://cdn.jsdelivr.net/gh/Yerikmiller/turpialjs/turpial.min.js"></script>
	
	

Basic Usage

	
	const turpial = new Turpial({
	  core_path: "/turpial/src/turpial-app/",
	  autoloader_folder: "views/",
	  public_path: "turpial",
	  cache: "no-store",
	  autoloader: true,
	});
	// core_path: where is alocated your turpial application (.turpial.js files)
	/* public_path: Your application root folder name. Ex: 127.0.0.1:8080/mywebpage
	 * in this case yout public_path should be "mywebpage"
	*/
	/* autoloader_folder: if you want to autoload views (turpial.js) files based on URL
	 * we can manage how will work in each case manually
	*/
	// cache: select if you want to cache files loaded
	// autoloader: set as true if you want to activate autolaoder option.
	
	

Documentation - Index

  1. Introduction
  2. HTML - Elements
  3. Mapping Elements tool
  4. Components
  5. Including components and views
  6. MVC Pattern
  7. Turpial Routes

About

Turpial JS it's a micro framework created with Pure Javascript, it offer a set of tools as: templating engine with JSX syntax, create, load & cache web components. Turpial JS do not manage a Virtual DOM, it point and manage the real DOM directly, Also it can create reusable web components. Loadfiles as views, modules components, or .turpial.js f…

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published