Does standard insures quality?
If we define Quality Standard is it enough?
Does it really ensures quality things?
I think no,
Defining quality standard and implementing defined quality standard is 2 different phases of one big project. I have seen many good standard for many things. These quality standards defines many points that is necessory for quality product/service/process etc.. But these standards is usually not define way of implementation. Some times it defines but not the best way to implement. I know its not possible becase it varies from seatution to seatution.
Quality standard says things should look like this(like ideal things), But not how to make it as defined in quality standard. Some time some quality standard provides some guidlines to implement standard. But those are just guidelines not more then that. Because implementation varies from seatution to seatution.
Implementing a quality standard is very much important. quality has directly relation with profit. If you increase quality, profit will reduce and if you try to increase profit then quality reduces(assuming rest of parameter are constant for both the case).
So at the time of implement a quality standard there should be some quality checking mechanism that really ensures that quality is really there. Again my observation says implementation of such quality checking process is not defined in standard because implementation is seatution specific.
What do you think?
.netrc for automating ftp client operation
I have for to automate ftp uploading and ftp downloading with .netrc file. In this file we can save username and password to connect to ftp.
As this reside in user’s home directory so no need to worry about security. Just change file permission to -rw——- (600) so it can only read and write by owner.
To save username and password in following format.(following 3 lines)
machine ftp.ftpserver.com
login username
password mycodeword
In above 3 lines machine, login and password are file reserve words.
machine for specifying address of ftp server.
login for specifying username of ftp server.
password for specifying password of ftp server for above username.
In .netrc file you can write multiple entries. But for that just keep a 1 blank line between 2 entries.
Creating macro in .netrc
Macro is another very good feature. Using it many tasks can be automated. In sort we can say this a name give to group of ftp command. So for perticular task you have to write 6-10 commands to performe that task and you are doing that task repeatatively then you write macro.
You can write macro in following way.
macdef macro1
cd /d01/abc/dir1
put abc.txt
put abc.tar.gz
get def.pdf
quit
Here macdef is reserve word for .netrc file for rest of lines are ftp commands with arguments.
macdef is used to define macro so in this above example macro1 is name of newly defined macro. macro1 can be used to execute commad set of command followed by macdef line.
macro can use parameter also
macdef macro2
cd /d01/abc/dir1
put $1.tar.gz
quit
When above macro is called it will take argumen if supplied and 1st argument will be used in script in above example see line put $1.tar.gz $1 is replaced by supplied argument. (See how to call macro with argument below.)
In one .netrc file there can be more than one macro. Rule is same as above that keep a blank line after each macro. (dont forgot to put a blank line after last macro).
Using macro
First way is start normal ftp session from command line. use macro name as command from ftp> prompt.
ftp>macro1
Above will execute ftp command defined under macro1.
You can call in following way also.
root@localhost$ echo “\$ macro1″ | ftp ftp.ftpserver.com
as
root@localhost$ echo “\$ macro2 `date +’%Y%m%d’`” | ftp ftp.ftpserver.com
This will receive a parameater and performe action useing that parameter.
Suggestions:
* Set .netrc file permission to 600 (-rw——-)
* Add a blank line after each macro.
* use -v option with ftp to get more information.
Master Pages ASP.NET 1.1
At last I have found Master Pages implementation for ASP.NET 1.1. Right now I am reviewing it. So at this moment I am not able to share enough.
I have found 2 links:
Creating Template-Driven Web Sites with MasterPages By Scott Mitchell
http://aspnet.4guysfromrolla.com/articles/040704-1.aspx
MasterPages: Improved Version
Author Paul Wilson
http://authors.aspalliance.com/paulwilson/articles/?id=14
Resources of Open Source or Industry Standard Tools for .net development
——————————————————–
www.nunit.org/
http://nunitasp.sourceforge.net
http://nunit2report.sourceforge.net/
Improve the Design and Flexibility of Your Project with Extreme Programming Techniques
http://207.46.196.75/msdnmag/issues/04/04/ExtremeProgramming/default.aspx
http://www.codeproject.com/csharp/unittestmanual.asp
http://www.codeproject.com/dotnet/tdd_in_dotnet.asp
http://www.testdriven.net
JUnit
——————————————————
http://nant.sourceforge.net/
http://nantrunner.sourceforge.net/
Ant is very good apache project for build system.
——————————————————–
FxCop
It is a code analysis tool that checks .NET managed code assemblies for conformance to the Microsoft .NET Framework Design Guidelines. It uses reflection, MSIL parsing, and callgraph analysis to inspect assemblies for more than 200 defects in the following areas:
http://www.gotdotnet.com/team/fxcop/
FxCop, Your .NET Cop By Klaus Salchner
http://aspnet.4guysfromrolla.com/articles/060204-1.aspx
Everyone knows about javadoc.
——————————————————–
http://www.codesmithtools.com/freeware.aspx
xDoclet
xDoclet.sf.net
http://www.csharpfriends.com/demos/csharp_class_generator.aspx?ftd=2
http://www.codegeneration.net/generators-by-language.php?language=3
http://forge.novell.com/modules/xfmod/project/?codegen
http://ncodegen.sourceforge.net/
http://nvelocity.sf.net/
http://jakarta.apache.org/velocity/docs/vtl-reference-guide.html
http://msdn.microsoft.com/msdnmag/issues/03/08/CodeGeneration/
-CVS
——————————————————–
http://www.15seconds.com/issue/040621.htm
http://msdn.microsoft.com/msdnmag/issues/04/07/MustHaveTools/default.aspx
