Coder Social home page Coder Social logo

qb-core's Introduction

quickbundle核心组件

特色功能介绍

功能优势

  • 支持父子表、多对多表的智能关系分析及生成
  • JavaEE标准版的代码生成器,可以做企业应用、互联网后端、2B的门户、及网站前台(需要单独设计页面)
  • 跨平台的Mobile端的代码生成器(即将发布),用一套代码通吃iOS各版本、Android各版本、winphone,可用于企业移动端应用、2C的轻应用
  • 安全强化JavaEE版的代码生成器(即将发布),吸纳了“Build Security In” + OWASP + MASS,适用于对安全有要求的应用开发

革命性的代码生成器新理念

  • 支持本地模板源和远程模板源的扩展,这样能引入模板供应商(Template Provider),使得代码生成以在线服务的方式提供
  • 模板虚拟机的设计,可以扩展为支持多样的Model格式、多样的模板引擎、多样的处理流程

架构及技术优势

  • 松耦合的设计,不仅支持生成Java工程,也可以生成大多数语言和框架的工程,无需改代码,只需要加模板
  • xslt 2.0语法格式的模板,功能强大,前景好(因为html5的xml良构会带来xslt的第二春)
  • 纯maven + 纯OSGI的架构,高度组件化,支持一键编译

源代码模块介绍

包含基础jar包5个:

	java-lib/quickbundle-tools  基础工具jar包,是一些其它quickbundle-xxx.jar的基础
	java-lib/quickbundle-core  核心jar包,依赖于Spring
	java-lib/quickbundle-mybatis  mybatis扩展
	java-lib/quickbundle-springweb  spring mvc扩展
	java-lib/quickbundle-struts  struts1 扩展

Eclipse插件

	eclipse-plugin/org.quickbundle.mda.libs  osgi下的jar包接入点
	eclipse-plugin/quickbundle-gp  项目生成器
	eclipse-plugin/quickbundle-mvm  模型虚拟机
	eclipse-plugin/quickbundle-gc  代码生成器
	
	eclipse-plugin/org.quickbundle.mda.feature  Eclipse插件组合的feature工程
	eclipse-plugin/org.quickbundle.mda.updatesite  Eclipse插件的在线/离线安装包的组合工程

编译打包

一键编译quickbundle-4.0.0插件的方式一(推荐)?

eclipse/plugins目录格式,直接复制到Eclipse下,安装快

	1,确保qb-core/eclipse-plugin/quickbundle-gp/t/j1下删掉了软链接目录quickbundle-rmwebdemo
	2,先安装qb-core到$M2_REPO。
		cd qb-core/
		mvn install -o 【-o表示离线模式,不用每次都检查tycho库。首次执行要去掉-o】
	3,打包。
		cd qb-archetype/build/build-rmwebdemo
		mvn clean package
	4,安装插件包。
		复制qb-archetype/build/build-rmwebdemo/target/eclipse目录到$ECLIPSE_HOME/links/org.quickbundle目录
	5,重启Eclipse即可

一键编译quickbundle-4.0.0插件的方式二?

updatesite格式的安装版,安装到Eclipse时较慢

	1,使用Linux下的ln -s(或windows下的junction),把qb-archetype/quickbundle-rmwebdemo目录软链接到qb-core/eclipse-plugin/quickbundle-gp/t/j1目录。
	2,安装maven-3.0.5,在qb-core目录下,执行mvn install,即可安装到$M2_REPO/org/quickbundle/org.quickbundle.mda.updatesite/4.0.0/org.quickbundle.mda.updatesite-4.0.0.zip。

视频教程

1.到quickbundle主页看视频教程(即将发布)

qb-core's People

Contributors

quickbundle avatar

Watchers

James Cloos avatar tifancy 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.