You can subscribe to this list here.
2001 |
Jan
|
Feb
(1) |
Mar
(265) |
Apr
(166) |
May
(25) |
Jun
(17) |
Jul
(20) |
Aug
(47) |
Sep
(6) |
Oct
(14) |
Nov
(66) |
Dec
(64) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(109) |
Feb
(64) |
Mar
(34) |
Apr
(23) |
May
(64) |
Jun
(9) |
Jul
(13) |
Aug
(6) |
Sep
(33) |
Oct
(272) |
Nov
(67) |
Dec
(75) |
2003 |
Jan
(264) |
Feb
(244) |
Mar
(171) |
Apr
(119) |
May
(54) |
Jun
(93) |
Jul
(51) |
Aug
(48) |
Sep
(14) |
Oct
(49) |
Nov
(47) |
Dec
(15) |
2004 |
Jan
(13) |
Feb
(27) |
Mar
(18) |
Apr
(44) |
May
(35) |
Jun
(24) |
Jul
(39) |
Aug
(142) |
Sep
(35) |
Oct
(34) |
Nov
(49) |
Dec
(24) |
2005 |
Jan
(60) |
Feb
(71) |
Mar
(19) |
Apr
(27) |
May
(68) |
Jun
(4) |
Jul
(30) |
Aug
(10) |
Sep
(23) |
Oct
(24) |
Nov
(13) |
Dec
(6) |
2006 |
Jan
(4) |
Feb
(46) |
Mar
(64) |
Apr
(18) |
May
(16) |
Jun
(37) |
Jul
(7) |
Aug
(19) |
Sep
(9) |
Oct
(8) |
Nov
(3) |
Dec
(23) |
2007 |
Jan
(25) |
Feb
(21) |
Mar
(32) |
Apr
(36) |
May
(12) |
Jun
(1) |
Jul
(7) |
Aug
(15) |
Sep
(13) |
Oct
(1) |
Nov
|
Dec
|
2008 |
Jan
(3) |
Feb
(5) |
Mar
(1) |
Apr
(2) |
May
|
Jun
(1) |
Jul
(2) |
Aug
(7) |
Sep
|
Oct
(5) |
Nov
(1) |
Dec
|
2009 |
Jan
(7) |
Feb
(1) |
Mar
|
Apr
|
May
(1) |
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(3) |
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
From: Don S. <do...@se...> - 2002-10-22 13:23:56
|
So the modules use the core's sqlInsert function for their own database transactions? Don. On Tue, 22 Oct 2002, Matthew McNaney wrote: > I forgot to mention. You will need the core_sequence table. > > Should install on setup. I have NOT removed the PEAR sequence from the > setup yet so you will get the _seq tables. I will remove them when > approved. > > Matt > > > Matthew McNaney > Internet Systems Architect > Electronic Student Services > Email: ma...@tu... > URL: http://phpwebsite.appstate.edu > Phone: 828-262-6493 > ICQ: 141057403 > > > > > ------------------------------------------------------- > This sf.net emial is sponsored by: Influence the future of > Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) > program now. http://ad.doubleclick.net/clk;4699841;7576301;v? > http://www.sun.com/javavote > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > |
From: Matthew M. <ma...@tu...> - 2002-10-22 12:35:37
|
I forgot to mention. You will need the core_sequence table. Should install on setup. I have NOT removed the PEAR sequence from the setup yet so you will get the _seq tables. I will remove them when approved. Matt Matthew McNaney Internet Systems Architect Electronic Student Services Email: ma...@tu... URL: http://phpwebsite.appstate.edu Phone: 828-262-6493 ICQ: 141057403 |
From: Matthew M. <ma...@tu...> - 2002-10-22 12:30:57
|
I rewrote the sqlInsert function this morning. Here is how it works: When sqlInsert is requested, the insert table and the core_sequence table are locked. getSequence is called. It returns the next id of that table. The table gets its insertion with the new ID. If successful, the sequence table is updated. Notes: getSequence pulls the max id from the core. The core sequence numbers are not populated until the first insert is called. Deleting a row does not effect the sequence. Inserting a row outside of sqlInsert will not effect the sequencing. It makes sure that it is the highest number. If the insert fails, the sequence is not updated. The incrementing is invisible: you don't have to indicate the column to increment any more. I am going to commit the current version. It works with the exact same parameters. I do want to change the parameters around however and remove the idColumn row (it is no longer used) after approval by everyone. Thanks, Matthew McNaney Internet Systems Architect Electronic Student Services Email: ma...@tu... URL: http://phpwebsite.appstate.edu Phone: 828-262-6493 |
From: Adam M. <ad...@tu...> - 2002-10-21 21:40:50
|
I'm with the single table idea for all sequence numbers. This way we can have one select on init that loads all sequence numbers into a session array. Then on inserts we only have to update the core_sequencer table instead of select AND update it (thinking of reducing database accesses). Also, with all the sequence numbers in the core table, we can get rid of the current _seq tables getting our table total back down to around 23 :) (organizational +). Another plus? A quick re-write of the sqlmaxid function can simply return the id in the sessioned sequence array (less database action=good...there may be more functions that can take advantage). We can continue to rely on the pear package, we just need to try and get the best of all worlds. Adam --------------------------------- Adam Morton Developer - Web Technology Group Appalachian State University http://phpwebsite.appstate.edu |
From: Eloi G. <el...@re...> - 2002-10-21 21:15:29
|
> Hmmm. There might be a way around this. > > Say we create our OWN sequencer. > > table : core_sequencer > ----------------- > column : table_name > column : primary_key_name > column : current_id Gotta give a -1 on this one. While it is a really elegant solution to the table spawn problem, it becomes a bottleneck when your site breaks into the mainstream. It's one thing when you have 20 queries + 5 inserts per second on various tables in your database. But if each of those inserts also requires a table lock on the core_sequencer, the entire site will get bogged down really fast. I know I'm coming in too late in the game, but it'd be great if phpWS didn't try to support every db in the known world. That way there wouldn't be a bunch of middle-layer generalized db access protocols to slow everything down. |
From: Don S. <do...@se...> - 2002-10-21 19:33:47
|
Although for what it's worth, my vote is still just to use the PEAR sequencer. It is a "standard" of sorts. Do modules go through the core sqlInsert function for their database transactions? Don. On Mon, 21 Oct 2002, Don Seiler wrote: > I like this better than just selecting the max ID from the table and > incrementing. > > I'm assuming you lock the sequencer table while incrementing? If so is > there any chance of creating dead-locks on multiple inserts? > > Don. > > On Mon, 21 Oct 2002, Matthew McNaney wrote: > > > > > > I would like to tak a closer look at the implemetation of this. It > > > looks like it's creating an extra table just to calculate the next > > > sequence number. Do you really want this since it could effectively > > > double the amount of tables in the database? > > > > Hmmm. There might be a way around this. > > > > Say we create our OWN sequencer. > > > > table : core_sequencer > > ----------------- > > column : table_name > > column : primary_key_name > > column : current_id > > > > When sqlImport calls "create table" with a primary key then the table name > > and key are inserted into the sequencer. > > > > Then when sqlInsert is called the table name is selected. The column name > > and current id are returned and the id is incremented. > > > > This could effectively make sqlInsert a little easier. > > > > $core->sqlInsert($data_array, "table_name", TRUE); > > > > The TRUE telling sqlInsert to increment. It would already know WHAT to > > increment from the sequencer table. So you could even have: > > > > $core->sqlInsert($data_array, "table_name"); > > > > With an automatic check to the sequencer table, effectively returning us > > to the original format... that we had... 90 commits ago... ;-) > > > > Let me know what you guys think... > > > > Matthew McNaney > > Internet Systems Architect > > Electronic Student Services > > Email: ma...@tu... > > URL: http://phpwebsite.appstate.edu > > Phone: 828-262-6493 > > > > > > > > > > ------------------------------------------------------- > > This sf.net emial is sponsored by: Influence the future of > > Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) > > program now. http://ad.doubleclick.net/clk;4699841;7576298;k? > > http://www.sun.com/javavote > > _______________________________________________ > > Phpwebsite-developers mailing list > > Php...@li... > > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > > > > > > ------------------------------------------------------- > This sf.net emial is sponsored by: Influence the future of > Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) > program now. http://ad.doubleclick.net/clk;4699841;7576298;k? > http://www.sun.com/javavote > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > |
From: Don S. <do...@se...> - 2002-10-21 19:28:32
|
I like this better than just selecting the max ID from the table and incrementing. I'm assuming you lock the sequencer table while incrementing? If so is there any chance of creating dead-locks on multiple inserts? Don. On Mon, 21 Oct 2002, Matthew McNaney wrote: > > > I would like to tak a closer look at the implemetation of this. It > > looks like it's creating an extra table just to calculate the next > > sequence number. Do you really want this since it could effectively > > double the amount of tables in the database? > > Hmmm. There might be a way around this. > > Say we create our OWN sequencer. > > table : core_sequencer > ----------------- > column : table_name > column : primary_key_name > column : current_id > > When sqlImport calls "create table" with a primary key then the table name > and key are inserted into the sequencer. > > Then when sqlInsert is called the table name is selected. The column name > and current id are returned and the id is incremented. > > This could effectively make sqlInsert a little easier. > > $core->sqlInsert($data_array, "table_name", TRUE); > > The TRUE telling sqlInsert to increment. It would already know WHAT to > increment from the sequencer table. So you could even have: > > $core->sqlInsert($data_array, "table_name"); > > With an automatic check to the sequencer table, effectively returning us > to the original format... that we had... 90 commits ago... ;-) > > Let me know what you guys think... > > Matthew McNaney > Internet Systems Architect > Electronic Student Services > Email: ma...@tu... > URL: http://phpwebsite.appstate.edu > Phone: 828-262-6493 > > > > > ------------------------------------------------------- > This sf.net emial is sponsored by: Influence the future of > Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) > program now. http://ad.doubleclick.net/clk;4699841;7576298;k? > http://www.sun.com/javavote > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > |
From: Matthew M. <ma...@tu...> - 2002-10-21 19:18:50
|
> I would like to tak a closer look at the implemetation of this. It > looks like it's creating an extra table just to calculate the next > sequence number. Do you really want this since it could effectively > double the amount of tables in the database? Hmmm. There might be a way around this. Say we create our OWN sequencer. table : core_sequencer ----------------- column : table_name column : primary_key_name column : current_id When sqlImport calls "create table" with a primary key then the table name and key are inserted into the sequencer. Then when sqlInsert is called the table name is selected. The column name and current id are returned and the id is incremented. This could effectively make sqlInsert a little easier. $core->sqlInsert($data_array, "table_name", TRUE); The TRUE telling sqlInsert to increment. It would already know WHAT to increment from the sequencer table. So you could even have: $core->sqlInsert($data_array, "table_name"); With an automatic check to the sequencer table, effectively returning us to the original format... that we had... 90 commits ago... ;-) Let me know what you guys think... Matthew McNaney Internet Systems Architect Electronic Student Services Email: ma...@tu... URL: http://phpwebsite.appstate.edu Phone: 828-262-6493 |
From: Don S. <do...@se...> - 2002-10-21 19:01:47
|
Yes it does create a table for each seq, and so it would create a table for every table that uses sequences. I don't know if every table uses sequences, but to play devil's advocate let's say they do. As far as database space, the sequence tables are just one int field. I don't think that size would really be a concern. If your concern is more organizational, I guess there's not much one can do to take advantage of the PEAR system. Personally I don't mind having the table created. I'm sure the PEAR folks took a long, hard look at this as well. They had to make a number of compromises in the name of database abstraction, obviously. I don't think this is that much of a concern. Of course I'm just a fan. Don. On Mon, 21 Oct 2002, Adam Morton wrote: > I would like to tak a closer look at the implemetation of this. It looks > like it's creating an extra table just to calculate the next sequence > number. Do you really want this since it could effectively double the > amount of tables in the database? > > Adam > > > +1 from me on sqlInsert() with idColumn, returnMaxId, and table name as > > sequence name. > > > > Adam > > > >> Probably not. I wasn't aware that PEAR changed the name behind the > >> scenes. So just using $table_name in the php code should work great. > >> > >> Thanks for the heads-up. > >> > >> Don. > >> > >> On Mon, 21 Oct 2002, Matthew McNaney wrote: > >> > >>> > >>> > I'm wondering if using the table_name as the sequence name will > >>> work > >>> on all db systems. I don't know explicitly if it won't work, but > >>> could there be a possibility of naming collisions? > >>> > > >>> > Perhaps using "seq_$table_name" would suit? > >>> > >>> I just noticed that PEAR saves the sequence tables as > >>> sequenceName_seq > >>> > >>> So prefixing creates: > >>> > >>> seq_sequenceName_seq > >>> > >>> > >>> Do we still want the prefix? > >>> > >>> Matt > >>> > >>> > >>> > >>> > >>> ------------------------------------------------------- > >>> This sf.net email is sponsored by:ThinkGeek > >>> Welcome to geek heaven. > >>> http://thinkgeek.com/sf > >>> _______________________________________________ > >>> Phpwebsite-developers mailing list > >>> Php...@li... > >>> https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > >>> > >> > >> > >> > >> ------------------------------------------------------- > >> This sf.net email is sponsored by:ThinkGeek > >> Welcome to geek heaven. > >> http://thinkgeek.com/sf > >> _______________________________________________ > >> Phpwebsite-developers mailing list > >> Php...@li... > >> https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > > > > > > --------------------------------- > > Adam Morton > > Developer - Web Technology Group > > Appalachian State University > > http://phpwebsite.appstate.edu > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Phpwebsite-developers mailing list > > Php...@li... > > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > > > --------------------------------- > Adam Morton > Developer - Web Technology Group > Appalachian State University > http://phpwebsite.appstate.edu > > > > > ------------------------------------------------------- > This sf.net emial is sponsored by: Influence the future of > Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) > program now. http://ad.doubleclick.net/clk;4699841;7576298;k? > http://www.sun.com/javavote > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > |
From: Adam M. <ad...@tu...> - 2002-10-21 18:50:57
|
I would like to tak a closer look at the implemetation of this. It looks like it's creating an extra table just to calculate the next sequence number. Do you really want this since it could effectively double the amount of tables in the database? Adam > +1 from me on sqlInsert() with idColumn, returnMaxId, and table name as > sequence name. > > Adam > >> Probably not. I wasn't aware that PEAR changed the name behind the >> scenes. So just using $table_name in the php code should work great. >> >> Thanks for the heads-up. >> >> Don. >> >> On Mon, 21 Oct 2002, Matthew McNaney wrote: >> >>> >>> > I'm wondering if using the table_name as the sequence name will >>> work >>> on all db systems. I don't know explicitly if it won't work, but >>> could there be a possibility of naming collisions? >>> > >>> > Perhaps using "seq_$table_name" would suit? >>> >>> I just noticed that PEAR saves the sequence tables as >>> sequenceName_seq >>> >>> So prefixing creates: >>> >>> seq_sequenceName_seq >>> >>> >>> Do we still want the prefix? >>> >>> Matt >>> >>> >>> >>> >>> ------------------------------------------------------- >>> This sf.net email is sponsored by:ThinkGeek >>> Welcome to geek heaven. >>> http://thinkgeek.com/sf >>> _______________________________________________ >>> Phpwebsite-developers mailing list >>> Php...@li... >>> https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers >>> >> >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by:ThinkGeek >> Welcome to geek heaven. >> http://thinkgeek.com/sf >> _______________________________________________ >> Phpwebsite-developers mailing list >> Php...@li... >> https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > > > --------------------------------- > Adam Morton > Developer - Web Technology Group > Appalachian State University > http://phpwebsite.appstate.edu > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers --------------------------------- Adam Morton Developer - Web Technology Group Appalachian State University http://phpwebsite.appstate.edu |
From: Matthew M. <ma...@tu...> - 2002-10-21 17:43:51
|
Good plan +1 here > I propose that for each module we have a lang directory. As it works > now all the language files are put into the setup directory. Once there > are many translations then this directory will end be cluttered with > language and setup files. I think seperating out the language files > would make things more organized. > > Please Vote! > > -- > Steven Levin > Electronic Student Services > Appalachian State University > Phone: 828.262.2431 > PhpWebsite Development Team > URL: http://phpwebsite.appstate.edu > Email: st...@NO... > > > > > ------------------------------------------------------- > This sf.net emial is sponsored by: Influence the future of > Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) > program now. http://ad.doubleclick.net/clk;4699841;7576298;k? > http://www.sun.com/javavote > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers Matthew McNaney Internet Systems Architect Electronic Student Services Email: ma...@tu... URL: http://phpwebsite.appstate.edu Phone: 828-262-6493 ICQ: 141057403 |
From: Adam M. <ad...@tu...> - 2002-10-21 17:41:35
|
+1 here > I propose that for each module we have a lang directory. As it works > now all the language files are put into the setup directory. Once there > are many translations then this directory will end be cluttered with > language and setup files. I think seperating out the language files > would make things more organized. > > Please Vote! > > -- > Steven Levin > Electronic Student Services > Appalachian State University > Phone: 828.262.2431 > PhpWebsite Development Team > URL: http://phpwebsite.appstate.edu > Email: st...@NO... > > > > > ------------------------------------------------------- > This sf.net emial is sponsored by: Influence the future of > Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) > program now. http://ad.doubleclick.net/clk;4699841;7576298;k? > http://www.sun.com/javavote > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers --------------------------------- Adam Morton Developer - Web Technology Group Appalachian State University http://phpwebsite.appstate.edu |
From: Steven L. <st...@tu...> - 2002-10-21 17:31:42
|
I propose that for each module we have a lang directory. As it works now all the language files are put into the setup directory. Once there are many translations then this directory will end be cluttered with language and setup files. I think seperating out the language files would make things more organized. Please Vote! -- Steven Levin Electronic Student Services Appalachian State University Phone: 828.262.2431 PhpWebsite Development Team URL: http://phpwebsite.appstate.edu Email: st...@NO... |
From: Steven L. <st...@tu...> - 2002-10-21 17:24:45
|
Doh... lol This is going to blow menuman out of the water. Hopefully it will not be too much of a problem to fix :) +1 though, it is good this stuff is being taken care of now. > Ok the install will work now. sqlImport creates a sequence table for > every table created with a primary id field. > > As each of you are converting your modules please be aware of some > things. > > Remove the auto_increments from your CREATE statements. Make sure the id > column is set as a primary key that is unsigned. > > Make sure you are not locking your tables before inserting if you want > to auto_increment. The PEAR sequencer does this automatically and your > lock will conflict. Use the returnId parameter if you need the last > column id. > > When you install, boost will not translate some statements. I am looking > in to that. > > Matthew McNaney > Internet Systems Architect > Electronic Student Services > Email: ma...@tu... > URL: http://phpwebsite.appstate.edu > Phone: 828-262-6493 > ICQ: 141057403 > > > > > ------------------------------------------------------- > This sf.net emial is sponsored by: Influence the future of > Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) > program now. http://ad.doubleclick.net/clk;4699841;7576298;k? > http://www.sun.com/javavote > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers -- Steven Levin Electronic Student Services Appalachian State University Phone: 828.262.2431 PhpWebsite Development Team URL: http://phpwebsite.appstate.edu Email: st...@NO... |
From: Don S. <do...@se...> - 2002-10-21 17:02:57
|
Rock. Don. On Mon, 21 Oct 2002, Matthew McNaney wrote: > Ok the install will work now. sqlImport creates a sequence table for every > table created with a primary id field. > > As each of you are converting your modules please be aware of some things. > > Remove the auto_increments from your CREATE statements. Make sure the id > column is set as a primary key that is unsigned. > > Make sure you are not locking your tables before inserting if you want to > auto_increment. The PEAR sequencer does this automatically and your lock > will conflict. Use the returnId parameter if you need the last column id. > > When you install, boost will not translate some statements. I am looking > in to that. > > Matthew McNaney > Internet Systems Architect > Electronic Student Services > Email: ma...@tu... > URL: http://phpwebsite.appstate.edu > Phone: 828-262-6493 > ICQ: 141057403 > > > > > ------------------------------------------------------- > This sf.net emial is sponsored by: Influence the future of > Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) > program now. http://ad.doubleclick.net/clk;4699841;7576298;k? > http://www.sun.com/javavote > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > |
From: Matthew M. <ma...@tu...> - 2002-10-21 16:58:44
|
Ok the install will work now. sqlImport creates a sequence table for every table created with a primary id field. As each of you are converting your modules please be aware of some things. Remove the auto_increments from your CREATE statements. Make sure the id column is set as a primary key that is unsigned. Make sure you are not locking your tables before inserting if you want to auto_increment. The PEAR sequencer does this automatically and your lock will conflict. Use the returnId parameter if you need the last column id. When you install, boost will not translate some statements. I am looking in to that. Matthew McNaney Internet Systems Architect Electronic Student Services Email: ma...@tu... URL: http://phpwebsite.appstate.edu Phone: 828-262-6493 ICQ: 141057403 |
From: Adam M. <ad...@tu...> - 2002-10-21 15:56:03
|
> $myTemp["text1"] = $_SESSION["translate"]->it("Welcome to my website"); > $myTemp["text2"] = $_SESSION["translate"]->it("Blah Blah"); I think the above method would work for translations in templates. If all non-HTML output in a template was in tags then everything could be translated. Again it does depend on the module writer to take advantage. Adam --------------------------------- Adam Morton Developer - Web Technology Group Appalachian State University http://phpwebsite.appstate.edu |
From: Adam M. <ad...@tu...> - 2002-10-21 15:53:05
|
+1 from me on sqlInsert() with idColumn, returnMaxId, and table name as sequence name. Adam > Probably not. I wasn't aware that PEAR changed the name behind the > scenes. So just using $table_name in the php code should work great. > > Thanks for the heads-up. > > Don. > > On Mon, 21 Oct 2002, Matthew McNaney wrote: > >> >> > I'm wondering if using the table_name as the sequence name will work >> on all db systems. I don't know explicitly if it won't work, but >> could there be a possibility of naming collisions? >> > >> > Perhaps using "seq_$table_name" would suit? >> >> I just noticed that PEAR saves the sequence tables as >> sequenceName_seq >> >> So prefixing creates: >> >> seq_sequenceName_seq >> >> >> Do we still want the prefix? >> >> Matt >> >> >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by:ThinkGeek >> Welcome to geek heaven. >> http://thinkgeek.com/sf >> _______________________________________________ >> Phpwebsite-developers mailing list >> Php...@li... >> https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers >> > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers --------------------------------- Adam Morton Developer - Web Technology Group Appalachian State University http://phpwebsite.appstate.edu |
From: Matthew M. <ma...@tu...> - 2002-10-21 15:24:51
|
I have updated the core installation files to the new auto increment format. However, I have hit a snag in the sqlImport function as it blindly queries the commands it is sent. So while I work on sqlImport creating a sequence on the CREATE query, installation will NOT work. More to come... Matthew McNaney Internet Systems Architect Electronic Student Services Email: ma...@tu... URL: http://phpwebsite.appstate.edu Phone: 828-262-6493 ICQ: 141057403 |
From: Don S. <do...@se...> - 2002-10-21 14:55:13
|
Probably not. I wasn't aware that PEAR changed the name behind the scenes. So just using $table_name in the php code should work great. Thanks for the heads-up. Don. On Mon, 21 Oct 2002, Matthew McNaney wrote: > > > I'm wondering if using the table_name as the sequence name will work on > > all db systems. I don't know explicitly if it won't work, but could > > there be a possibility of naming collisions? > > > > Perhaps using "seq_$table_name" would suit? > > I just noticed that PEAR saves the sequence tables as > sequenceName_seq > > So prefixing creates: > > seq_sequenceName_seq > > > Do we still want the prefix? > > Matt > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > |
From: Matthew M. <ma...@tu...> - 2002-10-21 14:50:07
|
> I'm wondering if using the table_name as the sequence name will work on > all db systems. I don't know explicitly if it won't work, but could > there be a possibility of naming collisions? > > Perhaps using "seq_$table_name" would suit? I just noticed that PEAR saves the sequence tables as sequenceName_seq So prefixing creates: seq_sequenceName_seq Do we still want the prefix? Matt |
From: Steven L. <st...@tu...> - 2002-10-21 14:31:26
|
Well I think in this case they would just have to provide another translation in the language module. >> If someone wants it to say >> something else, they can either go make a translation or just remove >> the template tag from the template and add their text to the template. > > That's what I was thinking but if people are running a multiple language > site, they may complain that they are stuck with the text hardcoded in > the template. > > I suppose it is up to the module developer. > > > Matthew McNaney > Internet Systems Architect > Electronic Student Services > Email: ma...@tu... > URL: http://phpwebsite.appstate.edu > Phone: 828-262-6493 > ICQ: 141057403 > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers -- Steven Levin Electronic Student Services Appalachian State University Phone: 828.262.2431 PhpWebsite Development Team URL: http://phpwebsite.appstate.edu Email: st...@NO... |
From: Matthew M. <ma...@tu...> - 2002-10-21 14:22:45
|
> If someone wants it to say > something else, they can either go make a translation or just remove the > template tag from the template and add their text to the template. That's what I was thinking but if people are running a multiple language site, they may complain that they are stuck with the text hardcoded in the template. I suppose it is up to the module developer. Matthew McNaney Internet Systems Architect Electronic Student Services Email: ma...@tu... URL: http://phpwebsite.appstate.edu Phone: 828-262-6493 ICQ: 141057403 |
From: Matthew M. <ma...@tu...> - 2002-10-21 14:18:39
|
I'll +1 on both the parameter naming and seq prefixing. Matt > I'm wondering if using the table_name as the sequence name will work on > all db systems. I don't know explicitly if it won't work, but could > there be a possibility of naming collisions? > > Perhaps using "seq_$table_name" would suit? > > Just playing devil's advocate ... |
From: Don S. <do...@se...> - 2002-10-21 14:01:40
|
I'm wondering if using the table_name as the sequence name will work on all db systems. I don't know explicitly if it won't work, but could there be a possibility of naming collisions? Perhaps using "seq_$table_name" would suit? Just playing devil's advocate ... Don. On Mon, 21 Oct 2002, Matthew McNaney wrote: > Here is the CVS link: > http://res1.stddev.appstate.edu/horde/chora/co.php/phpws_core/core/Database.php?r=1.25&Horde=cd378aebc4cbdedfdfd10c2df9052480 > > > Matthew McNaney > Internet Systems Architect > Electronic Student Services > Email: ma...@tu... > URL: http://phpwebsite.appstate.edu > Phone: 828-262-6493 > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > |