MTA Web Development Fundamentals Online Expert Session 3

  1. What is XML
    • Extensible Markup Language
    • Standardizes information exchange. 
    • Machine-readable text documents
    • Opening tags have to have closing tags
    • Elements with attributes
    • provides stardized shema for validation
    • How computers communicate using webservices. (JSON) is another way but XLM is most common.
  2. XmlDocument Class
    Represents an XML file. An Instance can be used to manipulate the XML file.
  3. XMLWriter Class
    For writing to a XML file. Works like reader, but in reverse.
  4. XMLDataDocument Class (Depricated)
    • Allows you to access a XML document as if it where a database. 
    • Can be linked to a Control to list the contents of a XML file in a list box.
  5. XmlNamespaceManager Class
    • Namespace is a link to a location on the web that tells you more about the document.
    • Allows you to manipulate the namespace manually.
  6. What is XPath and what are some commen classes?
    • Example: child: :para [attribute: :type-"warning"]
    • Allows quick navigation
    • XPathDocument - represents the entire XML file
    • XPatHNavigator - finds spicific nodes
    • XPathNodeIterator - used to walk though many nodes in a document.
  7. Web Services
    Allow two applications to communicate with each other accross the network by uaing standardized communications. 
  8. What is WCF
    • Windows Communication Foundation
    • Clients can communicatte via .NET,  AJAX and JAVASCRIPT
    • Communicate across all platforms.
    • Uses protocals: HTTP, JSON, XML WSDL
  9. What is a Database
    • Store and organize large amounts of data centrally
    • Privides infrastructure
    • Allow multiple connections
    • Relational database
  10. Data Access Layer
    • API (application programming interface)
    • ODCB (outdated)
    • ADO.NET (active x data object)
    • Entity Framework - current best version
  11. Data Binding
    • Connect data to a server control
    • Two things to set up databinding
    •      Set the controls .DataSource
    •      Call .DataBind()
  12. LINQ Queries
    The Entity Framework way to access data in a database

    • from <selector> in <table>
    •   where<condition>
    •   select <results>
  13. DataReader Class
    • Connects to a database then go one row at a time. 
    • Very fast
    • Great for going through tables or queries
  14. DataSet Class
    • More advanced then and contains DataReader
    • Allow you to move forward, backward, and randomly seltect spicific data.
  15. Datbase Connections
    • The all have a Connection String. Connections Strings indenticfies the server and the databese. tell how to authenticate to ther server (windows authentication)
    • Connection Object
    • Connection Pools - Many different users will use the same connection to a database. makes it more effecient to connect to a database.
  16. What are Transactions used for?
    A way to group all of the actions that need to occur to complete a transaction togeather so that if any one fails, the all fail.
  17. Data Source Control Types (ASP 2.0)
    • LinqDataSource - access a linq query
    • ObjectDataSource - works with any type of collection in the .NET framework. 
    • XmlDataSource - Allows you to access a Xml file as if it were a database
    • SqlDataSource - Connects directly to a SQL database and allow read and write.  Most commen typy for Data Source
  18. Client Side Scripting Pros
    More responsive then server side scripting because the script is excuted locally in the browser.
  19. Client Side Scripting Pros
    • JaveScript must be used and is not as robust as the .NET framwork. 
    • Difficult to code, debug, and test. 
    • Not always availible (might not be running on client side)
    • Anything on the client side cannot be trusted
  20. JavaScript
    • Cross Platform and lightweight
    • Based on C language. {} ; () methods are called functions
    • JaveScript does not automatically run functions.
  21. jQuery
    • Open source library that adds a lot of capabilities to JavaScript.
    • Very Common
    • Visual Studio ships wih jQuery
    • slows things down a little, will have to download if they don't have it.
  22. AJAX
    • Client side technology that builds on JaveScript. Created by MicroSoft to intigrate with asp.net
    • Any time you use AJAX you have to put a ScriptManager into the page.
  23. AJAX Controls
    • ScriptManager - use on every page that has AJAX master page.
    • ScriptMangerProxy - used for content pages that have AJAX controls but the master page already has ScriptManager in it.
    • UpdatePanel - allows you to updat part of the page without doin a full postback.
  24. AJAX Triggers
    • What causes microsoft AJAX to request an update from the server. (like a button click) used in an updatepanel controls
    • Can nest triggers usind ChildrenAsTriggers.
    • EnablePartialRendering - Allows and UpdatePanel to go back to the server and retrieve an update.
  25. VBScript
    • Microsoft's competition to JaveScript
    • Never took off because it was not cross-platform (only supported by IE)
Author
mjurgen
ID
166570
Card Set
MTA Web Development Fundamentals Online Expert Session 3
Description
These are my notes from the Online Expert MTA Web Development Fundamentals Session 3
Updated