dinamica v3.4.5 (dynamic v3.4.5) changelog

Dinamica 3.4.5 版本更新包括了 PDF 输出改进、多级记录集支持、报表细节优化、日期格式验证、HTML 报表增强等功能,并对模板引擎、事务记录集等进行了改进。
05/04/2015 v3.4.5

* Improved dinamica.AbstractPDFOutput to use the CI pdf-file-name in config.xml
  or by default if the configuration report.pdf name does not exist.

* Using dinamica.encoding system property that is equal to the value of context-param "file-encoding" in web.xml,
  This system property can handle smoothly and validator.xml config.xml recorded in iso-8859-1 but
  the encoding of the JVM (Java process) is UTF-8 or another (system property file.encoding). With this error is avoided
  accents and other special characters distorted when they come from these XML files. This setting
  was made for those cases when they are not allowed in production indicate -Dfile.encoding = ISO-8859-1 on
  especially when they are running on Linux. The dinamica.Controller, dinamica.StringUtil and dinamica.xml.Document classes were affected.

* Improved dinamica.Recordset and dinamica.Record class to support multiple recordset Children
  in each row of a Recordset, now every Children can have an ID to identify you, and each record
  recordset can have an arbitrary number of recordsets Children, to allow more complex data models
  in memory. They getChildren new methods setChildren and receiving recordset to store ID is created.

* Correction in dinamica.GenericTableManagerIdentity class to allow processing details and do not try empty
  recording them, avoiding trigger an exception and supporting a master / detail where detail is not required to fill form.

* Correction dinamica.GenericTableManagerIdentity.getLastID () to use SCOPE_IDENTITY () instead of@@identity because if the table
  has an associated audit trigger the function result is wrong. 

* New ValidatorUtil.isValidDateFormat () method - see JavaDocs for more information.
 
* Adjust the dinamica.TemplateEngine class that supports the TIME type, although only via jTDS v1.3.1 supports for Sybase (limitation
  JDBC driver, not dynamically). 
  
* Correction in dinamica.PDFGenericReport class to use the whole range of masks date and time
  that supports Java in fields Date, Time and TimeStamp. 
  
* Improved dinamica.PDFGenericReport class: a) support new attribute header = "true | false" in the <pdf-report>, 
  b) support to insert in the report the contents of another PDF using a new element:
  
  <Include action = "/ action / xyz / pdf $ {fld: xxx}" recordset = "xxx.sql" />
  
  The report to be included should have the footer off, and possibly also the header. If the master report that
  others include no header = "false", then the content will appear after a first page with the title and
  the other PDF on the next page.

* New dinamica.xml.Document method: public dinamica.xml.Element [] getElements (Element e, String tagName)
  See JavaDocs for more information.

* Improved support dinamica.GenericTransaction Recordsets class to nested defined in config.xml:

	<Transaction>
		<Code> dinamica.GenericTransaction </ code>
		<Validator> false </ validator>
		<Transaction> false </ transaction>
		<Jdbc-log> false </ jdbc-log>
		<Recordset id = "cotizacion.sql" source = "sql" scope = "transaction">
			<Recordset id = "items.sql" source = "sql" />
			<Recordset id = "total_items" source = "total" params = "items.sql" totalCols = "all" />
			<Recordset id = "responsables.sql" source = "sql" />
		</ Recordset>
		<Recordset id = "gran_total.sql" source = "sql" scope = "transaction" />
	</ Transaction>
	
	In this version only supports one sublevel with several recordsets children if necessary, the child recordset
	They may be of "sql" or "total" only type. The parent Recordset supports any normal recordset
	defined in config.xml and can come from the request or the session if necessary.

* Rewritten dinamica.MasterDetailOutput class to support HTML reports Master / Detail 2 levels:

	<Output>
		<Code> dinamica.MasterDetailOutput </ code>
		<Template> template.htm </ template>
		<Set-http-headers> true </ set-http-headers>
		<Content-type> text / html </ content-type>
		<Print mode = "form" recordset = "gran_total.sql" />
	</ Output>

	<Repmd>
		<Master recordset = "cotizacion.sql">
			<Detail recordset = "items.sql" mode = "table" tag = "rows" />
			<Detail recordset = "total_items" mode = "form" />
			<Detail recordset = "responsables.sql" mode = "table" tag = "rows-responsible" />
		</ Master>
	</ Repmd>

  This class extends dinamica.GenericOutput and supports the full functionality of this further processing
  the definition of underreporting Master / Detail, which is assembled in memory and inserted into template.htm
  main replacing the variable $ {subtemplate}. In the Action should be additional template which defines
  section of the master and the N sections of the details that are necessary, and should be called subtemplate.htm.

* Improved dinamica.TemplateEngine.replace (rs Recordset, nullValueExpr String, String repeatSectionTag)
  now keeps the invisible header table if it does not have records for it
  It should be incorporated into the html of the table one style = "display: recordsetID.display" which is the ID recordsetID
  recordset that fills the table. If the recordset has no record, the marker will be replaced by the word "none"
  unseen by the head of the table. The marker is for optional use.

* Improved dinamica.PDFGenericReport, now supports nested sections from a <record>,
  simplifying the preparation of reports Master / Detail. Example:
  
	<Pdf-title> Demo - new techniques </ pdf-title>
	<Pdf-logo url = '/ images / logo-dinamica.png' scale = '100' />

	<Pdf-report pageSize = "letter" rotate = "false">
	
		<Record recordset = 'cotizacion.sql' width = '55 'spacingBefore = '15'>
			<Col name = 'cotizacion_id' title = 'Code' format = '00000' align = 'center' />
			<Col name = 'fec_inicio' title = 'Start Date' format = "yyyy-MM-dd 'align =' center '/>
			<Col name = 'project' title = 'Project' align = 'center' />
			<Col name = 'gerencia_combo' title = 'responsible management' align = 'center' />
			
			<Table recordset = 'items.sql' width = '100' spacingBefore = '10 'title =' Items To Quote ">
				<Col name = 'descrip' title = 'Description' width = '25 'align =' left '/>
				<Col name = 'cost' title = 'Unit Cost' width = '25 'align =' right 'format =' #, ###, ## 0.00 '/>
				<Col name = 'amount' title = 'Number' width = '25 'align =' center '/>
				<Col name = 'Total' title = 'Subtotal' width = '25 'align =' right 'format =' #, ###, ## 0.00 '/>
			</ Table>		
			
	 		<After-table-row recordset = "total_items">
	 			<Col value = "TOTAL" align = "right" colspan = "3" />
	 			<Col name = "total" format = "#, ###, ## 0.00" align = "right" />
	 		</ After-table-row>	
	 		
	 		<Table recordset = 'responsables.sql' width = '100' spacingBefore = '10 'title =' Manager '>
				<Col name = 'name' title = 'Full name' width = '25 'align =' left '/>
				<Col name = 'cell' title = 'Cell' width = '25 'align =' center '/>
				<Col name = 'email' title = 'Email' width = '25 'align =' center '/>
			</ Table>
			
		</ Record>
		
		<Record recordset = 'gran_total.sql' width = '55 'spacingBefore = '15'>
			<Col name = 'gran_total' title = 'GRAND TOTAL' format = '#, ###, ## 0.00 "align =" right "/>
		</ Record>
		
	</ Pdf-report> 

* New class dinamica.css (dynamic / webapp)

  .exportPDF {
		padding-left: 5px; 
		background-origin: content-box; 
		display: block; 
		margin: 0 auto; 
		height: 25px; 
		width: 150px; 
		background-image: url ('/ $ {context} /images/pdf.png'); 
		background-repeat: no-repeat; 
		background-position: left center;
  }

  It is used for exporting the PDF button in the new MasterDetail reports (using the improvements described above).

* The template "agenda" has been updated to the new look CSS3 (dynamic / templates)

* New Class Filter dinamica.security.IndexFilter to send headers X-Frame-Option and Strict-Transport-Security
  If the root / or /index.htm page is requested, this is mostly for security audits that analyze vulnerabilities
  on websites.

* Improved dinamica.jaxws.AbstractImpl new getErrorMessage (int) methods and getErrorMessage (int, Object ...) to
  allow to use a file in the package error.properties where classes reside Web Service to outsource
  error messages. File Example:
  
  1010 = The filter parameter can not be null
  1011 = The filter CustomerID parameter field is null or empty
  1012 = There is a customer with this ID:% s
  
  There may be messages with variable parameters, the API supports class. In the code of the classes
  extend dinamica.jaxws.AbstractImpl, they can trigger errors like this:
  
  if (out.getRecordCount () == 0)
  	throw new ServiceException (1012 getErrorMessage (1012 filter.getCustomerid ()));

  if (null == filter)
	throw new ServiceException (1010 getErrorMessage (1010)); 
采用PyQt5框架与Python编程语言构建图书信息管理平台 本项目基于Python编程环境,结合PyQt5图形界面开发库,设计实现了一套完整的图书信息管理解决方案。该系统主要面向图书馆、书店等机构的日常运营需求,通过模块化设计实现了图书信息的标准化管理流程。 系统架构采用典型的三层设计模式,包含数据存储层、业务逻辑层和用户界面层。数据持久化方案支持SQLite轻量级数据库与MySQL企业级数据库的双重配置选项,通过统一的数据库操作接口实现数据存取隔离。在数据建模方面,设计了包含图书基本信息、读者档案、借阅记录等核心数据实体,各实体间通过主外键约束建立关联关系。 核心功能模块包含六大子系统: 1. 图书编目管理:支持国际标准书号、中国图书馆分类法等专业元数据的规范化著录,提供批量导入与单条录入两种数据采集方式 2. 库存动态监控:实时追踪在架数量、借出状态、预约队列等流通指标,设置库存预警阈值自动提醒补货 3. 读者服务管理:建立完整的读者信用评价体系,记录借阅历史与违规行为,实施差异化借阅权限管理 4. 流通业务处理:涵盖借书登记、归还处理、续借申请、逾期计算等标准业务流程,支持射频识别技术设备集成 5. 统计报表生成:按日/月/年周期自动生成流通统计、热门图书排行、读者活跃度等多维度分析图表 6. 系统维护配置:提供用户权限分级管理、数据备份恢复、操作日志审计等管理功能 在技术实现层面,界面设计遵循Material Design设计规范,采用QSS样式表实现视觉定制化。通过信号槽机制实现前后端数据双向绑定,运用多线程处理技术保障界面响应流畅度。数据验证机制包含前端格式校验与后端业务规则双重保障,关键操作均设有二次确认流程。 该系统适用于中小型图书管理场景,通过可扩展的插件架构支持功能模块的灵活组合。开发过程中特别注重代码的可维护性,采用面向对象编程范式实现高内聚低耦合的组件设计,为后续功能迭代奠定技术基础。 资源来源于网络分享,仅用于学习交流使用,请勿用于商业,如有侵权请联系我删除!
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值