Log File

< Back to Home Page

May 22nd 2019

Some Key Terms

XSD

XML Schema (XSD) specifies how to formally describe the elements in an Extensible Markup Language (XML) document—like a key on a map. XSD is almost like an xray of the body. It's not the body alone, but rather the inner-connectivity and structure. You can test the proper hierarchy of the XML nodes. [xsd defines which child should come under which parent, etc, abiding which will be counted as error, etc]. ... You can define Data type of the values of the nodes, e.g. child_two cannot have any-other data than number.

You can also define custom data_types, [example, for node , the possible data can be one of the 12 months. A validation would show error if the input XML contains any other value than those 12 values.

You can also put the restriction on the occurrence of the elements, using 'minOccurs' and 'maxOccurs.' One last thing: XSD is better at catching errors than XML.

XML
XML was designed to describe data. It is agnostic of software as well as hardware. It enhances data sharing, platform sovereignty and increases the availability of data. XML defines the syntax of elements and attributes for structuring data in a succinct document.
XSL
XSL (Extensible Stylesheet Language) is a language for expressing style sheets. An XSL style sheet is, like with CSS, a file that describes how to display an XML document of a given type. XSL shares the functionality and is compatible with CSS2 (although it uses a different syntax).

It consists of three parts: XSL Transformations (XSLT), the XML Path Language (XPATH)—an expression language used by XSLT (and many other languages) to access or refer to parts of an XML document; and XSL Formatting Objects (XSL-FO)—an XML vocabulary for specifying formatting semantics.
XPATH
XPATH is 1 of the 3 parts of expression in XSL, used to define XML document transformation and presentation. It is a query language for selecting nodes from an XML document. In addition, XPATH may be used to compute values from the content of an XML document.

XPATH is a major element in the XSLT standard. It can be used to navigate through elements and attributes in an XML document. XPATH is a syntax for defining parts of an XML document. XPATH uses path expressions to navigate in XML documents. XPATH contains a library of standard functions.
DTD
Document Type Definition (DTD) is a predecessor of XML. It is a document that defines the tagging structure of an SGML or XML document. An application can use a DTD to verify that XML data is valid. E.g.:
  1. !DOCTYPE note defines that the root element of this document is note
  2. !ELEMENT note defines that the note element must contain four elements: "to,from,heading,body"
  3. !ELEMENT to defines the to element to be of type "#PCDATA"
  4. !ELEMENT from defines the from element to be of type "#PCDATA"
  5. !ELEMENT heading defines the heading element to be of type "#PCDATA"
  6. !ELEMENT body defines the body element to be of type "#PCDATA"


Some Questions Answered

A: I'm not sure actually, I looked into this but was unclear what to search exactly. I believe the viewport and viewbox. The viewport is like a window you look through to see an SVG's content. The viewBox is similar to the viewport, but you can also use it to "pan" and "zoom" like a telescope. Control the viewport via width and height parameters on the svg element. Control the viewBox by adding the attribute viewBox to the svg element.

A:A Web service is a software service used to communicate between two devices on a network. More specifically, a Web service is a software application with a standardized way of providing interoperability between disparate applications. It does so over HTTP using technologies such as XML, SOAP, WSDL, and UDDI.

The difference between APIs and web services is that a Web service facilitates interaction between two machines over a network. An API acts as an interface between two different applications so that they can communicate with each other. ... Web service also uses SOAP, REST, and XML-RPC as a means of communication.

A: Indeed Flicker does!

A: First, XML always needs close tags, and has a special syntax for tags that don't need a close tag. In HTML, some tags, such as img are always assumed to be empty and close themselves. Others, like p may close implicitly based on other content. And others, like div always need to have a close tag. In XML (including XHTML), any tag can be made self-closing by putting a slash before the code angle bracket, for example . In HTML that would just be

XML parsers blow up easily if they encounter even the simplest syntax error in an XML document—on purpose. This gives you better odds of generating valid XML, but it also makes it very easy for a trivial error to completely blow up your document.

The one and only thing that controls whether a document is HTML or XHTML is the MIME type. If the document is served with a text/html MIME type, it is treated as HTML. If it is served as application/xhtml+xml or text/xml, it gets treated as XHTML. In particular, none of the following things will cause your document to be treated as XHTML:

  1. Using an XHTML doctype declaration
  2. Putting an XML declaration at the top
  3. Using XHTML-specific syntax like self-closing tags
  4. Validating it as XHTML
In fact, the vast majority of supposedly XHTML documents on the internet are served as text/html. Which means they are not XHTML at all, but actually invalid HTML that's getting by on the error handling of HTML parsers. All those "Valid XHTML 1.0!" links on the web are really saying "Invalid HTML 4.01!".

May 15th 2019

Some Key Terms

XML Site Map
A Sitemap is an XML file that delineates the URLs for a site. It allows webmasters to include additional information about each URL: when it was last updated, how often it changes, and how important it is in relation to other URLs in the site. This allows search engines to crawl the site more readily.
Google analytics Adwords
Google Ads, a.k.a. Google AdWords, is Google's advertising system in which advertisers bid on keywords in order for their clickable ads to appear in Google's search results. Since advertisers have to pay for these clicks, this is how Google makes money from search.
WebMaster Tools
Google Webmaster Tools, rebranded to Google Search Console back in May 2015, is a web service by Google, provided free of charge for webmasters. It allows us to check indexing status and optimize visibility of our websites. There are so many resources, forums & browswer extensions to help optimize sites performances.
GIT
Git is a free and open source distributed version control system (VCS) designed to handle everything from small to very large projects with speed and efficiency. Git is easy to learn and has a tiny footprint with lightning fast performance.


Some Questions Answered

A: The 3 options on the page create sitemaps for webmasters using a free app that can index up to 500 pages, a more robust app that can index many pages and auto update amongst other things and a server-side script written in PHP language that one can install on a server and create sitemap for his or her website.

A: .xml sites are able to be auto-generated from sites like the aforementioned.

A: .xml sites are able to be auto-generated from sites like the aforementioned.

April 9th 2019

Some Key Terms

GIT
The most widely used modern version control system in the world today is Git. Git is a mature, actively maintained open source project developed in 2005 by the creator of the Linux operating system. A staggering number of software projects rely on Git for version control, including commercial projects as well as open source.

Developers who have worked with Git are well represented in the pool of available software development talent. It works well on a wide range of operating systems and IDEs (Integrated Development Environments).Git is a distributed version control system. Every webdev person has a working copy of the code and full change history on their local machine.

Unlike some version control software, Git is not fooled by the names of the files when determining what the storage and version history of the file tree should be, instead, Git focuses on the file content itself. After all, source code files are frequently renamed, split, and rearranged. It stands apart from other version control systems that have no protections against secret alteration at a later date.

However, One common criticism of Git is that it can be difficult to learn. Some of the terminology in Git will be novel to newcomers and for users of other systems, the Git terminology may be different, for example, revert in Git has a different meaning than in SVN or CVS.
CVS
Concurrent Versions System (CVS) is a program that lets a code developer save and retrieve different development versions of source code. It was developed in the late 80s to 90s but made available to the masses in 2008.

It also lets a team of developers share control of different versions of files in a common repository of files. This kind of program is sometimes known as a version control system . CVS was created in the UNIX operating system environment and is available in both Free Software Foundation and commercial versions.

CVS works not by keeping track of multiple copies of source code files, but by maintaining a single copy and a record of all the changes. When a developer specifies a particular version, CVS can reconstruct that version from the recorded changes.

CVS is typically used to keep track of each developer's work individually in a separate working directory. When desired, the work of a team of developers can be merged in a common repository. Changes from individual team members can be added to the repository through a "commit" command.

CVS uses another program, Revision Control System (RCS), to do the actual revision management - that is, keeping the record of changes that go with each source code file. CVS is not a build system, a code configuration management system, or a substitute for other good development practices, but simply a way to control the versions of the pieces of a program as they are developed.


WebDAV
WebDAV (Web Distributed Authoring and Versioning) is a protocol from the 90s that enables a webserver to act as a fileserver and support collaborative authoring of content on the web. It's an extension to HTTP, the protocol that web-browsers and webservers use to communicate with each other.

A webserver that supports WebDAV simultaneously works like a fileserver. That’s a powerful capability. You might encounter WebDAV in the Apache HTTP Server, Microsoft IIS, Box.com, WordPress, Drupal, Microsoft Sharepoint, Subversion, Git, Windows Explorer, macOS Finder, Microsoft Office, Apple iWork, Adobe Photoshop, and many other places.

Despite its longevity, WebDAV implementations can be wonky. Many servers and clients implement subsets or extended subsets of the multiple standards involved. Thus interoperability can’t be assumed; success depends on the platform, environment, and vendor-specific extensions. In many of its use cases WebDAV is being replaced by more modern mechanisms. But it’s still a powerful capability, and a reliable workhorse when the right servers and clients are matched. You can encounter it in many different contexts.
FTP
FTP is a way to transfer files online. You might think of the sites you visit in your browser as “the internet,” but your browser only uses one protocol: HTTP.
Some Questions Answered

A: All 3 are version systems developer tools to save, and/or retrieve and and/or put web content, and its directory versions or revisions througout development.

A: A local site Root is a site's top-level folder—the sites's root folder— where the home page lives. It doesn't include http:// or the domain naime. Rather, it starts with a / to signal the root folder of the site.

A: File mapping is the association of a file's contents with a portion of the virtual address space of a process. The system creates a file mapping object (also known as a section object) to maintain this association.

A file view is the portion of virtual address space that a process uses to access the file's contents. File mapping allows the process to use both random input and output (I/O) and sequential I/O. It also allows the process to work efficiently with a large data file, such as a database, without having to map the whole file into memory. Multiple processes can also use memory-mapped files to share data. Almost all modern day file systems are based on original Unix Tree file system.

A: Tilde ~ is a legacy feature from operating systems with limited naming conventions (Older version of Windows/DOS etc') It signifies a long name.
It's what's called an 8.3 filename (also called a short filename or SFN).The stripped name is then truncated to the first 6 letters of its basename, followed by a tilde, followed by a single digit, followed by a period ., followed by the first 3 characters of the extension.

An absolute path name always starts from the root directory, which is indicated by a slash /
NOTE: Windows uses a back slash \ (falls backward ) for the root folder or other file systems use a forward slash / as the folder separator.

If you want to refer to a directory that is a parallell or sibling to same director, backstep in the hierarchy and go toward another directory, you'd utilize .. and again each time you step backward up in the hierarchy to go toward another directory.