30 November, 2015

Links for Study Materials

09 August, 2014

Robort Exclution Protocol

About /robots.txt

In a nutshell

Web site owners use the /robots.txt file to give instructions about their site to web robots; this is calledThe Robots Exclusion Protocol.

It works likes this: a robot wants to vists a Web site URL, say http://www.example.com/welcome.html. Before it does so, it firsts checks for http://www.example.com/robots.txt, and finds:

User-agent: *
Disallow: /

The "User-agent: *" means this section applies to all robots. The "Disallow: /" tells the robot that it should not visit any pages on the site.
There are two important considerations when using /robots.txt:
  • robots can ignore your /robots.txt. Especially malware robots that scan the web for security vulnerabilities, and email address harvesters used by spammers will pay no attention.
  • the /robots.txt file is a publicly available file. Anyone can see what sections of your server you don't want robots to use.
So don't try to use /robots.txt to hide information.

How to create a /robots.txt file

Where to put it

The short answer: in the top-level directory of your web server.
The longer answer:

When a robot looks for the "/robots.txt" file for URL, it strips the path component from the URL (everything from the first single slash), and puts "/robots.txt" in its place.

For example, for "http://www.example.com/shop/index.html, it will remove the "/shop/index.html", and replace it with "/robots.txt", and will end up with "http://www.example.com/robots.txt".

So, as a web site owner you need to put it in the right place on your web server for that resulting URL to work. Usually that is the same place where you put your web site's main "index.html" welcome page. Where exactly that is, and how to put the file there, depends on your web server software.

Remember to use all lower case for the filename: "robots.txt", not "Robots.TXT.

What to put in it

The "/robots.txt" file is a text file, with one or more records. Usually contains a single record looking like this:

User-agent: *
Disallow: /cgi-bin/
Disallow: /tmp/
Disallow: /~joe/

In this example, three directories are excluded.

Note that you need a separate "Disallow" line for every URL prefix you want to exclude -- you cannot say "Disallow: /cgi-bin/ /tmp/" on a single line. Also, you may not have blank lines in a record, as they are used to delimit multiple records.

Note also that globbing and regular expression are not supported in either the User-agent or Disallow lines. The '*' in the User-agent field is a special value meaning "any robot". Specifically, you cannot have lines like "User-agent: *bot*", "Disallow: /tmp/*" or "Disallow: *.gif".

What you want to exclude depends on your server. Everything not explicitly disallowed is considered fair game to retrieve. Here follow some examples:
To exclude all robots from the entire server
User-agent: *
Disallow: /

To allow all robots complete access
User-agent: *
Disallow:

(or just create an empty "/robots.txt" file, or don't use one at all)
To exclude all robots from part of the server
User-agent: *
Disallow: /cgi-bin/
Disallow: /tmp/
Disallow: /junk/
To exclude a single robot
User-agent: BadBot
Disallow: /
To allow a single robot
User-agent: Google
Disallow:

User-agent: *
Disallow: /
To exclude all files except one
This is currently a bit awkward, as there is no "Allow" field. The easy way is to put all files to be disallowed into a separate directory, say "stuff", and leave the one file in the level above this directory:

User-agent: *
Disallow: /~joe/stuff/

Alternatively you can explicitly disallow all disallowed pages:

User-agent: *
Disallow: /~joe/junk.html
Disallow: /~joe/foo.html
Disallow: /~joe/bar.html

15 July, 2014

IMP FULL FORMS:- HELPFUL FOR EXAM

IMP FULL FORMS:- HELPFUL FOR EXAM
 
  1. A.M. — Ante meridian
  2. P.M. — Post meridian
  3. B. A. — Bachelor of Arts
  4. M. A. — Master of Arts
  5. B. Sc. — Bachelor of Science
  6. M. Sc. — Master of Science
  7. B. Sc. Ag. — Bachelor of Science in Agriculture
  8. M. Sc. Ag. — Master of Science in Agriculture
  9. M. B. B. S. — Bachelor of Medicine and Bachelor of Surgery
  10. M. D. — Doctor of Medicine
  11. M. S. — Master of Surgery
  12. Ph. D. / D. Phil. — Doctor of Philosophy (Arts & Science)
  13. D. Litt./Lit. — Doctor of Literature / Doctor of Letters
  14. D. Sc. — Doctor of Science
  15. B. Com. — Bachelor of Commerce
  16. M. Com. — Master of Commerce
  17. Dr. — Doctor
  18. B. P. — Blood Pressure
  19. Mr. — Mister
  20. Mrs. — Mistress
  21. M.S. — miss (used for female married & unmarried)
  22. Miss — used before unmarried girls)
  23. M. P. — Member of Parliament
  24. M. L. A. — Member of Legislative Assembly
  25. M. L. C. — Member of Legislative Council
  26. P. M. — Prime Minister
  27. C. M. — Chief Minister
  28. C-in-C — Commander-In-Chief
  29. L. D. C. — Lower Division Clerk
  30. U. D. C. — Upper Division Clerk
  31. Lt. Gov. — Lieutenant Governor
  32. D. M. — District Magistrate
  33. V. I. P. — Very Important Person
  34. I. T. O. — Income Tax Officer
  35. C. I. D. — Criminal Investigation Department
  36. C/o — Care of
  37. S/o — Son of
  38. C. B. I. — Central Bureau of Investigation
  39. G. P. O. — General Post Office
  40. H. Q. — Head Quarters
  41. E. O. E. — Errors and Omissions Excepted
  42. Kg. — Kilogram
  43. Kw. — Kilowatts
  44. Gm. — Gram
  45. Km. — Kilometer
  46. Ltd. — Limited
  47. M. P. H. — Miles Per Hour
  48. KM. P. H. — Kilometre Per Hour
  49. P. T. O. — Please Turn Over
  50. P. W. D. — Public Works Department
  51. C. P. W. D. — Central Public Works Department
  52. U. S. A. — United States of America
  53. U. K. — United Kingdom (England)
  54. U. P. — Uttar Pradesh
  55. M. P. — Madhya Pradesh
  56. H. P. — Himachal Pradesh
  57. U. N. O. — United Nations Organization
  58. W. H. O. — World Health Organization
  59. B. B. C. — British Broadcasting Corporation
  60. B. C. — Before Christ
  61. A. C. — Air Conditioned
  62. I. G. — Inspector General (of Police)
  63. D. I. G. — Deputy Inspector General (of Police)
  64. S. S. P. — Senior Superintendent of Police
  65. D. S. P. — Deputy Superintendent of Police
  66. S. D. M. — Sub-Divisional Magistrate
  67. S. M. — Station Master
  68. A. S. M. — Assistant Station Master
  69. V. C. — Vice-Chancellor
  70. A. G. — Accountant General
  71. C. R. — Confidential Report
  72. I. A. S. — Indian Administrative Service
  73. I. P. S. — Indian Police Service
  74. I. F. S. — Indian Foreign Service or Indian
  75. Forest Service
  76. I. R. S. — Indian Revenue Service
  77. P. C. S. — Provincial Civil Service
  78. M. E. S. — Military Engineering Service

Software and software engineering



Software and software engineering



=> The Nature of Software
=> Unique Nature of WebApps
=> Software Engineering
=> Software Engineering Practice and Principles


The Nature of Software



ž  Today, software takes on a dual role. It is a product, and at the same time, the vehicle for delivering a product.


ž  As a product it delivers the computing potential embodied by computer hardware or more broadly, by a network of computers that are accessible by local hardware.


ž  As the vehicle used to deliver the product, software acts as the basis for the control of the computer (operating systems), the communication of information( networks), and the creation and control of other programs( software tools and environments)



Software Characteristics



ž  Software is developed or engineered, it is not manufactured in the classical sense.


ž  Software doesn’t “Wear Out”. 


ž  Although the industry is moving toward component-based construction, most software continues to be custom built.





Software Application Domain



ž> System Software 
> Application Software 
> Engineering / Scientific Software 
> Embedded Software 
> Product-line Software 
> Web Applications 
> Artificial Intelligence Software 
> Open-World Computing 
> Net Sourcing 
> Open Source 
> Legacy Software: Developed decades ago. Many systems remain supportive to core business functions but, some may be of poor quality should be broken and does not need to be fixed.





The Unique Nature of WebApps



> Network Intensiveness 
> Concurrency 
> Unpredictable Load 
> Performance 
> Availability 
> Data Driven 
> Content Sensitive 
> Continuous Evolution 
> Immediacy 
> Security 
> Aesthetics (Beauty)



Software Engineering



ž  Definition: The application of a systematic, disciplined, quantified approach to the development, operation and maintenance of software and the study of all these approaches.


ž  Software engineering is a layered technology.


The Software Process


ž  A process is a collection of activities, actions and tasks that are performed when some work product is to be created.


ž  A Generic process framework for software engineering encompasses five activities.


> Communication 
> Planning 
> Modeling 
> Construction 
> Deployment 
> Umbrella Activities: Software Project Tracking and Control, Risk Management, Software Quality Assurance, Technical Reviews, Measurements, Software Configuration Management, Reusability Management, Work Product preparation and Production.



Software Engineering Practice and Principles



>  The Essence of Practice: 
> Understand the Problem (Communication and Analysis) 
> Plan a Solution (Modeling and Software Design) 
> Carry out the plan (Code Generation) 
> Examine the result for accuracy (Testing and Quality Assurance) 
> General Principles: 
> The reason it all exists: (To provide value to its users) 
> KISS (Keep It Simple, Stupid!!!) 
> Maintain the Vision\ 
> What you produce, Others will Consume 
> Be Open to the Future. 
> Plan Ahead for Reuse 
> Think