Giter Site home page Giter Site logo

jslsolucoes / tagria Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 4.87 MB

Action based component suit that integrates with spring mvn, vraptor,struts, servlet, spring and any kind of action based mvc framework

License: Other

Java 46.88% CSS 2.19% JavaScript 50.85% Batchfile 0.01% Dockerfile 0.04% Shell 0.03%

tagria's Introduction

tagria

Tagria is an open source component suit framework that help build beautiful view in minutes. Tagria integrates perfectly with any action based mvc framework for java : Tagria it`s easy , fast and productive.

Tested at moment in MVC frameworks and specs :

  • Spring MVC
  • Vraptor
  • Struts
  • Servlet
  • Mentawai

Tested at moment in applications servers :

  • Tomcat
  • Jetty
  • Wildfly
  • Jboss
  • Websphere

Features :

  • Full html5,css3 support
  • Cross browser support components
  • Responsive
  • W3C compatible
  • Support for i18n (internationalization)

You can self host demos and docs following steps, ps: java 1.8 and wildfly 18x is required to build and deploy:

git clone https://github.com/jslsolucoes/tagria.git
cd  tagria
mvn clean install -Dgpg.skip
mv tagria-doc-v4/target/tagria-doc-v4.war yourwildfly18+home/standalone/deployments/tagria-doc-v4.war
http://localhost:8080/tagria-doc-v4/app/home


Quick start installation and configuration :

Add latest maven dependency to your project : check for versions here

	
<dependency>
	<groupId>com.jslsolucoes</groupId>
	<artifactId>tagria-lib-v4</artifactId>
	<version>latest-version</version>
</dependency>
	

Create an jsp for example index.jsp and import directives

	
	
<%@ taglib  uri="http://v4.tagria.jslsolucoes.com/tags/html" prefix="html"%>
<%@ taglib  uri="http://v4.tagria.jslsolucoes.com/tags/ajax" prefix="ajax"%>
<%@ taglib  uri="http://v4.tagria.jslsolucoes.com/tags/x" prefix="x"%>
<%@ taglib uri="http://v4.tagria.jslsolucoes.com/tags/security" prefix="security"%>
<html:view title="My title">
	<html:alert state="info">
		My firts view	
	</html:alert>
</html:view>

Some configuration can be change by creating an tagrialib.xml file in source folder like, all options is optional by default :

	
	<?xml version="1.0" encoding="ISO-8859-1" ?>
	<tagrialib>
		<templates>
			<template>
				<name>master</name>
				<path>/WEB-INF/jsp/app/template.jsp</path>
				<cached>false</cached>
				<ignoreSSL>true</path>
			</template>
		</templates>
		<formatters>
			<formatter>
				<class>com.package.YourCustomFormatterThatImplementsFormatterInterface</class>
			</formatter>
		</formatters>
		<exporters>
			<exporter>
				<class>com.package.YourCustomExporterThatImplementsExporterInterface</class>
			</exporter>
		</exporters>
		<warning>
			<componentMountTimeThreshold>200</componentMountTimeThreshold>
			<componentDataSetThreshold>300</componentDataSetThreshold>
		</warning>
		<cdn>
			<enabled>false</enabled>
			<url>d35ckkxcy33ron.cloudfront.net</url>
		</cdn>
		<encoding>UTF-8</encoding>
		<skin>default</skin>
		<locale>en</locale>
		<security>
			<class>com.package.YourAuthorizerThatImplementsAuthorizerInterface</class> 
		</security>
	</tagrialib> 
	

if you want, can configure servlet manually

	
		<servlet>
			<servlet-name>tagria-v4</servlet-name>
			<servlet-class>com.jslsolucoes.tagria.lib.v4.servlet.Tagria</servlet-class>
		</servlet>
		
		 <servlet-mapping>
			<servlet-name>tagria-v4</servlet-name>
			<url-pattern>/tagria/v4/*</url-pattern>
		</servlet-mapping>
		
		<servlet>
			<servlet-name>tagria-exporter-v4</servlet-name>
			<servlet-class>com.jslsolucoes.tagria.lib.v4.servlet.TagriaExporter</servlet-class>
		</servlet>
		
		 <servlet-mapping>
			<servlet-name>tagria-exporter-v4</servlet-name>
			<url-pattern>/tagria-exporter/v4</url-pattern>
		</servlet-mapping>
	

TagriaLib Framework has some official certification programs. Become an Tagria Library Framework Certified and demonstrate understanding of fundamental TagriaLib concepts needed to undertake any web java project using Tagria Library Framework as view framework.

Authorized companies as TagriaLib Framework Certification Test Center:

If you want be a TagriaLib Framework Certification Test Center partner please contact us via issue request (https://github.com/jslsolucoes/tagria/issues)

tagria's People

Contributors

jonatansalemes avatar

Stargazers

codeworks avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.