0.1 version of ob-trac application is an basic issue tracking application. It mimics the issue tracing functions of trac (trac.edgewall.org). It is built on openbiz 2.2.3 dev version. It is released with GPL V3 license. It can be download from https://sourceforge.net/project/showfiles.php?group_id=64196&package_id=.... Screenshot can be seens at http://www.phpopenbiz.org/document/ss/trac_tickets.jpg The new trac application is a real world application. It demonstrates - how to show different types of UI with templates - how to extend openbiz core class to handle special logic The installation is same as install demoapp. Just web installer http://host/.../trac/index.php. The installer wizard will create a database with sample data. What is on openbiz 2.2.3 dev version so far: - support AJAX file upload. uploaded file is stored into sec_upload directory (in 2.2.2, only support upload file to a blob column in a table). - clean up BizDataObj.php by moving page navigation functions to BizForm. - Add ValueOnCreate, ValueOnUpdate attributes to BizField metadata. ValueOnCreate can set the value on record creation, ValueOnUpdate can set the value on record update. This finally solves the popular issue for table columns like time_created and time_updated.
|
|||

Andrew, can't agree with you
Andrew, can't agree with you more. trac on openbiz (ob-trac) will
You raised a good question on dataobject's ValueOnCreate. The difference between ValueOnCreate and DefaultValue is
Use the "time_created" (commonly used in many schema) as an example. At time-1, BizDataObj's NewRecord to get an empty record with default value set. Then user fill in all required values, then at time-2 BizDataobj's InsertRecord will insert this record into the table. If use DefaultValue for time_created column, the value saved in the column is time-1. If use ValueOnCreate for time_created column, the value saved in the column is time-2.
Rocky, It'll
Rocky,
It'll be natural way to use here for OpenBiz bug tracking.
On another note, is there a difference between dataobject's ValueOnCreate and DefaultValue attributes?
-Andrew
Andrew; ValueOnCreate is a
Andrew;
ValueOnCreate is a value that will be saved when the new physical record is written down to the db. The DefaultValue is just the initial value that the GUI will show to the user and it can be changed before the record is created.