Re: [BangPypers] Can two django projects be made to communicate to each other

2010-12-05 Thread Siddharta G
Your apache config can be something like this SetHandler python-program PythonHandler django_project_1_frontend PythonInterpreter django_project_1 PythonOption django.root /path1 SetEnv DJANGO_SETTINGS_MODULE apps.settings PythonDebug On PythonPath "['C:/Projects/tools

Re: [BangPypers] refactoring

2010-12-05 Thread Siddharta G
Refactoring just means changing the internals without adding/removing functionality. The book is good, but refactoring can be applied in many other contexts too. It has been happening long before the book came out. The big insight in the book is not the refactoring patterns themselves. The big ins

Re: [BangPypers] refactoring

2010-12-05 Thread Anand Balachandran Pillai
On Sun, Dec 5, 2010 at 3:03 PM, Siddharta G wrote: > Refactoring just means changing the internals without adding/removing > functionality. The book is good, but refactoring can be applied in many > other contexts too. It has been happening long before the book came out. > The > big insight in th

Re: [BangPypers] refactoring

2010-12-05 Thread Siddharta G
On Sun, Dec 5, 2010 at 4:07 PM, Anand Balachandran Pillai < abpil...@gmail.com> wrote: > > That is re-architecting or re-designing depending on which side of the > conference table you are - not re-factoring. > > Err... Refactoring _is_ redesigning, that is the whole purpose of refactoring. The

Re: [BangPypers] refactoring

2010-12-05 Thread Anand Balachandran Pillai
On Sun, Dec 5, 2010 at 4:53 PM, Siddharta G wrote: > On Sun, Dec 5, 2010 at 4:07 PM, Anand Balachandran Pillai < > abpil...@gmail.com> wrote: > > > > > That is re-architecting or re-designing depending on which side of the > > conference table you are - not re-factoring. > > > > > Err... Refacto

Re: [BangPypers] refactoring

2010-12-05 Thread steve
I had sent this reply below earlier ...not sure why it didn't go thru' ...anyways, enough has already been said about this, however, since I already wrote this reply below, I thought I might as well make my point ... Hi Santosh, On 12/04/2010 05:36 PM, Santosh Rajan wrote: My 2 cents on this

Re: [BangPypers] refactoring

2010-12-05 Thread Sriram Narayanan
On Sun, Dec 5, 2010 at 11:39 PM, steve wrote: > I had sent this reply below earlier ...not sure why it didn't go thru' > ...anyways, enough has already been said about this, however, since I > already wrote this reply below, I thought I might as well make my point ... > > Hi Santosh, > > On 12/04/

Re: [BangPypers] refactoring

2010-12-05 Thread Sirtaj Singh Kang
[snip] [dubious aside: remember this one? Please note that there is no deeper meaning to be read into the fact that I mistakenly pasted the quote twice. -Taj. ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo

Re: [BangPypers] refactoring

2010-12-05 Thread Sirtaj Singh Kang
On 12/4/2010 5:36 PM, Santosh Rajan wrote [snip] Let us look at software product development, and let us look at all the top open source software development projects like linux, apache, mozilla etc etc. I have not seen refactoring as described by the book used by any of the open source software

Re: [BangPypers] refactoring

2010-12-05 Thread Siddharta G
Nice quote. You hit the main point: Refactoring has always been done. Everyone does it. The book just gives a taxonomy to common refactorings. For what its worth, I think a taxonomy is very important. It is so much easier to communicate a design by saying this is a factory, that object is an obse

Re: [BangPypers] refactoring

2010-12-05 Thread Baishampayan Ghose
> [dubious aside: remember this one? > > There once was a master programmer who wrote unstructured programs. A novice > programmer, seeking to imitate him, also began to write unstructured > programs. When the novice asked the master to evaluate his progress, the > master criticized him for writing

Re: [BangPypers] refactoring

2010-12-05 Thread Sriram Narayanan
I sure hope that we don't dismiss the reading of such books just because "every experienced programmer knows about refactoring". -- Sriram On 12/6/10, Siddharta G wrote: > Nice quote. > > You hit the main point: Refactoring has always been done. Everyone does it. > The book just gives a taxonomy

Re: [BangPypers] refactoring

2010-12-05 Thread Gora Mohanty
On Mon, Dec 6, 2010 at 10:10 AM, Sirtaj Singh Kang wrote: > [snip] >> >> [dubious aside: remember this one? > > Please note that there is no deeper meaning to be read into the fact that I > mistakenly pasted the quote twice. [...] Man, and here was I thinking that you were killing two birds with