Posts

Showing posts with the label Week 11

Week 9 to 12 - Learning with MCR Codes

Image
My experience with  @MCRcodes   as a Quality Assurance Tester.  This is an evening part-time coding boot camp based in central Manchester which runs for 24 weeks, from February 2018 to July 2018. Week 9 (April 2018) - After spending two decades using the internet, I finally have an understanding how it works now, and the communication between the server and the client. Nice to create and run a simple server using Express and I now know what API actually means now, I think. Really appreciate how amazing and powerful the npm  package manager really  is, and looking forward to installing other future packages.  We have now started our back-end programming journey. Session 1 -  The Internet, the Web, HTTP Session 2 -  Web APIs & Express Week 10 - Really enjoying creating and reading test units for server assignments. Additionally, learning s ynchronous/a synchronous programming has been a tease.   Unfortunat...

Week 11 - Session 2 - Scope & Modules

Image
blog image source Scope determines the accessibility (visibility) of variables. JavaScript uses lexical scoping, where variables are available in the scope in which they are defined (using const or let). There are two types of scope: Local scope ; Variables declared within a JavaScript function become local to the function. Local variables have local scope: They can only be accessed within the function. Global scope ; a variable declared outside a function, becomes global. A global variable has global scope: All scripts and functions on a web page can access it. A module collects together related functionality - such as functions, procedures and other information. In Node, every file has its own scope, the top level of the file is the global scope, we can create nested scopes within, can use module.exports and require to make code defined in one file available in another, require is effectively another way of defining a variable within the scope of a node file. ...

Week 11 - Session 1 - Databases/MongoDB

Image
blog image source A database is a collection of information that is organized so that it can be easily accessed, managed and updated. Data is organized into rows, columns, and tables, and it is indexed to make it easier to find relevant information. Data gets updated, expanded and deleted as new information is added. Databases process workloads to create and update themselves, querying the data they contain and running applications against it. There are two main database types in database technology, SQL(Structured Query Language): Relational ; databases are relationally structured entities, usually representing a real-world object; for example, a person or shopping cart details. Non-relational ; databases are document-structured and distributed, holding information in a folder-like Hierarchy which holds the data in an unstructured format. MongoDB is a free and open-source cross-platform document-oriented database program. Classified as a NoSQL database program, MongoDB use...