You can subscribe to this list here.
2008 |
Jan
|
Feb
(1) |
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
(3) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2009 |
Jan
(1) |
Feb
|
Mar
|
Apr
(4) |
May
(3) |
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
|
Mar
|
Apr
(6) |
May
(10) |
Jun
(1) |
Jul
(3) |
Aug
(19) |
Sep
(52) |
Oct
(5) |
Nov
(15) |
Dec
|
2011 |
Jan
|
Feb
(65) |
Mar
(53) |
Apr
(55) |
May
(37) |
Jun
|
Jul
(1) |
Aug
(17) |
Sep
(28) |
Oct
(7) |
Nov
|
Dec
|
2012 |
Jan
(3) |
Feb
|
Mar
(2) |
Apr
|
May
(4) |
Jun
(3) |
Jul
(1) |
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
(1) |
2013 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(3) |
2014 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
From: Scott M. <sco...@gm...> - 2011-02-14 23:01:03
|
Absolutely, please don't take anything personally, I just want it to work and work well. The one line change to the CSS worked a treat. Much better :-) So, ok, I'm not totally convinced of the OO stuff, so, please bear with me. With my class to read in and store the configuration information, it doesn't matter what is added to the configuration table in the database everything is read in, and the class doesn't need to be edited every time something new is added. Only when and where that new thing is needed do we need to change code. In the version being championed by Peter and Mark, every new config item needs two more functions to be added to the class, on top of the additional code surrounding that item. I guess I'm more of a minimalist, I don't feel the added layer of extra code, and extra function call for each config data look up, is a good trade off to ensure against sloppy code. -Scott On Sun, Feb 13, 2011 at 12:40 PM, David Thompson < tom...@us...> wrote: > Guys, try to keep your exchanges on the developer-list (that means > checking the addressing when you reply). > That way there is a (searchable) record for everyone to see what is going > on. > > Critisism should be nothing personal (hard on the product, but soft on the > person), in that way it can only make the software better. > Cheers > > ------------------------------ > Date: Sat, 12 Feb 2011 19:45:43 +1100 > From: pal...@gm... > To: sco...@gm... > CC: ma...@rw...; tom...@us... > Subject: [SPAM] Re: 2.0 demo feedback > > > Scott, > I agree also with this issue. I think it can be solved by continuing in the > direction we are going. That is, to have minimal html structures and minimal > html tables, and to use css includes to do all the formatting. I am not a > css expert. In fact I would rate my css skills at below beginner. However > the book I am reading, "CSS The Definitive Guide" by Eric Meyer (O'Reilly) > has numerous examples where the styles are set up to allow expansion and > contraction of table cells etc. So I have confidence we can fix the problem > you raise. > > The next phase of the presentation is now to devise and test css styles to > consistently format the monthly, daily, weekly and simple time entry tables. > But that will take some time to organise. > > I would also like to "modernise" the menu system into a set of tabs, or > maybe a hierarchical directory tree on the left. > > Finally, I'm soon to take off on a trip to colder places late this month > and next, returning around 17 March. > > Ciao > Peter > > On 12/02/11 07:51, Scott Miller wrote: > > (finally changed the subject) > > Another complaint: We need the site to be able to (mostly) fill a browser > window. I have a large screen, and it irritates the begeezers out of me > when I have a site that can only fill a small portion of my available > screen. This is especially important for the simple timesheet where you > have a potentially lengthy description field that suddenly becomes nearly > unusable because the space available is tiny. Configurations, user mgmt, > reports, all these need the ability to expand horizontally when they can. > This may not be as important for all areas, but I think it would be bad form > to allow variable pages only in a few areas... > > -Scott > > > On Fri, Feb 11, 2011 at 8:24 PM, Scott Miller <sco...@gm...>wrote: > > Hey guys, > > Ok, admittedly, I'm not an OO guru. But, could you please explain why the > table name class has been created in the way that it has? In particular, > I'm totally failing to see how the many tiny routines to set and return the > private variables is a good idea. Why not declare the variables public, and > allow the other routines to access the table class variables directly? And > we could have the class itself, read an appropriate .ini file to load the > variables in the first place, rather than just including it as a php file as > is currently done. > > Now if there were reasons to protect the members of the class, perhaps some > of this is needed for the authentication piece, but I honestly can't come up > with a good reason that most of the classes' variables couldn't be public. > > -Scott > > > On Fri, Feb 11, 2011 at 7:38 PM, Scott Miller <sco...@gm...>wrote: > > Hey Peter, Mark, > > I just downloaded (checked out via svn) the 2.0-demo branch. I haven't > played with it a lot, but for the most part it looks good. > > I do have to complain about the new date navigation. It looks ok, but it's > a pain to use. I now have between 5 and 10 clicks of the mouse to change > the date. That is, in my opinion, way too many; so I think that whole piece > needs to be rethought. > > I'm going to go check out some of the code changes now, and maybe see if I > can't add the new configuration stuff into your 2.0-demo... > > -Scott > > > |
From: Scott M. <Sco...@pr...> - 2011-02-14 16:08:34
|
My current work environment is a bit up in the air at the moment, so I can't promise a lot, but I would certainly like to help with the new version. After having the configuration stuff sit on my brain for the better part of a year, and then thinking about it in detail for a few minutes, I came to the realization that I could probably knock that out relatively quickly. The learning curve for the new system may keep me from being able to finish that stuff in 2.0 (yes, I mean the demo), but I'm certainly not ready to give up on that yet. -Scott -----Original Message----- From: Mark Wrightson [mailto:ma...@rw...] Sent: Sunday, February 13, 2011 10:57 AM To: tsh...@li... Subject: Re: [Tsheetx-developers] Who's actively working on the TSNG system? txsheet-2.0-demo is currently my baby, and i'll continue with it until it is fit for merging. Saying that however, Peter has contributed quite a lot aswell and if anyone else is available to help please let me know! Mark _____________________________________________ Mob: 07725 695178 Email: ma...@rw... On 13/02/2011 12:56, David Thompson wrote: > Blame just tells me who made the changes, I would like someone to take > responsibility for them. Meaning - it is their baby, and they will > keep on the work until it is merged into the ongoing work. Someone > else's half-finished code is what I deal with at work, I am not so > keen to do it in my spare time too. ------------------------------------------------------------------------ ------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Tsheetx-developers mailing list Tsh...@li... https://lists.sourceforge.net/lists/listinfo/tsheetx-developers |
From: Mark W. <ma...@rw...> - 2011-02-13 16:57:00
|
txsheet-2.0-demo is currently my baby, and i'll continue with it until it is fit for merging. Saying that however, Peter has contributed quite a lot aswell and if anyone else is available to help please let me know! Mark _____________________________________________ Mob: 07725 695178 Email: ma...@rw... On 13/02/2011 12:56, David Thompson wrote: > Blame just tells me who made the changes, I would like someone to take > responsibility for them. Meaning - it is their baby, and they will > keep on the work until it is merged into the ongoing work. Someone > else's half-finished code is what I deal with at work, I am not so > keen to do it in my spare time too. |
From: David T. <tom...@us...> - 2011-02-13 12:56:44
|
Answers below: > Date: Fri, 11 Feb 2011 16:34:01 +0000 > From: ma...@rw... > To: tsh...@li... > Subject: Re: [Tsheetx-developers] Who's actively working on the TSNG system? > > Does anyone know what the timesheet.ng-2.x branch is? - if checked out it doesn't run > and there doesn't appear to be any information how to make it run (if indeed it would). This branch can now be junked. It is the work of Rob Searles (the guy who started this - and still pays for the domainname). He wanted to go more MVC-like and this was his start. I think the better starting point is now txsheet-2.0-demo. > > Scott, when you refer to the txsheet-2.0 branch which one do you mean? > timesheet.ng-2.x or txsheet-2.0-demo? > Its my bad for naming the branch in an unconventional way, it could be renamed? Renaming an existing branch is one simple command in SVN, but can cause a lot of confusion to people with working copies based on that branch. So I wouldn't recommend it, we can solve the confusion by removing the other branch. > > Myself and peter have currently tried to keep as much of the codebase intact as to > not introduce thousands of bugs while doing some restructuring. At least this way > we can get to a 'stable' point more quickly, get more developers involved to then > go nuts with the core parts of the txsheet codebase. :) > > One thing I have wondered is svn is great at propagating code changes but not db >changes. What is the best method to make changes to your db and then notify > developers that their db will need to be modified? An sql file can be written to > make the changes and stored in the sql folder but what about the notification bit? > - maybe an automated routine could be written? - start making more use of the > version number in the config table and started incrementing the minor version > number when a database tweak is required? Yes, it is a problem, but only for people with live data based on that developmental version (which is unusual). Simplest would be to start an "upgrade" script (see the examples in /install) and update the file every time you commit a change to the DB structure. That way when people update their working copies, they see a diff in that file to show them what DB structure changes have been made. I think using lots of minor version numbers is too much work. > Re: Can anyone claim responsibility for the changes? > To which part? - could you just run blame? > So far txsheet-2.0-demo has just been Peter and Mark (me) Blame just tells me who made the changes, I would like someone to take responsibility for them. Meaning - it is their baby, and they will keep on the work until it is merged into the ongoing work. Someone else's half-finished code is what I deal with at work, I am not so keen to do it in my spare time too. Cheers |
From: David T. <tom...@us...> - 2011-02-13 12:41:00
|
Guys, try to keep your exchanges on the developer-list (that means checking the addressing when you reply). That way there is a (searchable) record for everyone to see what is going on. Critisism should be nothing personal (hard on the product, but soft on the person), in that way it can only make the software better. Cheers Date: Sat, 12 Feb 2011 19:45:43 +1100 From: pal...@gm... To: sco...@gm... CC: ma...@rw...; tom...@us... Subject: [SPAM] Re: 2.0 demo feedback Scott, I agree also with this issue. I think it can be solved by continuing in the direction we are going. That is, to have minimal html structures and minimal html tables, and to use css includes to do all the formatting. I am not a css expert. In fact I would rate my css skills at below beginner. However the book I am reading, "CSS The Definitive Guide" by Eric Meyer (O'Reilly) has numerous examples where the styles are set up to allow expansion and contraction of table cells etc. So I have confidence we can fix the problem you raise. The next phase of the presentation is now to devise and test css styles to consistently format the monthly, daily, weekly and simple time entry tables. But that will take some time to organise. I would also like to "modernise" the menu system into a set of tabs, or maybe a hierarchical directory tree on the left. Finally, I'm soon to take off on a trip to colder places late this month and next, returning around 17 March. Ciao Peter On 12/02/11 07:51, Scott Miller wrote: (finally changed the subject) Another complaint: We need the site to be able to (mostly) fill a browser window. I have a large screen, and it irritates the begeezers out of me when I have a site that can only fill a small portion of my available screen. This is especially important for the simple timesheet where you have a potentially lengthy description field that suddenly becomes nearly unusable because the space available is tiny. Configurations, user mgmt, reports, all these need the ability to expand horizontally when they can. This may not be as important for all areas, but I think it would be bad form to allow variable pages only in a few areas... -Scott On Fri, Feb 11, 2011 at 8:24 PM, Scott Miller <sco...@gm...> wrote: Hey guys, Ok, admittedly, I'm not an OO guru. But, could you please explain why the table name class has been created in the way that it has? In particular, I'm totally failing to see how the many tiny routines to set and return the private variables is a good idea. Why not declare the variables public, and allow the other routines to access the table class variables directly? And we could have the class itself, read an appropriate .ini file to load the variables in the first place, rather than just including it as a php file as is currently done. Now if there were reasons to protect the members of the class, perhaps some of this is needed for the authentication piece, but I honestly can't come up with a good reason that most of the classes' variables couldn't be public. -Scott On Fri, Feb 11, 2011 at 7:38 PM, Scott Miller <sco...@gm...> wrote: Hey Peter, Mark, I just downloaded (checked out via svn) the 2.0-demo branch. I haven't played with it a lot, but for the most part it looks good. I do have to complain about the new date navigation. It looks ok, but it's a pain to use. I now have between 5 and 10 clicks of the mouse to change the date. That is, in my opinion, way too many; so I think that whole piece needs to be rethought. I'm going to go check out some of the code changes now, and maybe see if I can't add the new configuration stuff into your 2.0-demo... -Scott |
From: Mark W. <ma...@rw...> - 2011-02-12 17:04:30
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body text="#000000" bgcolor="#ffffff"> Scott, <br> <br> It may be a good idea to have a look out the 2.0 branch as common.inc has been replaced with common.class.php and all global variables have now been removed (or near enough have been removed).<br> <br> Get functions are much better than accessing the raw $cfg['something'] array as it is a layer of abstraction and means that if any changes are made in how config works the get functions can be slightly modified to work the the new version whereas accessing an array has no update-ability in it.<br> <br> I would modify your class as follows:<br> <br> <span style="font-family: courier new,monospace;">class ConfigInformation {</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> private </span><span style="font-family: courier new,monospace;">static </span><span style="font-family: courier new,monospace;">$info;</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> </span><span style="font-family: courier new,monospace;">private</span><span style="font-family: courier new,monospace;"> </span><span style="font-family: courier new,monospace;">static </span><span style="font-family: courier new,monospace;">$html;</span><br style="font-family: courier new,monospace;"> <br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> public static function getCfgInfo() {</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> require("table_names.inc");</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> require("database_credentials.inc");</span><br style="font-family: courier new,monospace;"> <br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> list($qh, $num) = dbQuery("SELECT * FROM $NEW_CONFIG_TABLE where name not like '%LDAP%' and name not like 'HTML%'");</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> while ($data = dbResult($qh)) {</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> self::$info[$data['name']]=$data[$data['type']];</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> }</span><br style="font-family: courier new,monospace;"> <br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> list($qh, $num) = dbQuery("SELECT * FROM $NEW_CONFIG_TABLE where name like 'HTML%'");</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> while ($data = dbResult($qh)) {</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> </span><span style="font-family: courier new,monospace;">self::$h</span><span style="font-family: courier new,monospace;">tml[$data['name']]=$data[$data['type']];</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> }</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> }</span><br> <br> <span style="font-family: courier new,monospace;"> </span><span style="font-family: courier new,monospace;">public static </span><span style="font-family: courier new,monospace;">function getWeekStartDay() {</span><span style="font-family: courier new,monospace;"></span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> return self::$info['weekstartday'];</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> }</span><br style="font-family: courier new,monospace;"> <br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> </span><span style="font-family: courier new,monospace;">public static </span><span style="font-family: courier new,monospace;">function getProjectItemsPerPage() {</span><span style="font-family: courier new,monospace;"></span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> return </span><span style="font-family: courier new,monospace;">self::</span><span style="font-family: courier new,monospace;">$info['project_items_per_page'];</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> }</span><br style="font-family: courier new,monospace;"> <br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> </span><span style="font-family: courier new,monospace;">public static </span><span style="font-family: courier new,monospace;">function getTaskItemsPerPage() {</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> return </span><span style="font-family: courier new,monospace;">self::</span><span style="font-family: courier new,monospace;">$info['task_items_per_page'];</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> }</span><br style="font-family: courier new,monospace;"> <br style="font-family: courier new,monospace;"> <br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> </span><span style="font-family: courier new,monospace;">public static </span><span style="font-family: courier new,monospace;">function getTimeFormat() {</span><span style="font-family: courier new,monospace;"></span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> return </span><span style="font-family: courier new,monospace;">self::</span><span style="font-family: courier new,monospace;">$info['timeformat'];</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> }</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> }</span><br style="font-family: courier new,monospace;"> <br> as the class is entirely static there is no need to instantiate it, just call the getcfginfo() to populate everything.<br> <br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> ConfigInformation</span><span style="font-family: courier new,monospace;">::getCfgInfo()</span><span style="font-family: courier new,monospace;">;</span><br> <span style="font-family: courier new,monospace;"> ConfigInformation</span><span style="font-family: courier new,monospace;">::</span>getTimeFormat();<br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"></span><br style="font-family: courier new,monospace;"> <br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"></span><br> <br> Regards<br> Mark Wrightson<br> <pre class="moz-signature" cols="72">_____________________________________________ Mob: 07725 695178 Email: <a class="moz-txt-link-abbreviated" href="mailto:ma...@rw...">ma...@rw...</a></pre> <br> On 11/02/2011 16:56, Scott Miller wrote: <blockquote cite="mid:AAN...@ma..." type="cite">Some actual code from common.inc file (I'm currently developing off trunk, but I want to check out the 2.0-demo thing too):<br> <br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> class ConfigInformation {</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> var $Info;</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> var $Html;</span><br style="font-family: courier new,monospace;"> <br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> function getCfgInfo() {</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> require("table_names.inc");</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> require("database_credentials.inc");</span><br style="font-family: courier new,monospace;"> <br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> list($qh, $num) = dbQuery("SELECT * FROM $NEW_CONFIG_TABLE where name not like '%LDAP%' and name not like 'HTML%'");</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> while ($data = dbResult($qh)) {</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> $this->Info[$data['name']]=$data[$data['type']];</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> }</span><br style="font-family: courier new,monospace;"> <br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> list($qh, $num) = dbQuery("SELECT * FROM $NEW_CONFIG_TABLE where name like 'HTML%'");</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> while ($data = dbResult($qh)) {</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> $this->Html[$data['name']]=$data[$data['type']];</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> }</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> }</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> }</span><br style="font-family: courier new,monospace;"> <br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> $Cfg = new ConfigInformation;</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> $Cfg->getCfgInfo();</span><br style="font-family: courier new,monospace;"> <br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> function getWeekStartDay() {</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> global $Cfg;</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> return $Cfg->Info['weekstartday'];</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> }</span><br style="font-family: courier new,monospace;"> <br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> function getProjectItemsPerPage() {</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> global $Cfg;</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> return $Cfg->Info['project_items_per_page'];</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> }</span><br style="font-family: courier new,monospace;"> <br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> function getTaskItemsPerPage() {</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> global $Cfg;</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> return $Cfg->Info['task_items_per_page'];</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> }</span><br style="font-family: courier new,monospace;"> <br style="font-family: courier new,monospace;"> <br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> function getTimeFormat() {</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> global $Cfg;</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> return $Cfg->Info['timeformat'];</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;"> }</span><br> <br> ----------------------------------------<br> <br> On a side note, since the config stuff is loaded in common.inc and thus available to all the other code, all these "get" functions can now be eliminated. But, it works for now...<br> <br> I did rename the html configuration entites to start with "HTML" instead of ending with "html". (ie footerhtml was changed to HTMLfooter, etc)<br> <br> Oh, and the LDAP stuff is loaded similarly in the class.AuthenticationManager.php file...<br> <br> -Scott<br> <br> <div class="gmail_quote">On Fri, Feb 11, 2011 at 4:19 PM, Mark Wrightson <span dir="ltr"><<a moz-do-not-send="true" href="mailto:ma...@rw...">ma...@rw...</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> <div text="#000000" bgcolor="#ffffff"> I recently came up with a nice OO way to handle exactly this but without using a db for the config tables. ( there is no reason why a db couldn't be used though.)<br> <br> If you have a config class that contains the default config of the system.<br> <br> To sumarise:<br> config.factory.class.php:<br> <br> class ConfigFactory{<br> <br> protected static itemOne = 'something';<br> <br> public static function initialise(){}<br> <br> public static getItemOne(){<br> return self::itemOne;<br> }<br> <br> ....more config params here....<br> <br> }<br> <br> config.class.php:<br> <br> class Config extends ConfigFactory{<br> <br> /**<br> * initialise the config class<br> */<br> public static function initialise(){<br> <br> if(file_exists('include/config/config.php')){<br> include('include/config/config.php');<br> }<br> <br> parent::initialise();<br> }<br> <br> <br> }<br> <br> <br> and finally in include/config/config.php the actual userdefined config:<br> <br> parent::$itemOne = "somethingelse";<br> <br> i think this would be slightly better than an ini file albeit of similar concept.<br> <br> Using this type of topology database credentials could be stored in a file and a database hook to grab other config data from the database in the config::initialise() function.<br> <br> This ensures default values are always present and then overwritten with specific config parameters for the users setup.<br> <br> so in the application code access would be as follows: Config::getItemOne();<br> <br> <br> However the final solution is done, the data from the config table should be loaded into some from of class structure. This minimises the potential for coding errors. :)<br> <br> Thoughts please? - (this is an extension to the config setup currently in my and peters branch.)<br> <br> <br> <br> Mark <div class="im"> <pre cols="72">_____________________________________________ Mob: 07725 695178 Email: <a moz-do-not-send="true" href="mailto:ma...@rw..." target="_blank">ma...@rw...</a></pre> <br> </div> <div> <div class="h5"> On 11/02/2011 15:56, Scott Miller wrote: </div> </div> <blockquote type="cite"> <div> <div class="h5">Yes, I've given some thought to default entries, as well as the potential issues when items that are supposed to exist don't.<br> <br> It could be handled by putting the defaults into an .ini type file, and we could just load the defaults from the ini file before we then over write them with info from the database, that would help ensure that missing configuration items from the database wouldn't necessarily break the application. <br> <br> I'm not convinced this is a good idea because that would mean the application would have to read configuration data from two places with every page load. And if some admin is dumb enough to delete configuration stuff out of the database, they deserve to have the app break on them :-)<br> <br> But, putting that info in an .ini file, we could then still have the "revert to default" buttons on the configuration page, and if needed, we could then load that info from the .ini file. Or we could have default entries in the database itself. I'm kinda leaning toward the ini file though.<br> <br> -Scott<br> <br> <div class="gmail_quote">On Fri, Feb 11, 2011 at 3:22 PM, David Thompson <span dir="ltr"><<a moz-do-not-send="true" href="mailto:tom...@us..." target="_blank">tom...@us...</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> <div> Scott - I like your idea with the generic config table, but have you considered defaults?<br> Mark, Peter - I am impressed by your progress, well done, a rework like this will give the "next gen" feel that we need. And don't worry about rewriting 90% of the code, go ahead if necessary.<br> <br> I am not actively working on anything (well, related to TSNG I mean), but I keep an eye on what is going on. There are a number of branches where changes have been made that should really be completed and merged into the trunk, or merged into txsheet-2.0 and further developed there. Can anyone claim responsibility for the changes?<br> <br> Cheers<br> tommo<br> <br> <hr> Date: Fri, 11 Feb 2011 10:21:53 +1100<br> From: <a moz-do-not-send="true" href="mailto:pal...@gm..." target="_blank">pal...@gm...</a><br> To: <a moz-do-not-send="true" href="mailto:tsh...@li..." target="_blank">tsh...@li...</a><br> Subject: [Tsheetx-developers] [SPAM] Re: Who's actively working on the TSNG system? <div> <div><br> <br> Scott,<br> you asked if I have done more work on the 'management approval' area. The answer is no. I have incorporated the management approval process into branches/txsheet-2.0-demo but nothing further has been added. I have spent most of my development time on the changes made in conjunction with Mark.<br> <br> Peter<br> <br> On 11/02/11 05:00, Scott Miller wrote: <blockquote>Oh, sorry, I didn't answer what the new config stuff would look like: rather than having each configuration item have it's own column in the database, I'm making the table generic, so we can easily add whatever we want to the configuration table. So it currently looks like this:<br> <br> columns are: name | type | INT | FLOAT | TEXT<br> INT and FLOAT are their namesake types, name is varchar(35), type is an enum ('INT','FLOAT','TEXT') defaulting to text, and TEXT is of type MEDIUMTEXT (which was done to make sure there was enough space for the HTML entities, which with your work, would mean we could probably safely make that of type TEXT instead)<br> <br> An example select from the database looks like this:<br> <span style="font-family: courier new,monospace;">mysql> select * from tstrunk_new_config where name not like "HTML%";</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">+------------------------+------+------+-------+------------------------------+</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| name | type | INT | FLOAT | TEXT |</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">+------------------------+------+------+-------+------------------------------+</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| version | TEXT | NULL | NULL | 1.6.0 | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| locale | TEXT | NULL | NULL | | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| timezone | TEXT | NULL | NULL | US/Central | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| timeformat | INT | 12 | NULL | NULL | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| weekstartday | INT | 1 | NULL | NULL | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| startPage | TEXT | NULL | NULL | monthly | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| project_items_per_page | INT | 20 | NULL | NULL | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| task_items_per_page | INT | 20 | NULL | NULL | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| simpleTimesheetLayout | TEXT | NULL | NULL | small work description field | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| useLDAP | INT | 0 | NULL | NULL | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| LDAPurl | TEXT | NULL | NULL | <a moz-do-not-send="true">ldap://watson:389</a> | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| LDAPBaseDN | TEXT | NULL | NULL | dc=watson | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| LDAPUsernameAttribute | TEXT | NULL | NULL | cn | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| LDAPSearchScope | TEXT | NULL | NULL | base | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| LDAPFilter | TEXT | NULL | NULL | | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| LDAPProtocolVersion | TEXT | NULL | NULL | 3 | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| LDAPBindUsername | TEXT | NULL | NULL | | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| LDAPBindPassword | TEXT | NULL | NULL | | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| LDAPReferrals | INT | 0 | NULL | NULL | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| LDAPFallback | INT | 0 | NULL | NULL | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">+------------------------+------+------+-------+------------------------------+</span><br> <br> Oh, you can also see above, I've replaced several of the old LDAP items with an LDAPurl item instead...<br> <br> -Scott<br> <br> <div>On Thu, Feb 10, 2011 at 5:42 PM, Scott Miller <span dir="ltr"><<a moz-do-not-send="true" href="mailto:sco...@gm..." target="_blank">sco...@gm...</a>></span> wrote:<br> <blockquote style="padding-left: 1ex;">Good to hear about the HTML stuff in the database now being ignored, and moving to some sort of template system; I think that will be much nicer than having that stuff in the database. I would certainly be interested in reading what peter has...<br> <br> There are many suggested improvements that are impossible without having per user configuration options. Things like having each user able to create a default set of time entries per week, eventually allowing the user to set their own timezone (once we can store times as UTC). Once we have this ability a whole myriad of new possibilities are opened up to further improve the user experience.<br> <br> Peter Lazarus, are you still working on improving the "managment approval" area?<br> <font color="#888888"><br> -Scott</font></blockquote> </div> <br> </blockquote> <br> </div> </div> ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. <a moz-do-not-send="true" href="http://p.sf.net/sfu/intel-dev2devfeb" target="_blank">http://p.sf.net/sfu/intel-dev2devfeb</a> <div> <br> _______________________________________________ Tsheetx-developers mailing list <a moz-do-not-send="true" href="mailto:Tsh...@li..." target="_blank">Tsh...@li...</a> <a moz-do-not-send="true" href="https://lists.sourceforge.net/lists/listinfo/tsheetx-developers" target="_blank">https://lists.sourceforge.net/lists/listinfo/tsheetx-developers</a> </div> </div> <br> ------------------------------------------------------------------------------<br> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:<br> Pinpoint memory and threading errors before they happen.<br> Find and fix more than 250 security defects in the development cycle.<br> Locate bottlenecks in serial and parallel code that limit performance.<br> <a moz-do-not-send="true" href="http://p.sf.net/sfu/intel-dev2devfeb" target="_blank">http://p.sf.net/sfu/intel-dev2devfeb</a><br> _______________________________________________<br> Tsheetx-developers mailing list<br> <a moz-do-not-send="true" href="mailto:Tsh...@li..." target="_blank">Tsh...@li...</a><br> <a moz-do-not-send="true" href="https://lists.sourceforge.net/lists/listinfo/tsheetx-developers" target="_blank">https://lists.sourceforge.net/lists/listinfo/tsheetx-developers</a><br> <br> </blockquote> </div> <br> </div> </div> <pre><fieldset></fieldset> ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. <div class="im"><a moz-do-not-send="true" href="http://p.sf.net/sfu/intel-dev2devfeb" target="_blank">http://p.sf.net/sfu/intel-dev2devfeb</a></div></pre> <div class="im"> <pre><fieldset></fieldset> _______________________________________________ Tsheetx-developers mailing list <a moz-do-not-send="true" href="mailto:Tsh...@li..." target="_blank">Tsh...@li...</a> <a moz-do-not-send="true" href="https://lists.sourceforge.net/lists/listinfo/tsheetx-developers" target="_blank">https://lists.sourceforge.net/lists/listinfo/tsheetx-developers</a> </pre> </div> </blockquote> </div> <br> ------------------------------------------------------------------------------<br> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:<br> Pinpoint memory and threading errors before they happen.<br> Find and fix more than 250 security defects in the development cycle.<br> Locate bottlenecks in serial and parallel code that limit performance.<br> <a moz-do-not-send="true" href="http://p.sf.net/sfu/intel-dev2devfeb" target="_blank">http://p.sf.net/sfu/intel-dev2devfeb</a><br> _______________________________________________<br> Tsheetx-developers mailing list<br> <a moz-do-not-send="true" href="mailto:Tsh...@li...">Tsh...@li...</a><br> <a moz-do-not-send="true" href="https://lists.sourceforge.net/lists/listinfo/tsheetx-developers" target="_blank">https://lists.sourceforge.net/lists/listinfo/tsheetx-developers</a><br> <br> </blockquote> </div> <br> </blockquote> </body> </html> |
From: Scott M. <sco...@gm...> - 2011-02-11 16:56:10
|
Some actual code from common.inc file (I'm currently developing off trunk, but I want to check out the 2.0-demo thing too): class ConfigInformation { var $Info; var $Html; function getCfgInfo() { require("table_names.inc"); require("database_credentials.inc"); list($qh, $num) = dbQuery("SELECT * FROM $NEW_CONFIG_TABLE where name not like '%LDAP%' and name not like 'HTML%'"); while ($data = dbResult($qh)) { $this->Info[$data['name']]=$data[$data['type']]; } list($qh, $num) = dbQuery("SELECT * FROM $NEW_CONFIG_TABLE where name like 'HTML%'"); while ($data = dbResult($qh)) { $this->Html[$data['name']]=$data[$data['type']]; } } } $Cfg = new ConfigInformation; $Cfg->getCfgInfo(); function getWeekStartDay() { global $Cfg; return $Cfg->Info['weekstartday']; } function getProjectItemsPerPage() { global $Cfg; return $Cfg->Info['project_items_per_page']; } function getTaskItemsPerPage() { global $Cfg; return $Cfg->Info['task_items_per_page']; } function getTimeFormat() { global $Cfg; return $Cfg->Info['timeformat']; } ---------------------------------------- On a side note, since the config stuff is loaded in common.inc and thus available to all the other code, all these "get" functions can now be eliminated. But, it works for now... I did rename the html configuration entites to start with "HTML" instead of ending with "html". (ie footerhtml was changed to HTMLfooter, etc) Oh, and the LDAP stuff is loaded similarly in the class.AuthenticationManager.php file... -Scott On Fri, Feb 11, 2011 at 4:19 PM, Mark Wrightson <ma...@rw...>wrote: > I recently came up with a nice OO way to handle exactly this but without > using a db for the config tables. ( there is no reason why a db couldn't be > used though.) > > If you have a config class that contains the default config of the system. > > To sumarise: > config.factory.class.php: > > class ConfigFactory{ > > protected static itemOne = 'something'; > > public static function initialise(){} > > public static getItemOne(){ > return self::itemOne; > } > > ....more config params here.... > > } > > config.class.php: > > class Config extends ConfigFactory{ > > /** > * initialise the config class > */ > public static function initialise(){ > > if(file_exists('include/config/config.php')){ > include('include/config/config.php'); > } > > parent::initialise(); > } > > > } > > > and finally in include/config/config.php the actual userdefined config: > > parent::$itemOne = "somethingelse"; > > i think this would be slightly better than an ini file albeit of similar > concept. > > Using this type of topology database credentials could be stored in a file > and a database hook to grab other config data from the database in the > config::initialise() function. > > This ensures default values are always present and then overwritten with > specific config parameters for the users setup. > > so in the application code access would be as follows: > Config::getItemOne(); > > > However the final solution is done, the data from the config table should > be loaded into some from of class structure. This minimises the potential > for coding errors. :) > > Thoughts please? - (this is an extension to the config setup currently in > my and peters branch.) > > > > Mark > > _____________________________________________ > > Mob: 07725 695178 > Email: ma...@rw... > > > On 11/02/2011 15:56, Scott Miller wrote: > > Yes, I've given some thought to default entries, as well as the potential > issues when items that are supposed to exist don't. > > It could be handled by putting the defaults into an .ini type file, and we > could just load the defaults from the ini file before we then over write > them with info from the database, that would help ensure that missing > configuration items from the database wouldn't necessarily break the > application. > > I'm not convinced this is a good idea because that would mean the > application would have to read configuration data from two places with every > page load. And if some admin is dumb enough to delete configuration stuff > out of the database, they deserve to have the app break on them :-) > > But, putting that info in an .ini file, we could then still have the > "revert to default" buttons on the configuration page, and if needed, we > could then load that info from the .ini file. Or we could have default > entries in the database itself. I'm kinda leaning toward the ini file > though. > > -Scott > > On Fri, Feb 11, 2011 at 3:22 PM, David Thompson < > tom...@us...> wrote: > >> Scott - I like your idea with the generic config table, but have you >> considered defaults? >> Mark, Peter - I am impressed by your progress, well done, a rework like >> this will give the "next gen" feel that we need. And don't worry about >> rewriting 90% of the code, go ahead if necessary. >> >> I am not actively working on anything (well, related to TSNG I mean), but >> I keep an eye on what is going on. There are a number of branches where >> changes have been made that should really be completed and merged into the >> trunk, or merged into txsheet-2.0 and further developed there. Can anyone >> claim responsibility for the changes? >> >> Cheers >> tommo >> >> ------------------------------ >> Date: Fri, 11 Feb 2011 10:21:53 +1100 >> From: pal...@gm... >> To: tsh...@li... >> Subject: [Tsheetx-developers] [SPAM] Re: Who's actively working on the >> TSNG system? >> >> >> Scott, >> you asked if I have done more work on the 'management approval' area. The >> answer is no. I have incorporated the management approval process into >> branches/txsheet-2.0-demo but nothing further has been added. I have spent >> most of my development time on the changes made in conjunction with Mark. >> >> Peter >> >> On 11/02/11 05:00, Scott Miller wrote: >> >> Oh, sorry, I didn't answer what the new config stuff would look like: >> rather than having each configuration item have it's own column in the >> database, I'm making the table generic, so we can easily add whatever we >> want to the configuration table. So it currently looks like this: >> >> columns are: name | type | INT | FLOAT | TEXT >> INT and FLOAT are their namesake types, name is varchar(35), type is an >> enum ('INT','FLOAT','TEXT') defaulting to text, and TEXT is of type >> MEDIUMTEXT (which was done to make sure there was enough space for the HTML >> entities, which with your work, would mean we could probably safely make >> that of type TEXT instead) >> >> An example select from the database looks like this: >> mysql> select * from tstrunk_new_config where name not like "HTML%"; >> >> +------------------------+------+------+-------+------------------------------+ >> | name | type | INT | FLOAT | >> TEXT | >> >> +------------------------+------+------+-------+------------------------------+ >> | version | TEXT | NULL | NULL | >> 1.6.0 | >> | locale | TEXT | NULL | NULL >> | | >> | timezone | TEXT | NULL | NULL | >> US/Central | >> | timeformat | INT | 12 | NULL | >> NULL | >> | weekstartday | INT | 1 | NULL | >> NULL | >> | startPage | TEXT | NULL | NULL | >> monthly | >> | project_items_per_page | INT | 20 | NULL | >> NULL | >> | task_items_per_page | INT | 20 | NULL | >> NULL | >> | simpleTimesheetLayout | TEXT | NULL | NULL | small work description >> field | >> | useLDAP | INT | 0 | NULL | >> NULL | >> | LDAPurl | TEXT | NULL | NULL | ldap://watson:389 >> | >> | LDAPBaseDN | TEXT | NULL | NULL | >> dc=watson | >> | LDAPUsernameAttribute | TEXT | NULL | NULL | >> cn | >> | LDAPSearchScope | TEXT | NULL | NULL | >> base | >> | LDAPFilter | TEXT | NULL | NULL >> | | >> | LDAPProtocolVersion | TEXT | NULL | NULL | >> 3 | >> | LDAPBindUsername | TEXT | NULL | NULL >> | | >> | LDAPBindPassword | TEXT | NULL | NULL >> | | >> | LDAPReferrals | INT | 0 | NULL | >> NULL | >> | LDAPFallback | INT | 0 | NULL | >> NULL | >> >> +------------------------+------+------+-------+------------------------------+ >> >> Oh, you can also see above, I've replaced several of the old LDAP items >> with an LDAPurl item instead... >> >> -Scott >> >> On Thu, Feb 10, 2011 at 5:42 PM, Scott Miller <sco...@gm...>wrote: >> >> Good to hear about the HTML stuff in the database now being ignored, and >> moving to some sort of template system; I think that will be much nicer than >> having that stuff in the database. I would certainly be interested in >> reading what peter has... >> >> There are many suggested improvements that are impossible without having >> per user configuration options. Things like having each user able to create >> a default set of time entries per week, eventually allowing the user to set >> their own timezone (once we can store times as UTC). Once we have this >> ability a whole myriad of new possibilities are opened up to further improve >> the user experience. >> >> Peter Lazarus, are you still working on improving the "managment approval" >> area? >> >> -Scott >> >> >> >> ------------------------------------------------------------------------------ >> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: >> Pinpoint memory and threading errors before they happen. Find and fix more >> than 250 security defects in the development cycle. Locate bottlenecks in >> serial and parallel code that limit performance. >> http://p.sf.net/sfu/intel-dev2devfeb >> >> _______________________________________________ Tsheetx-developers mailing >> list Tsh...@li... >> https://lists.sourceforge.net/lists/listinfo/tsheetx-developers >> >> >> ------------------------------------------------------------------------------ >> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: >> Pinpoint memory and threading errors before they happen. >> Find and fix more than 250 security defects in the development cycle. >> Locate bottlenecks in serial and parallel code that limit performance. >> http://p.sf.net/sfu/intel-dev2devfeb >> _______________________________________________ >> Tsheetx-developers mailing list >> Tsh...@li... >> https://lists.sourceforge.net/lists/listinfo/tsheetx-developers >> >> > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > > > _______________________________________________ > Tsheetx-developers mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/tsheetx-developers > > > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Tsheetx-developers mailing list > Tsh...@li... > https://lists.sourceforge.net/lists/listinfo/tsheetx-developers > > |
From: Scott M. <sco...@gm...> - 2011-02-11 16:42:43
|
>From a distant memory, I think the 2.x branch is a long ago abandoned work by Rob Searles (the, or at least one of the, New Gen originating guys)... -Scott On Fri, Feb 11, 2011 at 4:34 PM, Mark Wrightson <ma...@rw...>wrote: > Does anyone know what the timesheet.ng-2.x branch is? - if checked out it > doesn't run and there doesn't appear to be any information how to make it > run (if indeed it would). > > Scott, when you refer to the txsheet-2.0 branch which one do you mean? > timesheet.ng-2.x or txsheet-2.0-demo? > Its my bad for naming the branch in an unconventional way, it could be > renamed? > > Myself and peter have currently tried to keep as much of the codebase > intact as to not introduce thousands of bugs while doing some > restructuring. At least this way we can get to a 'stable' point more > quickly, get more developers involved to then go nuts with the core parts of > the txsheet codebase. :) > > One thing I have wondered is svn is great at propagating code changes but > not db changes. What is the best method to make changes to your db and then > notify developers that their db will need to be modified? An sql file can > be written to make the changes and stored in the sql folder but what about > the notification bit? - maybe an automated routine could be written? - start > making more use of the version number in the config table and started > incrementing the minor version number when a database tweak is required? > > Re: Can anyone claim responsibility for the changes? > To which part? - could you just run blame? > So far txsheet-2.0-demo has just been Peter and Mark (me) > > Cheers > Mark > > _____________________________________________ > > Mob: 07725 695178 > Email: ma...@rw... > > > On 11/02/2011 15:22, David Thompson wrote: > > Scott - I like your idea with the generic config table, but have you > considered defaults? > Mark, Peter - I am impressed by your progress, well done, a rework like > this will give the "next gen" feel that we need. And don't worry about > rewriting 90% of the code, go ahead if necessary. > > I am not actively working on anything (well, related to TSNG I mean), but I > keep an eye on what is going on. There are a number of branches where > changes have been made that should really be completed and merged into the > trunk, or merged into txsheet-2.0 and further developed there. Can anyone > claim responsibility for the changes? > > Cheers > tommo > > ------------------------------ > Date: Fri, 11 Feb 2011 10:21:53 +1100 > From: pal...@gm... > To: tsh...@li... > Subject: [Tsheetx-developers] [SPAM] Re: Who's actively working on the TSNG > system? > > Scott, > you asked if I have done more work on the 'management approval' area. The > answer is no. I have incorporated the management approval process into > branches/txsheet-2.0-demo but nothing further has been added. I have spent > most of my development time on the changes made in conjunction with Mark. > > Peter > > On 11/02/11 05:00, Scott Miller wrote: > > Oh, sorry, I didn't answer what the new config stuff would look like: > rather than having each configuration item have it's own column in the > database, I'm making the table generic, so we can easily add whatever we > want to the configuration table. So it currently looks like this: > > columns are: name | type | INT | FLOAT | TEXT > INT and FLOAT are their namesake types, name is varchar(35), type is an > enum ('INT','FLOAT','TEXT') defaulting to text, and TEXT is of type > MEDIUMTEXT (which was done to make sure there was enough space for the HTML > entities, which with your work, would mean we could probably safely make > that of type TEXT instead) > > An example select from the database looks like this: > mysql> select * from tstrunk_new_config where name not like "HTML%"; > > +------------------------+------+------+-------+------------------------------+ > | name | type | INT | FLOAT | > TEXT | > > +------------------------+------+------+-------+------------------------------+ > | version | TEXT | NULL | NULL | > 1.6.0 | > | locale | TEXT | NULL | NULL > | | > | timezone | TEXT | NULL | NULL | > US/Central | > | timeformat | INT | 12 | NULL | > NULL | > | weekstartday | INT | 1 | NULL | > NULL | > | startPage | TEXT | NULL | NULL | > monthly | > | project_items_per_page | INT | 20 | NULL | > NULL | > | task_items_per_page | INT | 20 | NULL | > NULL | > | simpleTimesheetLayout | TEXT | NULL | NULL | small work description > field | > | useLDAP | INT | 0 | NULL | > NULL | > | LDAPurl | TEXT | NULL | NULL | ldap://watson:389 > | > | LDAPBaseDN | TEXT | NULL | NULL | > dc=watson | > | LDAPUsernameAttribute | TEXT | NULL | NULL | > cn | > | LDAPSearchScope | TEXT | NULL | NULL | > base | > | LDAPFilter | TEXT | NULL | NULL > | | > | LDAPProtocolVersion | TEXT | NULL | NULL | > 3 | > | LDAPBindUsername | TEXT | NULL | NULL > | | > | LDAPBindPassword | TEXT | NULL | NULL > | | > | LDAPReferrals | INT | 0 | NULL | > NULL | > | LDAPFallback | INT | 0 | NULL | > NULL | > > +------------------------+------+------+-------+------------------------------+ > > Oh, you can also see above, I've replaced several of the old LDAP items > with an LDAPurl item instead... > > -Scott > > On Thu, Feb 10, 2011 at 5:42 PM, Scott Miller <sco...@gm...>wrote: > > Good to hear about the HTML stuff in the database now being ignored, and > moving to some sort of template system; I think that will be much nicer than > having that stuff in the database. I would certainly be interested in > reading what peter has... > > There are many suggested improvements that are impossible without having > per user configuration options. Things like having each user able to create > a default set of time entries per week, eventually allowing the user to set > their own timezone (once we can store times as UTC). Once we have this > ability a whole myriad of new possibilities are opened up to further improve > the user experience. > > Peter Lazarus, are you still working on improving the "managment approval" > area? > > -Scott > > > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. Find and fix more > than 250 security defects in the development cycle. Locate bottlenecks in > serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ Tsheetx-developers mailing > list Tsh...@li... > https://lists.sourceforge.net/lists/listinfo/tsheetx-developers > > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > > > _______________________________________________ > Tsheetx-developers mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/tsheetx-developers > > > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Tsheetx-developers mailing list > Tsh...@li... > https://lists.sourceforge.net/lists/listinfo/tsheetx-developers > > |
From: Mark W. <ma...@rw...> - 2011-02-11 16:33:58
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body text="#000000" bgcolor="#ffffff"> Does anyone know what the timesheet.ng-2.x branch is? - if checked out it doesn't run and there doesn't appear to be any information how to make it run (if indeed it would).<br> <br> Scott, when you refer to the txsheet-2.0 branch which one do you mean? timesheet.ng-2.x or txsheet-2.0-demo?<br> Its my bad for naming the branch in an unconventional way, it could be renamed?<br> <br> Myself and peter have currently tried to keep as much of the codebase intact as to not introduce thousands of bugs while doing some restructuring. At least this way we can get to a 'stable' point more quickly, get more developers involved to then go nuts with the core parts of the txsheet codebase. :)<br> <br> One thing I have wondered is svn is great at propagating code changes but not db changes. What is the best method to make changes to your db and then notify developers that their db will need to be modified? An sql file can be written to make the changes and stored in the sql folder but what about the notification bit? - maybe an automated routine could be written? - start making more use of the version number in the config table and started incrementing the minor version number when a database tweak is required?<br> <br> Re: Can anyone claim responsibility for the changes?<br> To which part? - could you just run blame?<br> So far txsheet-2.0-demo has just been Peter and Mark (me)<br> <br> Cheers<br> Mark<br> <pre class="moz-signature" cols="72">_____________________________________________ Mob: 07725 695178 Email: <a class="moz-txt-link-abbreviated" href="mailto:ma...@rw...">ma...@rw...</a></pre> <br> On 11/02/2011 15:22, David Thompson wrote: <blockquote cite="mid:BAY...@ph...l" type="cite"> <style><!-- .hmmessage P { margin:0px; padding:0px } body.hmmessage { font-size: 10pt; font-family:Tahoma } --></style> Scott - I like your idea with the generic config table, but have you considered defaults?<br> Mark, Peter - I am impressed by your progress, well done, a rework like this will give the "next gen" feel that we need. And don't worry about rewriting 90% of the code, go ahead if necessary.<br> <br> I am not actively working on anything (well, related to TSNG I mean), but I keep an eye on what is going on. There are a number of branches where changes have been made that should really be completed and merged into the trunk, or merged into txsheet-2.0 and further developed there. Can anyone claim responsibility for the changes?<br> <br> Cheers<br> tommo<br> <br> <hr id="stopSpelling"> Date: Fri, 11 Feb 2011 10:21:53 +1100<br> From: <a class="moz-txt-link-abbreviated" href="mailto:pal...@gm...">pal...@gm...</a><br> To: <a class="moz-txt-link-abbreviated" href="mailto:tsh...@li...">tsh...@li...</a><br> Subject: [Tsheetx-developers] [SPAM] Re: Who's actively working on the TSNG system?<br> <br> <meta name="Generator" content="Microsoft SafeHTML"> Scott,<br> you asked if I have done more work on the 'management approval' area. The answer is no. I have incorporated the management approval process into branches/txsheet-2.0-demo but nothing further has been added. I have spent most of my development time on the changes made in conjunction with Mark.<br> <br> Peter<br> <br> On 11/02/11 05:00, Scott Miller wrote: <blockquote cite="mid:AAN...@ma...">Oh, sorry, I didn't answer what the new config stuff would look like: rather than having each configuration item have it's own column in the database, I'm making the table generic, so we can easily add whatever we want to the configuration table. So it currently looks like this:<br> <br> columns are: name | type | INT | FLOAT | TEXT<br> INT and FLOAT are their namesake types, name is varchar(35), type is an enum ('INT','FLOAT','TEXT') defaulting to text, and TEXT is of type MEDIUMTEXT (which was done to make sure there was enough space for the HTML entities, which with your work, would mean we could probably safely make that of type TEXT instead)<br> <br> An example select from the database looks like this:<br> <span style="font-family: courier new,monospace;">mysql> select * from tstrunk_new_config where name not like "HTML%";</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">+------------------------+------+------+-------+------------------------------+</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| name | type | INT | FLOAT | TEXT |</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">+------------------------+------+------+-------+------------------------------+</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| version | TEXT | NULL | NULL | 1.6.0 | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| locale | TEXT | NULL | NULL | | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| timezone | TEXT | NULL | NULL | US/Central | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| timeformat | INT | 12 | NULL | NULL | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| weekstartday | INT | 1 | NULL | NULL | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| startPage | TEXT | NULL | NULL | monthly | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| project_items_per_page | INT | 20 | NULL | NULL | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| task_items_per_page | INT | 20 | NULL | NULL | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| simpleTimesheetLayout | TEXT | NULL | NULL | small work description field | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| useLDAP | INT | 0 | NULL | NULL | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| LDAPurl | TEXT | NULL | NULL | <a moz-do-not-send="true" class="ecxmoz-txt-link-freetext" target="_blank">ldap://watson:389</a> | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| LDAPBaseDN | TEXT | NULL | NULL | dc=watson | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| LDAPUsernameAttribute | TEXT | NULL | NULL | cn | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| LDAPSearchScope | TEXT | NULL | NULL | base | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| LDAPFilter | TEXT | NULL | NULL | | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| LDAPProtocolVersion | TEXT | NULL | NULL | 3 | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| LDAPBindUsername | TEXT | NULL | NULL | | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| LDAPBindPassword | TEXT | NULL | NULL | | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| LDAPReferrals | INT | 0 | NULL | NULL | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| LDAPFallback | INT | 0 | NULL | NULL | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">+------------------------+------+------+-------+------------------------------+</span><br> <br> Oh, you can also see above, I've replaced several of the old LDAP items with an LDAPurl item instead...<br> <br> -Scott<br> <br> <div class="ecxgmail_quote">On Thu, Feb 10, 2011 at 5:42 PM, Scott Miller <span dir="ltr"><<a moz-do-not-send="true" href="mailto:sco...@gm...">sco...@gm...</a>></span> wrote:<br> <blockquote style="padding-left: 1ex;" class="ecxgmail_quote">Good to hear about the HTML stuff in the database now being ignored, and moving to some sort of template system; I think that will be much nicer than having that stuff in the database. I would certainly be interested in reading what peter has...<br> <br> There are many suggested improvements that are impossible without having per user configuration options. Things like having each user able to create a default set of time entries per week, eventually allowing the user to set their own timezone (once we can store times as UTC). Once we have this ability a whole myriad of new possibilities are opened up to further improve the user experience.<br> <br> Peter Lazarus, are you still working on improving the "managment approval" area?<br> <font color="#888888"><br> -Scott</font></blockquote> </div> <br> </blockquote> <br> ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. <a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/intel-dev2devfeb">http://p.sf.net/sfu/intel-dev2devfeb</a><br> _______________________________________________ Tsheetx-developers mailing list <a class="moz-txt-link-abbreviated" href="mailto:Tsh...@li...">Tsh...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/tsheetx-developers">https://lists.sourceforge.net/lists/listinfo/tsheetx-developers</a> <pre wrap=""> <fieldset class="mimeAttachmentHeader"></fieldset> ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. <a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/intel-dev2devfeb">http://p.sf.net/sfu/intel-dev2devfeb</a></pre> <pre wrap=""> <fieldset class="mimeAttachmentHeader"></fieldset> _______________________________________________ Tsheetx-developers mailing list <a class="moz-txt-link-abbreviated" href="mailto:Tsh...@li...">Tsh...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/tsheetx-developers">https://lists.sourceforge.net/lists/listinfo/tsheetx-developers</a> </pre> </blockquote> </body> </html> |
From: Mark W. <ma...@rw...> - 2011-02-11 16:19:27
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body text="#000000" bgcolor="#ffffff"> I recently came up with a nice OO way to handle exactly this but without using a db for the config tables. ( there is no reason why a db couldn't be used though.)<br> <br> If you have a config class that contains the default config of the system.<br> <br> To sumarise:<br> config.factory.class.php:<br> <br> class ConfigFactory{<br> <br> protected static itemOne = 'something';<br> <br> public static function initialise(){}<br> <br> public static getItemOne(){<br> return self::itemOne;<br> }<br> <br> ....more config params here....<br> <br> }<br> <br> config.class.php:<br> <br> class Config extends ConfigFactory{<br> <br> /**<br> * initialise the config class<br> */<br> public static function initialise(){<br> <br> if(file_exists('include/config/config.php')){<br> include('include/config/config.php');<br> }<br> <br> parent::initialise();<br> }<br> <br> <br> }<br> <br> <br> and finally in include/config/config.php the actual userdefined config:<br> <br> parent::$itemOne = "somethingelse";<br> <br> i think this would be slightly better than an ini file albeit of similar concept.<br> <br> Using this type of topology database credentials could be stored in a file and a database hook to grab other config data from the database in the config::initialise() function.<br> <br> This ensures default values are always present and then overwritten with specific config parameters for the users setup.<br> <br> so in the application code access would be as follows: Config::getItemOne();<br> <br> <br> However the final solution is done, the data from the config table should be loaded into some from of class structure. This minimises the potential for coding errors. :)<br> <br> Thoughts please? - (this is an extension to the config setup currently in my and peters branch.)<br> <br> <br> <br> Mark <pre class="moz-signature" cols="72">_____________________________________________ Mob: 07725 695178 Email: <a class="moz-txt-link-abbreviated" href="mailto:ma...@rw...">ma...@rw...</a></pre> <br> On 11/02/2011 15:56, Scott Miller wrote: <blockquote cite="mid:AANLkTi=E=zN5inS5dFbh0vM=Pzk...@ma..." type="cite">Yes, I've given some thought to default entries, as well as the potential issues when items that are supposed to exist don't.<br> <br> It could be handled by putting the defaults into an .ini type file, and we could just load the defaults from the ini file before we then over write them with info from the database, that would help ensure that missing configuration items from the database wouldn't necessarily break the application. <br> <br> I'm not convinced this is a good idea because that would mean the application would have to read configuration data from two places with every page load. And if some admin is dumb enough to delete configuration stuff out of the database, they deserve to have the app break on them :-)<br> <br> But, putting that info in an .ini file, we could then still have the "revert to default" buttons on the configuration page, and if needed, we could then load that info from the .ini file. Or we could have default entries in the database itself. I'm kinda leaning toward the ini file though.<br> <br> -Scott<br> <br> <div class="gmail_quote">On Fri, Feb 11, 2011 at 3:22 PM, David Thompson <span dir="ltr"><<a moz-do-not-send="true" href="mailto:tom...@us..." target="_blank">tom...@us...</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> <div> Scott - I like your idea with the generic config table, but have you considered defaults?<br> Mark, Peter - I am impressed by your progress, well done, a rework like this will give the "next gen" feel that we need. And don't worry about rewriting 90% of the code, go ahead if necessary.<br> <br> I am not actively working on anything (well, related to TSNG I mean), but I keep an eye on what is going on. There are a number of branches where changes have been made that should really be completed and merged into the trunk, or merged into txsheet-2.0 and further developed there. Can anyone claim responsibility for the changes?<br> <br> Cheers<br> tommo<br> <br> <hr> Date: Fri, 11 Feb 2011 10:21:53 +1100<br> From: <a moz-do-not-send="true" href="mailto:pal...@gm..." target="_blank">pal...@gm...</a><br> To: <a moz-do-not-send="true" href="mailto:tsh...@li..." target="_blank">tsh...@li...</a><br> Subject: [Tsheetx-developers] [SPAM] Re: Who's actively working on the TSNG system? <div> <div><br> <br> Scott,<br> you asked if I have done more work on the 'management approval' area. The answer is no. I have incorporated the management approval process into branches/txsheet-2.0-demo but nothing further has been added. I have spent most of my development time on the changes made in conjunction with Mark.<br> <br> Peter<br> <br> On 11/02/11 05:00, Scott Miller wrote: <blockquote>Oh, sorry, I didn't answer what the new config stuff would look like: rather than having each configuration item have it's own column in the database, I'm making the table generic, so we can easily add whatever we want to the configuration table. So it currently looks like this:<br> <br> columns are: name | type | INT | FLOAT | TEXT<br> INT and FLOAT are their namesake types, name is varchar(35), type is an enum ('INT','FLOAT','TEXT') defaulting to text, and TEXT is of type MEDIUMTEXT (which was done to make sure there was enough space for the HTML entities, which with your work, would mean we could probably safely make that of type TEXT instead)<br> <br> An example select from the database looks like this:<br> <span style="font-family: courier new,monospace;">mysql> select * from tstrunk_new_config where name not like "HTML%";</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">+------------------------+------+------+-------+------------------------------+</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| name | type | INT | FLOAT | TEXT |</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">+------------------------+------+------+-------+------------------------------+</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| version | TEXT | NULL | NULL | 1.6.0 | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| locale | TEXT | NULL | NULL | | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| timezone | TEXT | NULL | NULL | US/Central | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| timeformat | INT | 12 | NULL | NULL | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| weekstartday | INT | 1 | NULL | NULL | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| startPage | TEXT | NULL | NULL | monthly | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| project_items_per_page | INT | 20 | NULL | NULL | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| task_items_per_page | INT | 20 | NULL | NULL | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| simpleTimesheetLayout | TEXT | NULL | NULL | small work description field | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| useLDAP | INT | 0 | NULL | NULL | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| LDAPurl | TEXT | NULL | NULL | <a moz-do-not-send="true">ldap://watson:389</a> | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| LDAPBaseDN | TEXT | NULL | NULL | dc=watson | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| LDAPUsernameAttribute | TEXT | NULL | NULL | cn | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| LDAPSearchScope | TEXT | NULL | NULL | base | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| LDAPFilter | TEXT | NULL | NULL | | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| LDAPProtocolVersion | TEXT | NULL | NULL | 3 | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| LDAPBindUsername | TEXT | NULL | NULL | | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| LDAPBindPassword | TEXT | NULL | NULL | | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| LDAPReferrals | INT | 0 | NULL | NULL | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">| LDAPFallback | INT | 0 | NULL | NULL | </span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">+------------------------+------+------+-------+------------------------------+</span><br> <br> Oh, you can also see above, I've replaced several of the old LDAP items with an LDAPurl item instead...<br> <br> -Scott<br> <br> <div>On Thu, Feb 10, 2011 at 5:42 PM, Scott Miller <span dir="ltr"><<a moz-do-not-send="true" href="mailto:sco...@gm..." target="_blank">sco...@gm...</a>></span> wrote:<br> <blockquote style="padding-left: 1ex;">Good to hear about the HTML stuff in the database now being ignored, and moving to some sort of template system; I think that will be much nicer than having that stuff in the database. I would certainly be interested in reading what peter has...<br> <br> There are many suggested improvements that are impossible without having per user configuration options. Things like having each user able to create a default set of time entries per week, eventually allowing the user to set their own timezone (once we can store times as UTC). Once we have this ability a whole myriad of new possibilities are opened up to further improve the user experience.<br> <br> Peter Lazarus, are you still working on improving the "managment approval" area?<br> <font color="#888888"><br> -Scott</font></blockquote> </div> <br> </blockquote> <br> </div> </div> ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. <a moz-do-not-send="true" href="http://p.sf.net/sfu/intel-dev2devfeb" target="_blank">http://p.sf.net/sfu/intel-dev2devfeb</a> <div> <br> _______________________________________________ Tsheetx-developers mailing list <a moz-do-not-send="true" href="mailto:Tsh...@li..." target="_blank">Tsh...@li...</a> <a moz-do-not-send="true" href="https://lists.sourceforge.net/lists/listinfo/tsheetx-developers" target="_blank">https://lists.sourceforge.net/lists/listinfo/tsheetx-developers</a> </div> </div> <br> ------------------------------------------------------------------------------<br> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:<br> Pinpoint memory and threading errors before they happen.<br> Find and fix more than 250 security defects in the development cycle.<br> Locate bottlenecks in serial and parallel code that limit performance.<br> <a moz-do-not-send="true" href="http://p.sf.net/sfu/intel-dev2devfeb" target="_blank">http://p.sf.net/sfu/intel-dev2devfeb</a><br> _______________________________________________<br> Tsheetx-developers mailing list<br> <a moz-do-not-send="true" href="mailto:Tsh...@li..." target="_blank">Tsh...@li...</a><br> <a moz-do-not-send="true" href="https://lists.sourceforge.net/lists/listinfo/tsheetx-developers" target="_blank">https://lists.sourceforge.net/lists/listinfo/tsheetx-developers</a><br> <br> </blockquote> </div> <br> <pre wrap=""> <fieldset class="mimeAttachmentHeader"></fieldset> ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. <a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/intel-dev2devfeb">http://p.sf.net/sfu/intel-dev2devfeb</a></pre> <pre wrap=""> <fieldset class="mimeAttachmentHeader"></fieldset> _______________________________________________ Tsheetx-developers mailing list <a class="moz-txt-link-abbreviated" href="mailto:Tsh...@li...">Tsh...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/tsheetx-developers">https://lists.sourceforge.net/lists/listinfo/tsheetx-developers</a> </pre> </blockquote> </body> </html> |
From: David T. <tom...@us...> - 2011-02-11 16:18:31
|
I agree that reading an .ini at install/upgrade/reset would be better than storing in the DB. Certainly not reading DB and ini on every use of the values. Cheers Date: Fri, 11 Feb 2011 15:56:09 +0000 Subject: Re: [Tsheetx-developers] Who's actively working on the TSNG system? From: sco...@gm... To: tom...@us... CC: tsh...@li... Yes, I've given some thought to default entries, as well as the potential issues when items that are supposed to exist don't. It could be handled by putting the defaults into an .ini type file, and we could just load the defaults from the ini file before we then over write them with info from the database, that would help ensure that missing configuration items from the database wouldn't necessarily break the application. I'm not convinced this is a good idea because that would mean the application would have to read configuration data from two places with every page load. And if some admin is dumb enough to delete configuration stuff out of the database, they deserve to have the app break on them :-) But, putting that info in an .ini file, we could then still have the "revert to default" buttons on the configuration page, and if needed, we could then load that info from the .ini file. Or we could have default entries in the database itself. I'm kinda leaning toward the ini file though. -Scott |
From: Scott M. <sco...@gm...> - 2011-02-11 15:56:17
|
Yes, I've given some thought to default entries, as well as the potential issues when items that are supposed to exist don't. It could be handled by putting the defaults into an .ini type file, and we could just load the defaults from the ini file before we then over write them with info from the database, that would help ensure that missing configuration items from the database wouldn't necessarily break the application. I'm not convinced this is a good idea because that would mean the application would have to read configuration data from two places with every page load. And if some admin is dumb enough to delete configuration stuff out of the database, they deserve to have the app break on them :-) But, putting that info in an .ini file, we could then still have the "revert to default" buttons on the configuration page, and if needed, we could then load that info from the .ini file. Or we could have default entries in the database itself. I'm kinda leaning toward the ini file though. -Scott On Fri, Feb 11, 2011 at 3:22 PM, David Thompson < tom...@us...> wrote: > Scott - I like your idea with the generic config table, but have you > considered defaults? > Mark, Peter - I am impressed by your progress, well done, a rework like > this will give the "next gen" feel that we need. And don't worry about > rewriting 90% of the code, go ahead if necessary. > > I am not actively working on anything (well, related to TSNG I mean), but I > keep an eye on what is going on. There are a number of branches where > changes have been made that should really be completed and merged into the > trunk, or merged into txsheet-2.0 and further developed there. Can anyone > claim responsibility for the changes? > > Cheers > tommo > > ------------------------------ > Date: Fri, 11 Feb 2011 10:21:53 +1100 > From: pal...@gm... > To: tsh...@li... > Subject: [Tsheetx-developers] [SPAM] Re: Who's actively working on the TSNG > system? > > > Scott, > you asked if I have done more work on the 'management approval' area. The > answer is no. I have incorporated the management approval process into > branches/txsheet-2.0-demo but nothing further has been added. I have spent > most of my development time on the changes made in conjunction with Mark. > > Peter > > On 11/02/11 05:00, Scott Miller wrote: > > Oh, sorry, I didn't answer what the new config stuff would look like: > rather than having each configuration item have it's own column in the > database, I'm making the table generic, so we can easily add whatever we > want to the configuration table. So it currently looks like this: > > columns are: name | type | INT | FLOAT | TEXT > INT and FLOAT are their namesake types, name is varchar(35), type is an > enum ('INT','FLOAT','TEXT') defaulting to text, and TEXT is of type > MEDIUMTEXT (which was done to make sure there was enough space for the HTML > entities, which with your work, would mean we could probably safely make > that of type TEXT instead) > > An example select from the database looks like this: > mysql> select * from tstrunk_new_config where name not like "HTML%"; > > +------------------------+------+------+-------+------------------------------+ > | name | type | INT | FLOAT | > TEXT | > > +------------------------+------+------+-------+------------------------------+ > | version | TEXT | NULL | NULL | > 1.6.0 | > | locale | TEXT | NULL | NULL > | | > | timezone | TEXT | NULL | NULL | > US/Central | > | timeformat | INT | 12 | NULL | > NULL | > | weekstartday | INT | 1 | NULL | > NULL | > | startPage | TEXT | NULL | NULL | > monthly | > | project_items_per_page | INT | 20 | NULL | > NULL | > | task_items_per_page | INT | 20 | NULL | > NULL | > | simpleTimesheetLayout | TEXT | NULL | NULL | small work description > field | > | useLDAP | INT | 0 | NULL | > NULL | > | LDAPurl | TEXT | NULL | NULL | ldap://watson:389 > | > | LDAPBaseDN | TEXT | NULL | NULL | > dc=watson | > | LDAPUsernameAttribute | TEXT | NULL | NULL | > cn | > | LDAPSearchScope | TEXT | NULL | NULL | > base | > | LDAPFilter | TEXT | NULL | NULL > | | > | LDAPProtocolVersion | TEXT | NULL | NULL | > 3 | > | LDAPBindUsername | TEXT | NULL | NULL > | | > | LDAPBindPassword | TEXT | NULL | NULL > | | > | LDAPReferrals | INT | 0 | NULL | > NULL | > | LDAPFallback | INT | 0 | NULL | > NULL | > > +------------------------+------+------+-------+------------------------------+ > > Oh, you can also see above, I've replaced several of the old LDAP items > with an LDAPurl item instead... > > -Scott > > On Thu, Feb 10, 2011 at 5:42 PM, Scott Miller <sco...@gm...>wrote: > > Good to hear about the HTML stuff in the database now being ignored, and > moving to some sort of template system; I think that will be much nicer than > having that stuff in the database. I would certainly be interested in > reading what peter has... > > There are many suggested improvements that are impossible without having > per user configuration options. Things like having each user able to create > a default set of time entries per week, eventually allowing the user to set > their own timezone (once we can store times as UTC). Once we have this > ability a whole myriad of new possibilities are opened up to further improve > the user experience. > > Peter Lazarus, are you still working on improving the "managment approval" > area? > > -Scott > > > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. Find and fix more > than 250 security defects in the development cycle. Locate bottlenecks in > serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > > _______________________________________________ Tsheetx-developers mailing > list Tsh...@li... > https://lists.sourceforge.net/lists/listinfo/tsheetx-developers > > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Tsheetx-developers mailing list > Tsh...@li... > https://lists.sourceforge.net/lists/listinfo/tsheetx-developers > > |
From: David T. <tom...@us...> - 2011-02-11 15:23:06
|
Scott - I like your idea with the generic config table, but have you considered defaults? Mark, Peter - I am impressed by your progress, well done, a rework like this will give the "next gen" feel that we need. And don't worry about rewriting 90% of the code, go ahead if necessary. I am not actively working on anything (well, related to TSNG I mean), but I keep an eye on what is going on. There are a number of branches where changes have been made that should really be completed and merged into the trunk, or merged into txsheet-2.0 and further developed there. Can anyone claim responsibility for the changes? Cheers tommo Date: Fri, 11 Feb 2011 10:21:53 +1100 From: pal...@gm... To: tsh...@li... Subject: [Tsheetx-developers] [SPAM] Re: Who's actively working on the TSNG system? Scott, you asked if I have done more work on the 'management approval' area. The answer is no. I have incorporated the management approval process into branches/txsheet-2.0-demo but nothing further has been added. I have spent most of my development time on the changes made in conjunction with Mark. Peter On 11/02/11 05:00, Scott Miller wrote: Oh, sorry, I didn't answer what the new config stuff would look like: rather than having each configuration item have it's own column in the database, I'm making the table generic, so we can easily add whatever we want to the configuration table. So it currently looks like this: columns are: name | type | INT | FLOAT | TEXT INT and FLOAT are their namesake types, name is varchar(35), type is an enum ('INT','FLOAT','TEXT') defaulting to text, and TEXT is of type MEDIUMTEXT (which was done to make sure there was enough space for the HTML entities, which with your work, would mean we could probably safely make that of type TEXT instead) An example select from the database looks like this: mysql> select * from tstrunk_new_config where name not like "HTML%";+------------------------+------+------+-------+------------------------------+| name | type | INT | FLOAT | TEXT |+------------------------+------+------+-------+------------------------------+| version | TEXT | NULL | NULL | 1.6.0 | | locale | TEXT | NULL | NULL | | | timezone | TEXT | NULL | NULL | US/Central | | timeformat | INT | 12 | NULL | NULL | | weekstartday | INT | 1 | NULL | NULL | | startPage | TEXT | NULL | NULL | monthly | | project_items_per_page | INT | 20 | NULL | NULL | | task_items_per_page | INT | 20 | NULL | NULL | | simpleTimesheetLayout | TEXT | NULL | NULL | small work description field | | useLDAP | INT | 0 | NULL | NULL | | LDAPurl | TEXT | NULL | NULL | ldap://watson:389 | | LDAPBaseDN | TEXT | NULL | NULL | dc=watson | | LDAPUsernameAttribute | TEXT | NULL | NULL | cn | | LDAPSearchScope | TEXT | NULL | NULL | base | | LDAPFilter | TEXT | NULL | NULL | | | LDAPProtocolVersion | TEXT | NULL | NULL | 3 | | LDAPBindUsername | TEXT | NULL | NULL | | | LDAPBindPassword | TEXT | NULL | NULL | | | LDAPReferrals | INT | 0 | NULL | NULL | | LDAPFallback | INT | 0 | NULL | NULL | +------------------------+------+------+-------+------------------------------+ Oh, you can also see above, I've replaced several of the old LDAP items with an LDAPurl item instead... -Scott On Thu, Feb 10, 2011 at 5:42 PM, Scott Miller <sco...@gm...> wrote: Good to hear about the HTML stuff in the database now being ignored, and moving to some sort of template system; I think that will be much nicer than having that stuff in the database. I would certainly be interested in reading what peter has... There are many suggested improvements that are impossible without having per user configuration options. Things like having each user able to create a default set of time entries per week, eventually allowing the user to set their own timezone (once we can store times as UTC). Once we have this ability a whole myriad of new possibilities are opened up to further improve the user experience. Peter Lazarus, are you still working on improving the "managment approval" area? -Scott ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Tsheetx-developers mailing list Tsh...@li... https://lists.sourceforge.net/lists/listinfo/tsheetx-developers |
From: Scott M. <sco...@gm...> - 2011-02-10 18:00:42
|
Oh, sorry, I didn't answer what the new config stuff would look like: rather than having each configuration item have it's own column in the database, I'm making the table generic, so we can easily add whatever we want to the configuration table. So it currently looks like this: columns are: name | type | INT | FLOAT | TEXT INT and FLOAT are their namesake types, name is varchar(35), type is an enum ('INT','FLOAT','TEXT') defaulting to text, and TEXT is of type MEDIUMTEXT (which was done to make sure there was enough space for the HTML entities, which with your work, would mean we could probably safely make that of type TEXT instead) An example select from the database looks like this: mysql> select * from tstrunk_new_config where name not like "HTML%"; +------------------------+------+------+-------+------------------------------+ | name | type | INT | FLOAT | TEXT | +------------------------+------+------+-------+------------------------------+ | version | TEXT | NULL | NULL | 1.6.0 | | locale | TEXT | NULL | NULL | | | timezone | TEXT | NULL | NULL | US/Central | | timeformat | INT | 12 | NULL | NULL | | weekstartday | INT | 1 | NULL | NULL | | startPage | TEXT | NULL | NULL | monthly | | project_items_per_page | INT | 20 | NULL | NULL | | task_items_per_page | INT | 20 | NULL | NULL | | simpleTimesheetLayout | TEXT | NULL | NULL | small work description field | | useLDAP | INT | 0 | NULL | NULL | | LDAPurl | TEXT | NULL | NULL | ldap://watson:389 | | LDAPBaseDN | TEXT | NULL | NULL | dc=watson | | LDAPUsernameAttribute | TEXT | NULL | NULL | cn | | LDAPSearchScope | TEXT | NULL | NULL | base | | LDAPFilter | TEXT | NULL | NULL | | | LDAPProtocolVersion | TEXT | NULL | NULL | 3 | | LDAPBindUsername | TEXT | NULL | NULL | | | LDAPBindPassword | TEXT | NULL | NULL | | | LDAPReferrals | INT | 0 | NULL | NULL | | LDAPFallback | INT | 0 | NULL | NULL | +------------------------+------+------+-------+------------------------------+ Oh, you can also see above, I've replaced several of the old LDAP items with an LDAPurl item instead... -Scott On Thu, Feb 10, 2011 at 5:42 PM, Scott Miller <sco...@gm...>wrote: > Good to hear about the HTML stuff in the database now being ignored, and > moving to some sort of template system; I think that will be much nicer than > having that stuff in the database. I would certainly be interested in > reading what peter has... > > There are many suggested improvements that are impossible without having > per user configuration options. Things like having each user able to create > a default set of time entries per week, eventually allowing the user to set > their own timezone (once we can store times as UTC). Once we have this > ability a whole myriad of new possibilities are opened up to further improve > the user experience. > > Peter Lazarus, are you still working on improving the "managment approval" > area? > > -Scott > > > On Thu, Feb 10, 2011 at 4:23 PM, Mark Wrightson <ma...@rw...>wrote: > >> Hi Scott, >> >> Myself and Peter have been very busy over the last couple of months >> working on cleaning up the entire codebase, making it much more Object >> Orientated cleaning up XHTML errors and css-ifying everything to make it >> more skinnable and manageable. Please look at our txsheet-2.0-demo to see >> what we have been upto. Unfortunately both myself and Peter have been quite >> busy lately so nothing has changed since about 10th Jan. There is still a >> fair bit to go on our side before it would be classed as 'stable'. >> >> On my list of things to do are: >> a) update the way the menu is built changing the structure to be more >> like: http://www.scm-uk.com >> b) improve the authorisation/authentication mechanisms to make it more >> versatile but i need to recompile php with ldap before >> I can do this. ( can anyone help here) >> >> Since peter and I started back in Novemeber nothing has been changed in >> the trunk as far as I know which as it stands makes it very convenient for >> merging our changes once our changes have been approved. So far we have >> left all database tables alone however we have stopped using the html >> header, footer, etc from the config files in favour of a template / theme >> style method. >> >> Peter has a nice list of all the changes we have made so maybe now is the >> time to ask him to email it out to everyone? >> I should stress that while we have made quite a lot of changes in our >> branch about 90+% of the codebase remains unchanged. >> It is mainly structural upgrades that we have been making. >> >> May I ask what changes you are planning to the config table and what you >> mean by user configuration items? >> >> All the best >> Mark Wrightson >> >> _____________________________________________ >> >> Mob: 07725 695178 >> Email: ma...@rw... >> >> >> On 10/02/2011 16:04, Scott Miller wrote: >> >> Hey everyone, >> >> So, I've nearly dropped off the face of the earth over the past several >> months with regards to this project, but I'm recently back working on fixing >> the configuration table, which, in my opinion, is a horrible mess. My goal, >> once the new configuration table is working well, is to also create a >> similar structure that can be used for per user configuration items. In a >> day and a half, I've managed to get a large chunk of that work done. >> >> So, who is actively working on improving which parts of the system at the >> moment? >> >> Mark Wrightson, are you still working on improving the code base? >> Is anyone working on internationalization (ability to do translations to >> other languages)? >> >> -Scott >> >> >> ------------------------------------------------------------------------------ >> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: >> Pinpoint memory and threading errors before they happen. >> Find and fix more than 250 security defects in the development cycle. >> Locate bottlenecks in serial and parallel code that limit performance.http://p.sf.net/sfu/intel-dev2devfeb >> >> >> _______________________________________________ >> Tsheetx-developers mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/tsheetx-developers >> >> >> >> ------------------------------------------------------------------------------ >> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: >> Pinpoint memory and threading errors before they happen. >> Find and fix more than 250 security defects in the development cycle. >> Locate bottlenecks in serial and parallel code that limit performance. >> http://p.sf.net/sfu/intel-dev2devfeb >> _______________________________________________ >> Tsheetx-developers mailing list >> Tsh...@li... >> https://lists.sourceforge.net/lists/listinfo/tsheetx-developers >> >> > |
From: Scott M. <sco...@gm...> - 2011-02-10 17:42:13
|
Good to hear about the HTML stuff in the database now being ignored, and moving to some sort of template system; I think that will be much nicer than having that stuff in the database. I would certainly be interested in reading what peter has... There are many suggested improvements that are impossible without having per user configuration options. Things like having each user able to create a default set of time entries per week, eventually allowing the user to set their own timezone (once we can store times as UTC). Once we have this ability a whole myriad of new possibilities are opened up to further improve the user experience. Peter Lazarus, are you still working on improving the "managment approval" area? -Scott On Thu, Feb 10, 2011 at 4:23 PM, Mark Wrightson <ma...@rw...>wrote: > Hi Scott, > > Myself and Peter have been very busy over the last couple of months working > on cleaning up the entire codebase, making it much more Object Orientated > cleaning up XHTML errors and css-ifying everything to make it more skinnable > and manageable. Please look at our txsheet-2.0-demo to see what we have > been upto. Unfortunately both myself and Peter have been quite busy lately > so nothing has changed since about 10th Jan. There is still a fair bit to > go on our side before it would be classed as 'stable'. > > On my list of things to do are: > a) update the way the menu is built changing the structure to be more like: > http://www.scm-uk.com > b) improve the authorisation/authentication mechanisms to make it more > versatile but i need to recompile php with ldap before > I can do this. ( can anyone help here) > > Since peter and I started back in Novemeber nothing has been changed in the > trunk as far as I know which as it stands makes it very convenient for > merging our changes once our changes have been approved. So far we have > left all database tables alone however we have stopped using the html > header, footer, etc from the config files in favour of a template / theme > style method. > > Peter has a nice list of all the changes we have made so maybe now is the > time to ask him to email it out to everyone? > I should stress that while we have made quite a lot of changes in our > branch about 90+% of the codebase remains unchanged. > It is mainly structural upgrades that we have been making. > > May I ask what changes you are planning to the config table and what you > mean by user configuration items? > > All the best > Mark Wrightson > > _____________________________________________ > > Mob: 07725 695178 > Email: ma...@rw... > > > On 10/02/2011 16:04, Scott Miller wrote: > > Hey everyone, > > So, I've nearly dropped off the face of the earth over the past several > months with regards to this project, but I'm recently back working on fixing > the configuration table, which, in my opinion, is a horrible mess. My goal, > once the new configuration table is working well, is to also create a > similar structure that can be used for per user configuration items. In a > day and a half, I've managed to get a large chunk of that work done. > > So, who is actively working on improving which parts of the system at the > moment? > > Mark Wrightson, are you still working on improving the code base? > Is anyone working on internationalization (ability to do translations to > other languages)? > > -Scott > > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance.http://p.sf.net/sfu/intel-dev2devfeb > > > _______________________________________________ > Tsheetx-developers mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/tsheetx-developers > > > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Tsheetx-developers mailing list > Tsh...@li... > https://lists.sourceforge.net/lists/listinfo/tsheetx-developers > > |
From: Mark W. <ma...@rw...> - 2011-02-10 16:58:09
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body text="#000000" bgcolor="#ffffff"> Hi Scott, <br> <br> Myself and Peter have been very busy over the last couple of months working on cleaning up the entire codebase, making it much more Object Orientated cleaning up XHTML errors and css-ifying everything to make it more skinnable and manageable. Please look at our txsheet-2.0-demo to see what we have been upto. Unfortunately both myself and Peter have been quite busy lately so nothing has changed since about 10th Jan. There is still a fair bit to go on our side before it would be classed as 'stable'.<br> <br> On my list of things to do are: <br> a) update the way the menu is built changing the structure to be more like: <a class="moz-txt-link-freetext" href="http://www.scm-uk.com">http://www.scm-uk.com</a><br> b) improve the authorisation/authentication mechanisms to make it more versatile but i need to recompile php with ldap before<br> I can do this. ( can anyone help here)<br> <br> Since peter and I started back in Novemeber nothing has been changed in the trunk as far as I know which as it stands makes it very convenient for merging our changes once our changes have been approved. So far we have left all database tables alone however we have stopped using the html header, footer, etc from the config files in favour of a template / theme style method.<br> <br> Peter has a nice list of all the changes we have made so maybe now is the time to ask him to email it out to everyone?<br> I should stress that while we have made quite a lot of changes in our branch about 90+% of the codebase remains unchanged.<br> It is mainly structural upgrades that we have been making.<br> <br> May I ask what changes you are planning to the config table and what you mean by user configuration items?<br> <br> All the best<br> Mark Wrightson<br> <pre class="moz-signature" cols="72">_____________________________________________ Mob: 07725 695178 Email: <a class="moz-txt-link-abbreviated" href="mailto:ma...@rw...">ma...@rw...</a></pre> <br> On 10/02/2011 16:04, Scott Miller wrote: <blockquote cite="mid:AANLkTimoVrL7-EJcDDdU=Hn2...@ma..." type="cite">Hey everyone,<br> <br> So, I've nearly dropped off the face of the earth over the past several months with regards to this project, but I'm recently back working on fixing the configuration table, which, in my opinion, is a horrible mess. My goal, once the new configuration table is working well, is to also create a similar structure that can be used for per user configuration items. In a day and a half, I've managed to get a large chunk of that work done.<br> <br> So, who is actively working on improving which parts of the system at the moment?<br> <br> Mark Wrightson, are you still working on improving the code base?<br> Is anyone working on internationalization (ability to do translations to other languages)?<br> <br> -Scott<br> <pre wrap=""> <fieldset class="mimeAttachmentHeader"></fieldset> ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. <a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/intel-dev2devfeb">http://p.sf.net/sfu/intel-dev2devfeb</a></pre> <pre wrap=""> <fieldset class="mimeAttachmentHeader"></fieldset> _______________________________________________ Tsheetx-developers mailing list <a class="moz-txt-link-abbreviated" href="mailto:Tsh...@li...">Tsh...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/tsheetx-developers">https://lists.sourceforge.net/lists/listinfo/tsheetx-developers</a> </pre> </blockquote> </body> </html> |
From: Scott M. <sco...@gm...> - 2011-02-10 16:04:55
|
Hey everyone, So, I've nearly dropped off the face of the earth over the past several months with regards to this project, but I'm recently back working on fixing the configuration table, which, in my opinion, is a horrible mess. My goal, once the new configuration table is working well, is to also create a similar structure that can be used for per user configuration items. In a day and a half, I've managed to get a large chunk of that work done. So, who is actively working on improving which parts of the system at the moment? Mark Wrightson, are you still working on improving the code base? Is anyone working on internationalization (ability to do translations to other languages)? -Scott |
From: paul c. <pdc...@bl...> - 2010-11-16 08:33:45
|
One of the uses I have for timesheet is logging on call call-outs . Functionally , the time period from 5pm to 9am the next morning is considered as one ' night on call ' and a night 'on call' includes from 5pm to 9am the next morning, So if times were automatically split at midnight, id just put them back together again . The additional complication for me is that a different rate is paid between 7pm and 7am . Is an alterntive to store the timezone with the user config ?. If a user moves timezone then the 'clone user ' can create a duplicate , and then its just a matter of identifiying the users by TZ ( eg PC(GMT) and PC(CET) ) I think its worth keeping start/end times and duration in the DB. It keeps things flexible for the future , at very little overhead and it would make putting times back together easy for me ( ie Id just use start time and duration) . On 16/11/10 07:13, David Thompson wrote: > Peter, today there are actually no reports that show any start or end > times at all, only durations are shown. That said, an attendance > report has been requested more than once. > > Scott, my aim with adding durations was to make the DB queries easier, > not harder. But you are right about the problem of date boundaries, I > think in the original project this was seen as a super feature - but > this does make all the querying harder. > > So I guess we need to start by clean data entry, for example > converting to UTC, and splitting tasks entered when they cross a (UTC) > date boundary. And the user profile then needs to hold his timezone. > > But, as an idea, we could also record the local timezone/DST every > time a time is entered. It might be useful for reporting later, in > particular when a user changes timezone. Bad idea? Good idea? Waste of > time? > > Dave > |
From: David T. <tom...@us...> - 2010-11-16 07:13:26
|
Peter, today there are actually no reports that show any start or end times at all, only durations are shown. That said, an attendance report has been requested more than once. Scott, my aim with adding durations was to make the DB queries easier, not harder. But you are right about the problem of date boundaries, I think in the original project this was seen as a super feature - but this does make all the querying harder. So I guess we need to start by clean data entry, for example converting to UTC, and splitting tasks entered when they cross a (UTC) date boundary. And the user profile then needs to hold his timezone. But, as an idea, we could also record the local timezone/DST every time a time is entered. It might be useful for reporting later, in particular when a user changes timezone. Bad idea? Good idea? Waste of time? Dave Date: Tue, 16 Nov 2010 12:36:29 +1100 From: pal...@gm... To: tsh...@li... Subject: Re: [Tsheetx-developers] Feedback on branches/txsheet-2.0-demo My two cents worth: I agree we store UTC in a neutral way in the database. I also think we use mysql functions that don't do conversions for current timezone. For the display of times in TSNG we use only PHP functions. That means each user needs a timezone indicator. When individual users enter times for his local timezone, those times will be converted to UTC into the database. And when an individual user displays his times, again, they're again in his timezone. Now when times for multiple users are displayed in one report, how should that be handled? Should times be converted to the timezone of the user displaying the report? Should times be converted to each individual user's timezone and displayed? Scott is suggesting below that for reports the times should be left as is, meaning in UTC. I dunno about that. I guess I would have to do a mock-up and see how it looked. I also like the idea of removing the individual time entries crossing date boundaries. I will have a look at that problem and post some comments. Peter On 16/11/10 09:26, Scott Miller wrote: Yes, however removing end times makes it much more difficult to collect a blocks of times from the database. But, if we also make the change to not allow individual time entries to cross date boundaries, then that problem goes away and we can eliminate end times completely. This would certainly be fine with me… -Scott |
From: Scott M. <Sco...@pr...> - 2010-11-15 22:26:23
|
Yes, however removing end times makes it much more difficult to collect a blocks of times from the database. But, if we also make the change to not allow individual time entries to cross date boundaries, then that problem goes away and we can eliminate end times completely. This would certainly be fine with me... -Scott ________________________________ From: David Thompson [mailto:tom...@us...] Sent: Monday, November 15, 2010 3:45 PM To: tsh...@li... Subject: Re: [Tsheetx-developers] Feedback on branches/txsheet-2.0-demo Scott, I think you're right, we want to just store UTC in a neutral way in the DB, but I want to remove end-times, we introduced duration to replace these. Dave ________________________________ Date: Mon, 15 Nov 2010 15:39:32 +0000 From: sco...@gm... To: tsh...@li... Subject: Re: [Tsheetx-developers] Feedback on branches/txsheet-2.0-demo With changes as large as this, perhaps this would be a good place to add the needed date/time storage change to the database? Currently TSNG can not handle functioning across different timezones other to simply ignore that other timezone's exist. To handle things correctly, here's what needs to happen: 1. start/end times need to be stored using unix timestamps, I suggest using 64 bit fields in the database so that when the timestamps begin to use 64 bits, we won't have to touch the database. 2. the times stored need to be stored in UTC format, each user could then locate themselves in a timezone, and PHP should be able to convert their times to UTC time and back. 3. when data is pulled out of the databases, conversions to local time should be performed for entry forms, but probably not for reports. That's all that's needed for the system to be able to work correctly, but the issue of user configurations needs to be tackled too. And let's not forget about the elephant in the room, writing the script that converts the existing time/date data into this new format; this may seem like a relatively trivial task, but I believe there are some very tricky issues to overcome: DST, the possibility that some worker's are in different time zones within the same database, I'm sure there are others. #1 above eliminates the issues that can be caused by the database system attempting to "help us" by doing time/date manipulations before handing PHP the data. #2 and #3 allows TSNG the ability to function correctly across different timezones Looking forward to seeing your work Mark! BTW, within a branch such as this, feel free to break things, that's what a branch is for :-) As for compatibility, as long as we can migrate the database from the current system to the new one, you don't need to worry about compatibility. -Scott |
From: David T. <tom...@us...> - 2010-11-15 21:45:31
|
Scott, I think you're right, we want to just store UTC in a neutral way in the DB, but I want to remove end-times, we introduced duration to replace these. Dave Date: Mon, 15 Nov 2010 15:39:32 +0000 From: sco...@gm... To: tsh...@li... Subject: Re: [Tsheetx-developers] Feedback on branches/txsheet-2.0-demo With changes as large as this, perhaps this would be a good place to add the needed date/time storage change to the database? Currently TSNG can not handle functioning across different timezones other to simply ignore that other timezone's exist. To handle things correctly, here's what needs to happen: 1. start/end times need to be stored using unix timestamps, I suggest using 64 bit fields in the database so that when the timestamps begin to use 64 bits, we won't have to touch the database. 2. the times stored need to be stored in UTC format, each user could then locate themselves in a timezone, and PHP should be able to convert their times to UTC time and back. 3. when data is pulled out of the databases, conversions to local time should be performed for entry forms, but probably not for reports. That's all that's needed for the system to be able to work correctly, but the issue of user configurations needs to be tackled too. And let's not forget about the elephant in the room, writing the script that converts the existing time/date data into this new format; this may seem like a relatively trivial task, but I believe there are some very tricky issues to overcome: DST, the possibility that some worker's are in different time zones within the same database, I'm sure there are others. #1 above eliminates the issues that can be caused by the database system attempting to "help us" by doing time/date manipulations before handing PHP the data. #2 and #3 allows TSNG the ability to function correctly across different timezones Looking forward to seeing your work Mark! BTW, within a branch such as this, feel free to break things, that's what a branch is for :-) As for compatibility, as long as we can migrate the database from the current system to the new one, you don't need to worry about compatibility. -Scott |
From: Scott M. <Sco...@pr...> - 2010-11-15 17:10:15
|
This would be fine, I can work in that same branch, as those changes shouldn't impact what you're doing... -Scott ________________________________ From: Mark Wrightson [mailto:ma...@rw...] Sent: Monday, November 15, 2010 10:32 AM To: tsh...@li... Subject: Re: [Tsheetx-developers] Feedback on branches/txsheet-2.0-demo Hi Scott, I don't see any reason why updates like this can't be done aswell in the same branch. The changes that i am currently implementing in the branch actually change very little of the core code to the timesheet application so the updates could be done in parallel. Although the changes may seem quite vast most of the changes are pretty minimalistic. i.e. changing get_duration() to Common::getDuration() I think I'll leave you in charge of the database manipulations and i'll leave the entire db as is. I'll concentrate on improving code structure. :) Mark _____________________________________________ Mob: 07725 695178 Email: ma...@rw... On 15/11/2010 15:39, Scott Miller wrote: With changes as large as this, perhaps this would be a good place to add the needed date/time storage change to the database? Currently TSNG can not handle functioning across different timezones other to simply ignore that other timezone's exist. To handle things correctly, here's what needs to happen: 1. start/end times need to be stored using unix timestamps, I suggest using 64 bit fields in the database so that when the timestamps begin to use 64 bits, we won't have to touch the database. 2. the times stored need to be stored in UTC format, each user could then locate themselves in a timezone, and PHP should be able to convert their times to UTC time and back. 3. when data is pulled out of the databases, conversions to local time should be performed for entry forms, but probably not for reports. That's all that's needed for the system to be able to work correctly, but the issue of user configurations needs to be tackled too. And let's not forget about the elephant in the room, writing the script that converts the existing time/date data into this new format; this may seem like a relatively trivial task, but I believe there are some very tricky issues to overcome: DST, the possibility that some worker's are in different time zones within the same database, I'm sure there are others. #1 above eliminates the issues that can be caused by the database system attempting to "help us" by doing time/date manipulations before handing PHP the data. #2 and #3 allows TSNG the ability to function correctly across different timezones Looking forward to seeing your work Mark! BTW, within a branch such as this, feel free to break things, that's what a branch is for :-) As for compatibility, as long as we can migrate the database from the current system to the new one, you don't need to worry about compatibility. -Scott On Mon, Nov 15, 2010 at 10:11 AM, David Thompson <tom...@us...> wrote: More feedback: > I am interested to hear you feedback. At the moment I am really trying to make changes > in such a way that nothing is broken and the old version and the new version can co-exist > whilst people slowly migrate each page to a more integrated system. > I think you're overestimating the need to stay compatible (and working) at each stage. As far as I know, only Peter Lazarus is doing and changes in parallel, so it's "only" one person who will get bugs that are not his. > I saw mentions of a total rewrite somewhere but maybe a more progressive rewrite (this as a starting point for example) may be more suitable > - thus allowing development of new features such as Peter's approval process whilst page restructuring is also going on. > That would be Rob. Great plans, right ideas, just too little time to do it. Once your proposals get going, then I guess we can ditch the current tsheetx-2.0 branch. His priorities were the database abstraction and good use of MVC. You haven't mentioned any DB changes yet? > As a plan what do you think to: > > 1. move towards a templating style using the system suggested > 2. split the core elements into subfolders to give further structure. > 3. cleanup the html errors and start looking at ways to improve the > code structure of the core of the site? Go for it. Cheers. ------------------------------------------------------------------------ ------ Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev _______________________________________________ Tsheetx-developers mailing list Tsh...@li... https://lists.sourceforge.net/lists/listinfo/tsheetx-developers ------------------------------------------------------------------------ ------ Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev _______________________________________________ Tsheetx-developers mailing list Tsh...@li... https://lists.sourceforge.net/lists/listinfo/tsheetx-developers |
From: Mark W. <ma...@rw...> - 2010-11-15 16:32:19
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body text="#000000" bgcolor="#ffffff"> Hi Scott, <br> <br> I don't see any reason why updates like this can't be done aswell in the same branch. The changes that i am currently implementing in the branch actually change very little of the core code to the timesheet application so the updates could be done in parallel. Although the changes may seem quite vast most of the changes are pretty minimalistic. i.e. changing get_duration() to Common::getDuration()<br> <br> I think I'll leave you in charge of the database manipulations and i'll leave the entire db as is. I'll concentrate on improving code structure. :)<br> <br> Mark<br> <pre class="moz-signature" cols="72">_____________________________________________ Mob: 07725 695178 Email: <a class="moz-txt-link-abbreviated" href="mailto:ma...@rw...">ma...@rw...</a></pre> <br> On 15/11/2010 15:39, Scott Miller wrote: <blockquote cite="mid:AAN...@ma..." type="cite">With changes as large as this, perhaps this would be a good place to add the needed date/time storage change to the database? <br> <br> Currently TSNG can not handle functioning across different timezones other to simply ignore that other timezone's exist. To handle things correctly, here's what needs to happen:<br> <br> 1. start/end times need to be stored using unix timestamps, I suggest using 64 bit fields in the database so that when the timestamps begin to use 64 bits, we won't have to touch the database.<br> 2. the times stored need to be stored in UTC format, each user could then locate themselves in a timezone, and PHP should be able to convert their times to UTC time and back.<br> 3. when data is pulled out of the databases, conversions to local time should be performed for entry forms, but probably not for reports.<br> <br> That's all that's needed for the system to be able to work correctly, but the issue of user configurations needs to be tackled too. And let's not forget about the elephant in the room, writing the script that converts the existing time/date data into this new format; this may seem like a relatively trivial task, but I believe there are some very tricky issues to overcome: DST, the possibility that some worker's are in different time zones within the same database, I'm sure there are others.<br> <br> #1 above eliminates the issues that can be caused by the database system attempting to "help us" by doing time/date manipulations before handing PHP the data.<br> #2 and #3 allows TSNG the ability to function correctly across different timezones<br> <br> Looking forward to seeing your work Mark!<br> BTW, within a branch such as this, feel free to break things, that's what a branch is for :-)<br> As for compatibility, as long as we can migrate the database from the current system to the new one, you don't need to worry about compatibility. <br> <br> -Scott<br> <br> <div class="gmail_quote">On Mon, Nov 15, 2010 at 10:11 AM, David Thompson <span dir="ltr"><<a moz-do-not-send="true" href="mailto:tom...@us...">tom...@us...</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> <div> More feedback: <div class="im"><br> <br> > I am interested to hear you feedback. At the moment I am really trying to make changes<br> > in such a way that nothing is broken and the old version and the new version can co-exist<br> > whilst people slowly migrate each page to a more integrated system.<br> > <br> </div> I think you're overestimating the need to stay compatible (and working) at each stage. As far as I know, only Peter Lazarus is doing and changes in parallel, so it's "only" one person who will get bugs that are not his. <div class="im"> <br> <br> > I saw mentions of a total rewrite somewhere but maybe a more progressive rewrite (this as a starting point for example) may be more suitable <br> > - thus allowing development of new features such as Peter's approval process whilst page restructuring is also going on.<br> > <br> </div> That would be Rob. Great plans, right ideas, just too little time to do it. Once your proposals get going, then I guess we can ditch the current tsheetx-2.0 branch. His priorities were the database abstraction and good use of MVC. You haven't mentioned any DB changes yet? <div class="im"> <br> <br> > As a plan what do you think to:<br> > <br> > 1. move towards a templating style using the system suggested <br> > 2. split the core elements into subfolders to give further structure.<br> > 3. cleanup the html errors and start looking at ways to improve the<br> > code structure of the core of the site?<br> <br> </div> Go for it. <br> Cheers.<br> </div> <br> ------------------------------------------------------------------------------<br> Centralized Desktop Delivery: Dell and VMware Reference Architecture<br> Simplifying enterprise desktop deployment and management using<br> Dell EqualLogic storage and VMware View: A highly scalable, end-to-end<br> client virtualization framework. Read more!<br> <a moz-do-not-send="true" href="http://p.sf.net/sfu/dell-eql-dev2dev" target="_blank">http://p.sf.net/sfu/dell-eql-dev2dev</a><br> _______________________________________________<br> Tsheetx-developers mailing list<br> <a moz-do-not-send="true" href="mailto:Tsh...@li...">Tsh...@li...</a><br> <a moz-do-not-send="true" href="https://lists.sourceforge.net/lists/listinfo/tsheetx-developers" target="_blank">https://lists.sourceforge.net/lists/listinfo/tsheetx-developers</a><br> <br> </blockquote> </div> <br> <pre wrap=""> <fieldset class="mimeAttachmentHeader"></fieldset> ------------------------------------------------------------------------------ Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! <a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/dell-eql-dev2dev">http://p.sf.net/sfu/dell-eql-dev2dev</a></pre> <pre wrap=""> <fieldset class="mimeAttachmentHeader"></fieldset> _______________________________________________ Tsheetx-developers mailing list <a class="moz-txt-link-abbreviated" href="mailto:Tsh...@li...">Tsh...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/tsheetx-developers">https://lists.sourceforge.net/lists/listinfo/tsheetx-developers</a> </pre> </blockquote> </body> </html> |
From: Scott M. <sco...@gm...> - 2010-11-15 15:39:39
|
With changes as large as this, perhaps this would be a good place to add the needed date/time storage change to the database? Currently TSNG can not handle functioning across different timezones other to simply ignore that other timezone's exist. To handle things correctly, here's what needs to happen: 1. start/end times need to be stored using unix timestamps, I suggest using 64 bit fields in the database so that when the timestamps begin to use 64 bits, we won't have to touch the database. 2. the times stored need to be stored in UTC format, each user could then locate themselves in a timezone, and PHP should be able to convert their times to UTC time and back. 3. when data is pulled out of the databases, conversions to local time should be performed for entry forms, but probably not for reports. That's all that's needed for the system to be able to work correctly, but the issue of user configurations needs to be tackled too. And let's not forget about the elephant in the room, writing the script that converts the existing time/date data into this new format; this may seem like a relatively trivial task, but I believe there are some very tricky issues to overcome: DST, the possibility that some worker's are in different time zones within the same database, I'm sure there are others. #1 above eliminates the issues that can be caused by the database system attempting to "help us" by doing time/date manipulations before handing PHP the data. #2 and #3 allows TSNG the ability to function correctly across different timezones Looking forward to seeing your work Mark! BTW, within a branch such as this, feel free to break things, that's what a branch is for :-) As for compatibility, as long as we can migrate the database from the current system to the new one, you don't need to worry about compatibility. -Scott On Mon, Nov 15, 2010 at 10:11 AM, David Thompson < tom...@us...> wrote: > More feedback: > > > > I am interested to hear you feedback. At the moment I am really trying > to make changes > > in such a way that nothing is broken and the old version and the new > version can co-exist > > whilst people slowly migrate each page to a more integrated system. > > > I think you're overestimating the need to stay compatible (and working) at > each stage. As far as I know, only Peter Lazarus is doing and changes in > parallel, so it's "only" one person who will get bugs that are not his. > > > > I saw mentions of a total rewrite somewhere but maybe a more progressive > rewrite (this as a starting point for example) may be more suitable > > - thus allowing development of new features such as Peter's approval > process whilst page restructuring is also going on. > > > That would be Rob. Great plans, right ideas, just too little time to do it. > Once your proposals get going, then I guess we can ditch the current > tsheetx-2.0 branch. His priorities were the database abstraction and good > use of MVC. You haven't mentioned any DB changes yet? > > > > As a plan what do you think to: > > > > 1. move towards a templating style using the system suggested > > 2. split the core elements into subfolders to give further structure. > > 3. cleanup the html errors and start looking at ways to improve the > > code structure of the core of the site? > > Go for it. > Cheers. > > > ------------------------------------------------------------------------------ > Centralized Desktop Delivery: Dell and VMware Reference Architecture > Simplifying enterprise desktop deployment and management using > Dell EqualLogic storage and VMware View: A highly scalable, end-to-end > client virtualization framework. Read more! > http://p.sf.net/sfu/dell-eql-dev2dev > _______________________________________________ > Tsheetx-developers mailing list > Tsh...@li... > https://lists.sourceforge.net/lists/listinfo/tsheetx-developers > > |
From: David T. <tom...@us...> - 2010-11-15 10:12:15
|
More feedback: > I am interested to hear you feedback. At the moment I am really trying to make changes > in such a way that nothing is broken and the old version and the new version can co-exist > whilst people slowly migrate each page to a more integrated system. > I think you're overestimating the need to stay compatible (and working) at each stage. As far as I know, only Peter Lazarus is doing and changes in parallel, so it's "only" one person who will get bugs that are not his. > I saw mentions of a total rewrite somewhere but maybe a more progressive rewrite (this as a starting point for example) may be more suitable > - thus allowing development of new features such as Peter's approval process whilst page restructuring is also going on. > That would be Rob. Great plans, right ideas, just too little time to do it. Once your proposals get going, then I guess we can ditch the current tsheetx-2.0 branch. His priorities were the database abstraction and good use of MVC. You haven't mentioned any DB changes yet? > As a plan what do you think to: > > 1. move towards a templating style using the system suggested > 2. split the core elements into subfolders to give further structure. > 3. cleanup the html errors and start looking at ways to improve the > code structure of the core of the site? Go for it. Cheers. |