Fully qualified name explained

In computer programming, a fully qualified name is an unambiguous name that specifies which object, function, or variable a call refers to without regard to the context of the call. In a hierarchical structure, a name is fully qualified when it "is complete in the sense that it includes (a) all names in the hierarchic sequence above the given element and (b) the name of the given element itself."[1]

Programming

Fully qualified names explicitly refer to namespaces that would otherwise be implicit because of the scope of the call.[2] While always done to eliminate ambiguity, this can mean different things dependent on context.

Commonly encountered applications of the notion have been given their own names, such as the fully qualified domain name and the fully qualified file name.

Examples

To distinguish a fully qualified name from a regular name, C++, Tcl, Perl and Ruby use two colons (::), and Java uses dots (.), as does Visual Basic .NET.[3] and C#.[4] In Java, ActionScript,[5] and other object-oriented languages the use of the dot is known as "dot syntax".[6] Other examples include:

Filenames and paths

The term fully qualified file name (or FQFN) means a file on a computer whose exact name is completely specified such that it is unambiguous and cannot be mistaken for any other file on that computer system.[9] It is somewhat equivalent on the Internet to a URL specifying the full name of the computer and the entire name of a particular document as a file. The alternative is an unqualified file name or a partially qualified file name.

Path names

Fully qualified path name (FQPN) is the full path of a resource, directory or file, stored in a computer. It is composed by the full path to the resource and its syntax depends on the operating system. In Unix-like operating systems it is represented in the following form: /root/path-to/file[OR]directory, while in DOS and Microsoft Windows it is represented in the following form: [Drive]:\path-to\file.ext[OR]directory. FQPN is also used in Networking and takes the following form: \root\[[FQDN]]\path-to\file.ext[OR]directory, where /root/ is the root directory, the first or top-most directory in a hierarchy, and, in this case, the rooted tree; FQDN is the fully qualified domain name or node. It is also used in bootstrapping, computer programming and in computer science referencing.

Domain names

See also

References

External links

Notes and References

  1. Book: Weik, Martin H. . Computer Science and Communications Dictionary. Volume 1. 2000. Springer. 978-0-7923-8425-0. 662.
  2. Book: Hejlsberg. Anders. Torgersen. Mads. Wiltamuth. Scott. The C# Programming Language (Covering C# 4.0). 28 October 2011. 29 October 2010. Addison-Wesley Professional. 978-0-13-248172-4. 190.
  3. Book: Vick, Paul . The Visual Basic .NET programming language. 2004. Addison-Wesley Professional. 978-0-321-16951-8. 160.
  4. Web site: C# Tutorial Lesson 06 - Namespaces. C# Station. 2011-10-27. Mayo. Joe. https://web.archive.org/web/20150106045404/http://www.csharp-station.com/Tutorials/Lesson06.aspx. 2015-01-06. dead.
  5. Web site: ActionScript 3 fundamentals: Packages. Adobe Systems Incorporated. 2011-10-27.
  6. Web site: Object Oriented Programming - JavaScript Programming Fundamentals - DHTML. Lanoie.com. 2011-10-27. https://web.archive.org/web/20120425112049/http://www.lanoie.com/classes/DHTML/programming/lectures/lecture2.html. 2012-04-25. dead.
  7. Web site: Using Identifiers As Object Names. msdn.microsoft.com. 2011-10-27.
  8. Web site: mod_perl: Perl Reference. perl.apache.org. 2011-10-23.
  9. Web site: Naming Files, Paths, and Namespaces. msdn.microsoft.com. 2017-06-16.
  10. Book: Kochan. Stephen G.. Wood. Patrick H.. UNIX Shell programming. 28 October 2011. 2003. Sams Publishing. 978-0-672-32490-1. 11.
  11. Book: Lowe , Doug . Networking For Dummies. 28 October 2011. 8 February 2011. For Dummies. 978-1-118-05100-9. 80.