Thread: [Blogcfc-develop] First Zip
Brought to you by:
cfjedimaster
|
From: Raymond C. <jed...@mi...> - 2003-08-11 13:06:51
Attachments:
blog.zip
|
Ok folks, I'm a bit too rushed to investigate the CVS interface, so to make things easier, I'm just sending a zip. Remember, this is not a new feature package, just a 'clean up' package. Changes include: 1) Path changes. The client, cfc, and install crap are all in separate folders. 2) Cleaner DB code: Except for two places, there is no SQL Server specific code. The goal is to make the Blog work ok in most, but not all DBs. The db specific code that remains is date specific. I'm going to switch from datePart/diff calls to the use of "where date > X and date < X" type syntax. Anyone know how portable that is? 3) Migration Script. There is a migration script in the install folder. It worked ok for me, but has not been heavily tested. 4) There was a bug where I used "id" in a cfc method and it matched a url var, so now ALL arguments use "arguments." in cfc methods. 5) The old article editor didn't have a way to add a new category. There is now a way to do so. Rough order of what I'll do next: a) Change the db specific code and see if I can get Access/SQL Server both running out of the box. b) Add "More" support. This is a super easy thing to add. c) Purely for my enjoyment, support for <code>. What will <code> do? Any entry that has a <code></code> block in it will... Automatically color the code using the coloredcode custom tag. Automatically escape < and > So this means you can do <code> <cfset x = now()> </code> In a blog entry and won't need to worry about escaping the <> in code. It will be done for you by the client. d) And then of course we need to begin the real work of getting N blog support/N user/etc. ======================================================================== === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc (www.mindseye.com) Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) Email : jed...@mi... Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda |
|
From: Ben F. <bf...@ma...> - 2003-08-11 13:21:44
|
<code></code> is what I am using in my text for now, that'll work well for me. Will you allow multiple code blocks? How do you intend to support "more ..."? I'd add an optional argument to methods that return entries with a max entry length, if 0 (default) then return all. -----Original Message----- From: blo...@li... [mailto:blo...@li...] On Behalf Of Raymond Camden Sent: Monday, August 11, 2003 9:07 AM To: blo...@li... Subject: [Blogcfc-develop] First Zip Ok folks, I'm a bit too rushed to investigate the CVS interface, so to make things easier, I'm just sending a zip. Remember, this is not a new feature package, just a 'clean up' package. Changes include: 1) Path changes. The client, cfc, and install crap are all in separate folders. 2) Cleaner DB code: Except for two places, there is no SQL Server specific code. The goal is to make the Blog work ok in most, but not all DBs. The db specific code that remains is date specific. I'm going to switch from datePart/diff calls to the use of "where date > X and date < X" type syntax. Anyone know how portable that is? 3) Migration Script. There is a migration script in the install folder. It worked ok for me, but has not been heavily tested. 4) There was a bug where I used "id" in a cfc method and it matched a url var, so now ALL arguments use "arguments." in cfc methods. 5) The old article editor didn't have a way to add a new category. There is now a way to do so. Rough order of what I'll do next: a) Change the db specific code and see if I can get Access/SQL Server both running out of the box. b) Add "More" support. This is a super easy thing to add. c) Purely for my enjoyment, support for <code>. What will <code> do? Any entry that has a <code></code> block in it will... Automatically color the code using the coloredcode custom tag. Automatically escape < and > So this means you can do <code> <cfset x = now()> </code> In a blog entry and won't need to worry about escaping the <> in code. It will be done for you by the client. d) And then of course we need to begin the real work of getting N blog support/N user/etc. ======================================================================== === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc (www.mindseye.com) Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) Email : jed...@mi... Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda |
|
From: Raymond C. <jed...@mi...> - 2003-08-11 14:32:53
|
> <code></code> is what I am using in my text for now, that'll > work well for me. Will you allow multiple code blocks? Yes, idea is reReplace all <code>.</code> instances. > How do you intend to support "more ..."? I'd add an optional > argument to methods that return entries with a max entry > length, if 0 (default) then return all. Simple. Each entry has 2 blocks, one main body and one extended body. If extendedBody.length() > 0, show a More link on client main. On display, we ONLY show extendedBody if it exists. So, the idea is to use body as an intro which would not be displayed on the entry detail page. Why would I need an optional arg? Why not just return both text blobs? Well, I can say that maybe I shouldn't return extendedBody on getEntries. Maybe just return 1 in a special column if it exists. -ray |
|
From: Ben F. <bf...@ma...> - 2003-08-12 02:33:08
|
Seems simpler to just specify MAXBODYLENGTH="n" and you truncate there and add [more] if there is one. Stopping between a body and an extended body seems rather arbitrary. -----Original Message----- From: blo...@li... [mailto:blo...@li...] On Behalf Of Raymond Camden Sent: Monday, August 11, 2003 9:29 AM To: blo...@li... Subject: RE: [Blogcfc-develop] First Zip > <code></code> is what I am using in my text for now, that'll > work well for me. Will you allow multiple code blocks? Yes, idea is reReplace all <code>.</code> instances. > How do you intend to support "more ..."? I'd add an optional > argument to methods that return entries with a max entry > length, if 0 (default) then return all. Simple. Each entry has 2 blocks, one main body and one extended body. If extendedBody.length() > 0, show a More link on client main. On display, we ONLY show extendedBody if it exists. So, the idea is to use body as an intro which would not be displayed on the entry detail page. Why would I need an optional arg? Why not just return both text blobs? Well, I can say that maybe I shouldn't return extendedBody on getEntries. Maybe just return 1 in a special column if it exists. -ray ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01 /01 _______________________________________________ Blogcfc-develop mailing list Blo...@li... https://lists.sourceforge.net/lists/listinfo/blogcfc-develop |
|
From: Raymond C. <jed...@mi...> - 2003-08-12 02:40:21
|
I strongly disagree with this. To me, I want to know exactly where my 'intro' will end and my main body will start. Also, I may want to have a very short intro because I know the entry will be long and detailed... so why would I need to type in N characters just and have the More link pop up in a bad place? Having 2 form fields means I have more control, and if I don't need the 'extra' info, I just ignore it. ======================================================================== === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc (www.mindseye.com) Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) Email : jed...@mi... Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda > -----Original Message----- > From: blo...@li... > [mailto:blo...@li...] On > Behalf Of Ben Forta > Sent: Monday, August 11, 2003 8:19 PM > To: blo...@li... > Subject: RE: [Blogcfc-develop] First Zip > > > Seems simpler to just specify MAXBODYLENGTH="n" and you > truncate there and add [more] if there is one. Stopping > between a body and an extended body seems rather arbitrary. > > > > -----Original Message----- > From: blo...@li... > [mailto:blo...@li...] On > Behalf Of Raymond Camden > Sent: Monday, August 11, 2003 9:29 AM > To: blo...@li... > Subject: RE: [Blogcfc-develop] First Zip > > > > > <code></code> is what I am using in my text for now, > that'll work well > > for me. Will you allow multiple code blocks? > > Yes, idea is reReplace all <code>.</code> instances. > > > How do you intend to support "more ..."? I'd add an > optional argument > > to methods that return entries with a max entry length, if > 0 (default) > > then return all. > > Simple. Each entry has 2 blocks, one main body and one > extended body. If > extendedBody.length() > 0, show a More link on client main. > On display, we ONLY show extendedBody if it exists. So, the > idea is to use body as an intro which would not be displayed > on the entry detail page. > > Why would I need an optional arg? Why not just return both > text blobs? Well, I can say that maybe I shouldn't return > extendedBody on getEntries. Maybe just return 1 in a special > column if it exists. > > -ray > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites > including Data Reports, E-commerce, Portals, and Forums are > available now. Download today and enter to win an XBOX or > Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet _072303_01 /01 _______________________________________________ Blogcfc-develop mailing list Blo...@li... https://lists.sourceforge.net/lists/listinfo/blogcfc-develop ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01 /01 _______________________________________________ Blogcfc-develop mailing list Blo...@li... https://lists.sourceforge.net/lists/listinfo/blogcfc-develop |
|
From: Ben F. <bf...@ma...> - 2003-08-12 03:03:33
|
That one not just embed a <more/> where you want the more to go? I really don't care for splitting content across columns. --- Ben -----Original Message----- From: blo...@li... [mailto:blo...@li...] On Behalf Of Raymond Camden Sent: Monday, August 11, 2003 10:39 PM To: blo...@li... Subject: RE: [Blogcfc-develop] First Zip I strongly disagree with this. To me, I want to know exactly where my 'intro' will end and my main body will start. Also, I may want to have a very short intro because I know the entry will be long and detailed... so why would I need to type in N characters just and have the More link pop up in a bad place? Having 2 form fields means I have more control, and if I don't need the 'extra' info, I just ignore it. ======================================================================== === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc (www.mindseye.com) Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) Email : jed...@mi... Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda > -----Original Message----- > From: blo...@li... > [mailto:blo...@li...] On > Behalf Of Ben Forta > Sent: Monday, August 11, 2003 8:19 PM > To: blo...@li... > Subject: RE: [Blogcfc-develop] First Zip > > > Seems simpler to just specify MAXBODYLENGTH="n" and you > truncate there and add [more] if there is one. Stopping > between a body and an extended body seems rather arbitrary. > > > > -----Original Message----- > From: blo...@li... > [mailto:blo...@li...] On > Behalf Of Raymond Camden > Sent: Monday, August 11, 2003 9:29 AM > To: blo...@li... > Subject: RE: [Blogcfc-develop] First Zip > > > > > <code></code> is what I am using in my text for now, > that'll work well > > for me. Will you allow multiple code blocks? > > Yes, idea is reReplace all <code>.</code> instances. > > > How do you intend to support "more ..."? I'd add an > optional argument > > to methods that return entries with a max entry length, if > 0 (default) > > then return all. > > Simple. Each entry has 2 blocks, one main body and one > extended body. If > extendedBody.length() > 0, show a More link on client main. > On display, we ONLY show extendedBody if it exists. So, the > idea is to use body as an intro which would not be displayed > on the entry detail page. > > Why would I need an optional arg? Why not just return both > text blobs? Well, I can say that maybe I shouldn't return > extendedBody on getEntries. Maybe just return 1 in a special > column if it exists. > > -ray > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites > including Data Reports, E-commerce, Portals, and Forums are > available now. Download today and enter to win an XBOX or > Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet _072303_01 /01 _______________________________________________ Blogcfc-develop mailing list Blo...@li... https://lists.sourceforge.net/lists/listinfo/blogcfc-develop ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01 /01 _______________________________________________ Blogcfc-develop mailing list Blo...@li... https://lists.sourceforge.net/lists/listinfo/blogcfc-develop ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01 /01 _______________________________________________ Blogcfc-develop mailing list Blo...@li... https://lists.sourceforge.net/lists/listinfo/blogcfc-develop |
|
From: Tim L. <t....@to...> - 2003-08-12 03:33:06
|
Ben, I think you have a different idea to Sean, in that Sean is looking at writing a concise summary of what he has to say, with a 'more' link going to a more detailed entry on the topic. It sounds like you would like the 'more' functionality to display long details (code?) that you didn't want to display on your index page. If I want my index to summarise by blog entries then I would want to write my own concise summaries, rather than to have it as just the first X lines or sentences of my post. - tim ( about the sourceforge list: Sourceforge's list servers have a reputation of being the slowest on the web - I should have hollered earlier) Ben Forta spoke the following wise words on 12/08/2003 12:45 PM EST: >That one not just embed a <more/> where you want the more to go? I >really don't care for splitting content across columns. > >--- Ben > > > >-----Original Message----- >From: blo...@li... >[mailto:blo...@li...] On Behalf Of >Raymond Camden >Sent: Monday, August 11, 2003 10:39 PM >To: blo...@li... >Subject: RE: [Blogcfc-develop] First Zip > > >I strongly disagree with this. To me, I want to know exactly where my >'intro' will end and my main body will start. Also, I may want to have a >very short intro because I know the entry will be long and detailed... >so why would I need to type in N characters just and have the More link >pop up in a bad place? Having 2 form fields means I have more control, >and if I don't need the 'extra' info, I just ignore it. > >======================================================================== >=== >Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc >(www.mindseye.com) >Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) > >Email : jed...@mi... >Blog : www.camdenfamily.com/morpheus/blog >Yahoo IM : morpheus > >"My ally is the Force, and a powerful ally it is." - Yoda > > > >>-----Original Message----- >>From: blo...@li... >>[mailto:blo...@li...] On >>Behalf Of Ben Forta >>Sent: Monday, August 11, 2003 8:19 PM >>To: blo...@li... >>Subject: RE: [Blogcfc-develop] First Zip >> >> >>Seems simpler to just specify MAXBODYLENGTH="n" and you >>truncate there and add [more] if there is one. Stopping >>between a body and an extended body seems rather arbitrary. >> >> >> >>-----Original Message----- >>From: blo...@li... >>[mailto:blo...@li...] On >>Behalf Of Raymond Camden >>Sent: Monday, August 11, 2003 9:29 AM >>To: blo...@li... >>Subject: RE: [Blogcfc-develop] First Zip >> >> >> >> >> >>><code></code> is what I am using in my text for now, >>> >>> >>that'll work well >> >> >>>for me. Will you allow multiple code blocks? >>> >>> >>Yes, idea is reReplace all <code>.</code> instances. >> >> >> >>>How do you intend to support "more ..."? I'd add an >>> >>> >>optional argument >> >> >>>to methods that return entries with a max entry length, if >>> >>> >>0 (default) >> >> >>>then return all. >>> >>> >>Simple. Each entry has 2 blocks, one main body and one >>extended body. If >>extendedBody.length() > 0, show a More link on client main. >>On display, we ONLY show extendedBody if it exists. So, the >>idea is to use body as an intro which would not be displayed >>on the entry detail page. >> >>Why would I need an optional arg? Why not just return both >>text blobs? Well, I can say that maybe I shouldn't return >>extendedBody on getEntries. Maybe just return 1 in a special >>column if it exists. >> >>-ray >> >> >> >>------------------------------------------------------- >>This SF.Net email sponsored by: Free pre-built ASP.NET sites >>including Data Reports, E-commerce, Portals, and Forums are >>available now. Download today and enter to win an XBOX or >>Visual Studio .NET. >>http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet >> >> >_072303_01 >/01 >_______________________________________________ >Blogcfc-develop mailing list Blo...@li... >https://lists.sourceforge.net/lists/listinfo/blogcfc-develop > > > >------------------------------------------------------- >This SF.Net email sponsored by: Free pre-built ASP.NET sites including >Data Reports, E-commerce, Portals, and Forums are available now. >Download today and enter to win an XBOX or Visual Studio .NET. >http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01 >/01 >_______________________________________________ >Blogcfc-develop mailing list Blo...@li... >https://lists.sourceforge.net/lists/listinfo/blogcfc-develop > > > >------------------------------------------------------- >This SF.Net email sponsored by: Free pre-built ASP.NET sites including >Data Reports, E-commerce, Portals, and Forums are available now. >Download today and enter to win an XBOX or Visual Studio .NET. >http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01 >/01 >_______________________________________________ >Blogcfc-develop mailing list Blo...@li... >https://lists.sourceforge.net/lists/listinfo/blogcfc-develop > > > >------------------------------------------------------- >This SF.Net email sponsored by: Free pre-built ASP.NET sites including >Data Reports, E-commerce, Portals, and Forums are available now. >Download today and enter to win an XBOX or Visual Studio .NET. >http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 >_______________________________________________ >Blogcfc-develop mailing list >Blo...@li... >https://lists.sourceforge.net/lists/listinfo/blogcfc-develop > > > > |
|
From: Raymond C. <jed...@mi...> - 2003-08-12 03:41:13
|
By the way folks, one nice thing about CFCs - if you don't like the idea of 2 form fields - you can simply modify the client code to act like Ben wants - in other words, the CFC doesn't need to know that body/extendedBody was created automatically or by choice by the writer. ======================================================================= Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc Member of Team Macromedia Email : jed...@mi... Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda -----Original Message----- From: blo...@li... [mailto:blo...@li...] On Behalf Of Tim Lucas Sent: Monday, August 11, 2003 9:16 PM To: blo...@li... Subject: Re: [Blogcfc-develop] First Zip Ben, I think you have a different idea to Sean, in that Sean is looking at writing a concise summary of what he has to say, with a 'more' link going to a more detailed entry on the topic. It sounds like you would like the 'more' functionality to display long details (code?) that you didn't want to display on your index page. If I want my index to summarise by blog entries then I would want to write my own concise summaries, rather than to have it as just the first X lines or sentences of my post. - tim ( about the sourceforge list: Sourceforge's list servers have a reputation of being the slowest on the web - I should have hollered earlier) Ben Forta spoke the following wise words on 12/08/2003 12:45 PM EST: That one not just embed a <more/> where you want the more to go? I really don't care for splitting content across columns. --- Ben -----Original Message----- From: blo...@li... [mailto:blo...@li...] On Behalf Of Raymond Camden Sent: Monday, August 11, 2003 10:39 PM To: blo...@li... Subject: RE: [Blogcfc-develop] First Zip I strongly disagree with this. To me, I want to know exactly where my 'intro' will end and my main body will start. Also, I may want to have a very short intro because I know the entry will be long and detailed... so why would I need to type in N characters just and have the More link pop up in a bad place? Having 2 form fields means I have more control, and if I don't need the 'extra' info, I just ignore it. ======================================================================== === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc (www.mindseye.com) Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) Email : jed...@mi... Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda -----Original Message----- From: blo...@li... [mailto:blo...@li...] On Behalf Of Ben Forta Sent: Monday, August 11, 2003 8:19 PM To: blo...@li... Subject: RE: [Blogcfc-develop] First Zip Seems simpler to just specify MAXBODYLENGTH="n" and you truncate there and add [more] if there is one. Stopping between a body and an extended body seems rather arbitrary. -----Original Message----- From: blo...@li... [mailto:blo...@li...] On Behalf Of Raymond Camden Sent: Monday, August 11, 2003 9:29 AM To: blo...@li... Subject: RE: [Blogcfc-develop] First Zip <code></code> is what I am using in my text for now, that'll work well for me. Will you allow multiple code blocks? Yes, idea is reReplace all <code>.</code> instances. How do you intend to support "more ..."? I'd add an optional argument to methods that return entries with a max entry length, if 0 (default) then return all. Simple. Each entry has 2 blocks, one main body and one extended body. If extendedBody.length() > 0, show a More link on client main. On display, we ONLY show extendedBody if it exists. So, the idea is to use body as an intro which would not be displayed on the entry detail page. Why would I need an optional arg? Why not just return both text blobs? Well, I can say that maybe I shouldn't return extendedBody on getEntries. Maybe just return 1 in a special column if it exists. -ray ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet _072303_01 /01 _______________________________________________ Blogcfc-develop mailing list Blo...@li... https://lists.sourceforge.net/lists/listinfo/blogcfc-develop ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01 /01 _______________________________________________ Blogcfc-develop mailing list Blo...@li... https://lists.sourceforge.net/lists/listinfo/blogcfc-develop ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01 /01 _______________________________________________ Blogcfc-develop mailing list Blo...@li... https://lists.sourceforge.net/lists/listinfo/blogcfc-develop ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01 /01 _______________________________________________ Blogcfc-develop mailing list Blo...@li... https://lists.sourceforge.net/lists/listinfo/blogcfc-develop |
|
From: Ben F. <bf...@ma...> - 2003-08-12 02:19:59
|
1) Yeah, but you hard coded your name etc. in the path. :-) 2) > and < in dates suck, don't do it. = sucks even more. Dates are the worst when it comes to SQL (especially if you use Oracle). And FWIW, I strongly disagree with you pulling out DB specific stuff, I think you should indeed use your DB and let it do what it does best. Diff DBs? Sounds like a job for a) stored procedures, b) a loadable db library, c) inheritance, d any or all of the above. -----Original Message----- From: blo...@li... [mailto:blo...@li...] On Behalf Of Raymond Camden Sent: Monday, August 11, 2003 9:07 AM To: blo...@li... Subject: [Blogcfc-develop] First Zip Ok folks, I'm a bit too rushed to investigate the CVS interface, so to make things easier, I'm just sending a zip. Remember, this is not a new feature package, just a 'clean up' package. Changes include: 1) Path changes. The client, cfc, and install crap are all in separate folders. 2) Cleaner DB code: Except for two places, there is no SQL Server specific code. The goal is to make the Blog work ok in most, but not all DBs. The db specific code that remains is date specific. I'm going to switch from datePart/diff calls to the use of "where date > X and date < X" type syntax. Anyone know how portable that is? 3) Migration Script. There is a migration script in the install folder. It worked ok for me, but has not been heavily tested. 4) There was a bug where I used "id" in a cfc method and it matched a url var, so now ALL arguments use "arguments." in cfc methods. 5) The old article editor didn't have a way to add a new category. There is now a way to do so. Rough order of what I'll do next: a) Change the db specific code and see if I can get Access/SQL Server both running out of the box. b) Add "More" support. This is a super easy thing to add. c) Purely for my enjoyment, support for <code>. What will <code> do? Any entry that has a <code></code> block in it will... Automatically color the code using the coloredcode custom tag. Automatically escape < and > So this means you can do <code> <cfset x = now()> </code> In a blog entry and won't need to worry about escaping the <> in code. It will be done for you by the client. d) And then of course we need to begin the real work of getting N blog support/N user/etc. ======================================================================== === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc (www.mindseye.com) Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) Email : jed...@mi... Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda |
|
From: Raymond C. <jed...@mi...> - 2003-08-12 02:43:19
|
> 1) Yeah, but you hard coded your name etc. in the path. :-) Well, it's my product... at least till we get it into CFC. Ok, maybe it's an ego thing, but does anyone else mind the camdenfamily in the path? I'll switch it to something else if so. > 2) > and < in dates suck, don't do it. = sucks even more. > Dates are the worst when it comes to SQL (especially if you > use Oracle). And FWIW, I strongly disagree with you pulling > out DB specific stuff, I think you should indeed use your DB > and let it do what it does best. Diff DBs? Sounds like a job > for a) stored procedures, b) a loadable db library, c) > inheritance, d any or all of the above. Anyone else thoughts on this? I could support Access and SQL Server w/o the need for CreateUUID. I'm not sure I agree with Ben here, on the other hand, I never plan on using anything but SQL Server. -ray > > > > -----Original Message----- > From: blo...@li... > [mailto:blo...@li...] On > Behalf Of Raymond Camden > Sent: Monday, August 11, 2003 9:07 AM > To: blo...@li... > Subject: [Blogcfc-develop] First Zip > > > Ok folks, I'm a bit too rushed to investigate the CVS > interface, so to make things easier, I'm just sending a zip. > Remember, this is not a new feature package, just a 'clean > up' package. Changes include: > > 1) Path changes. The client, cfc, and install crap are all in > separate folders. > > 2) Cleaner DB code: > Except for two places, there is no SQL Server specific > code. The goal is to make the Blog work ok in most, but not > all DBs. The db specific code that remains is date specific. > I'm going to switch from datePart/diff calls to the use of > "where date > X and date < X" type syntax. Anyone know how > portable that is? > > 3) Migration Script. There is a migration script in the > install folder. It worked ok for me, but has not been heavily tested. > > 4) There was a bug where I used "id" in a cfc method and it > matched a url var, so now ALL arguments use "arguments." in > cfc methods. > > 5) The old article editor didn't have a way to add a new > category. There is now a way to do so. > > Rough order of what I'll do next: > > a) Change the db specific code and see if I can get > Access/SQL Server both running out of the box. > b) Add "More" support. This is a super easy thing to add. > c) Purely for my enjoyment, support for <code>. What will > <code> do? Any entry that has a <code></code> block in it will... > > Automatically color the code using the coloredcode custom tag. > Automatically escape < and > > > So this means you can do > > <code> > <cfset x = now()> > </code> > > In a blog entry and won't need to worry about escaping the <> > in code. It will be done for you by the client. > > d) And then of course we need to begin the real work of > getting N blog support/N user/etc. > > ============================================================== > ========== > === > Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc > (www.mindseye.com) > Member of Team Macromedia > (http://www.macromedia.com/go/teammacromedia) > > Email : > jed...@mi... > Blog : www.camdenfamily.com/morpheus/blog > Yahoo IM : morpheus > > "My ally is the Force, and a powerful ally it is." - Yoda > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites > including Data Reports, E-commerce, Portals, and Forums are > available now. Download today and enter to win an XBOX or > Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet _072303_01/01 _______________________________________________ Blogcfc-develop mailing list Blo...@li... https://lists.sourceforge.net/lists/listinfo/blogcfc-develop |