<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Anthony Perez on Medium]]></title>
        <description><![CDATA[Stories by Anthony Perez on Medium]]></description>
        <link>https://medium.com/@antrp93?source=rss-bc81e025286------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*9QSEqjqpvyJnL_dY.jpg</url>
            <title>Stories by Anthony Perez on Medium</title>
            <link>https://medium.com/@antrp93?source=rss-bc81e025286------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 19 Nov 2026 13:28:40 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@antrp93/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Blog_Post 408]]></title>
            <link>https://medium.com/@antrp93/blog-post-408-d8315b181e7c?source=rss-bc81e025286------2</link>
            <guid isPermaLink="false">https://medium.com/p/d8315b181e7c</guid>
            <category><![CDATA[lubbock-coding-academy]]></category>
            <category><![CDATA[austin-coding-academy]]></category>
            <dc:creator><![CDATA[Anthony Perez]]></dc:creator>
            <pubDate>Mon, 25 May 2020 01:55:46 GMT</pubDate>
            <atom:updated>2020-05-25T01:55:46.106Z</atom:updated>
            <content:encoded><![CDATA[<h3>What jobs have you applied to already?</h3><p>I have applied to a few jobs before getting into this most recent class. I had applied and sent in a resume a week before the shutdown. I received an email stating that the position I was applying for was moved internally due to the shutdown. Although the employer wanted to still set up a meeting with me whenever it is safe to do so. Unfortunately the recent pandemic has slowed down any opportunities of employment. I have since turned my focus on turning out a good capstone to present so I can graduate.</p><h3>What excites you the most about your next job?</h3><p>There’s a lot that excites me, from working and expanding on my programming skillset, working with other programmers who know more than I do and learning from them, and also making more money is a plus as well.</p><h3>How are you preparing for interviews?</h3><p>Right now, I am not really preparing for interviews. I should probably work on some whiteboarding for the technical interviews. But usually the socializing and talking aspect for interviews hasn’t ever been my weakness.</p><h3>What advice would you give to someone just starting out what you’ve just completed?</h3><p>To be prepared to constantly learn, and to have a willingness to try and solve problems that seem outside of your understanding. Also to balance the time you have to spend on working on projects or your craft, but to also give yourself some time to think of new ideas and to relax.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d8315b181e7c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[BlogPost_407]]></title>
            <link>https://medium.com/@antrp93/blogpost-407-3727288b4878?source=rss-bc81e025286------2</link>
            <guid isPermaLink="false">https://medium.com/p/3727288b4878</guid>
            <category><![CDATA[lubbock-coding-academy]]></category>
            <category><![CDATA[austin-coding-academy]]></category>
            <dc:creator><![CDATA[Anthony Perez]]></dc:creator>
            <pubDate>Fri, 15 May 2020 19:38:19 GMT</pubDate>
            <atom:updated>2020-05-15T19:38:19.944Z</atom:updated>
            <content:encoded><![CDATA[<h3>Explain what is the difference between Angular and backbone.js?</h3><p>Angular is a Javascript-based open source standalone framework designed to support the development of data-intensive web apps and test driven development.</p><p>Backbone.js is a lightweight, Javascript framework developed by Jeremy Ashkenas. It offers an MVC framework that abstracts data into models, DOM into views and then binds these two using events. It’s more of a compact MVC Javascript library than a full-fledged framework.</p><h3>Can you explain the concept of scope hierarchy in Angular?</h3><p>If we consider an Angular application to consist of:</p><ul><li>View, which is the HTML.</li><li>Model, which is the data available for the current view.</li><li>Controller, which is the JavaScript function that makes/changes/removes/controls the data.</li></ul><p>Then the scope is the Model.</p><p>The scope is a JavaScript object with properties and methods, which are available for both the view and the controller.</p><p>All applications have a <strong>$rootScope </strong>which is the scope created on the HTML element that contains the <strong>ng-app</strong> directive. The <strong>$rootScope</strong> is available in the entire application.</p><h3>Explain Angular Authentication and Authorization.</h3><p>The authentication service is used to login and logout of the application, to login it posts the user’s credentials to the api and checks the response for a JWT token, if there is one it means authentication was successful so the user details including the token are added to local storage.</p><h3>Enumerate some salient features of Angular 7. What does Angular 8 bring to the table?</h3><p><a href="https://www.angularminds.com/blog/article/top-10-features-of-angular-8.html">https://www.angularminds.com/blog/article/top-10-features-of-angular-8.html</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3727288b4878" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[BlogPost_406]]></title>
            <link>https://medium.com/@antrp93/blogpost-406-476a2943b222?source=rss-bc81e025286------2</link>
            <guid isPermaLink="false">https://medium.com/p/476a2943b222</guid>
            <category><![CDATA[lubbock-coding-academy]]></category>
            <category><![CDATA[austin-coding-academy]]></category>
            <dc:creator><![CDATA[Anthony Perez]]></dc:creator>
            <pubDate>Sat, 09 May 2020 23:40:28 GMT</pubDate>
            <atom:updated>2020-05-09T23:40:28.117Z</atom:updated>
            <content:encoded><![CDATA[<h3>Discuss in words something you learned in class today or this week.</h3><p>This week we had a checkpoint project and it focused on linking a backend API to the frontend of an application. It was a little weird seeing C# code in Visual Studio Code, because last time and any time I look at C# code is in VS 2018. Also there was a good amount of scaffolding done for us, but most of it was setting up authentication. Due to the prebuilt quality of the project, they did a slightly different file structure than what I was use to, but I was able to meet the requirements to pass with a 100.</p><h3>What is Angular Material? Why would we use it?</h3><p>Angular Material is a frontend framework for Angular. Material really takes a lot of the heavy lifting out of the equation when it comes to creating nice components but leaves a lot of room for customization. While still adhering to modern web design principles like browser portability, device independence, and graceful degradation.</p><h3>What is ViewEncapsulation and how many ways are there do to do it in Angular?</h3><p>View encapsulation defines whether the template and styles defined within the component can affect the whole application or vice versa. Angular provides three encapsulation strategies:</p><ul><li>Emulated (default) - styles from main HTML propagate to the component. Styles defined in this component&#39;s @Component decorator are scoped to this component only.</li><li>Native - styles from main HTML do not propagate to the component. Styles defined in this component’s @Component decorator are scoped to this component only.</li><li>None - styles from the component propagate back to the main HTML and therefore are visible to all components on the page. Be careful with apps that have None and Native components in the application. All components with None encapsulation will have their styles duplicated in all components with Native encapsulation.</li></ul><h3>What is AOT (Ahead-Of-Time) Compilation?</h3><p>An Angular application consists mainly of components and their HTML templates. Because the components and templates provided by Angular cannot be understood by the browser directly, Angular applications require a compilation process before they can run in a browser.</p><p>The Angular <a href="https://angular.io/guide/glossary#aot">ahead-of-time (AOT) compiler</a> converts your Angular HTML and TypeScript code into efficient JavaScript code during the build phase <em>before</em> the browser downloads and runs that code. Compiling your application during the build process provides a faster rendering in the browser.</p><h3>How do Observables differ from Promises?</h3><h4>Promises</h4><ul><li>Eager loading</li><li>Always asynchronous</li><li>Can only emit a single value</li></ul><h4>Observables</h4><ul><li>Lazy Loading</li><li>Can be synchronous or asynchronous</li><li>Can emit multiple values</li><li>You can apply RxJS operators to an <em>Observable </em>to get a new tailored stream.</li></ul><h3>Could you explain services in Angular?</h3><p>The main objective of <strong>a service</strong> is to organize and share business logic, models, or data and functions with different components of an <strong>Angular</strong> application. An example of when to use <strong>services would</strong> be to transfer data from <strong>one</strong> controller to another custom <strong>service</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=476a2943b222" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[BlogPost_405]]></title>
            <link>https://medium.com/@antrp93/blogpost-405-fdd2387692e3?source=rss-bc81e025286------2</link>
            <guid isPermaLink="false">https://medium.com/p/fdd2387692e3</guid>
            <category><![CDATA[lubbock-coding-academy]]></category>
            <category><![CDATA[austin-coding-academy]]></category>
            <dc:creator><![CDATA[Anthony Perez]]></dc:creator>
            <pubDate>Fri, 01 May 2020 00:44:53 GMT</pubDate>
            <atom:updated>2020-05-01T00:44:53.911Z</atom:updated>
            <content:encoded><![CDATA[<h3>Discuss in words something you learned in class today or this week.</h3><p>We covered some heavy loaded topics this week, covering Authentication/Authorization in our Angular projects, and dynamic forms.</p><h3>What is SPA (Single Page Application) in Angular? Contrast SPA technology with traditional web technology?</h3><p>An SPA is a web app that fits on a single page, rather than the more traditional Multi-Page websites. In an SPA, different content can reside in different ‘states’ of the page, instead requiring a new page.</p><h3>What is the process called by which TypeScript code is converted into JavaScript code?</h3><p>Transpilation, and there is a tool that we can use called tsc to compile on the command line.</p><h3>Why prioritize TypeScript over JavaScript in Angular?</h3><p>JavaScript quickly became too complex which prevented it to be used at an enterprise level. TypeScript was created in a way to encapsulate verbose syntax and make the code more maintainable when working with dynamic data. Since TypeScript is a superset of JavaScript, you don’t need to worry about versioning with your code.</p><h3>Can you draw a comparison between the service() and the factory() functions?</h3><p>A <strong><em>Service </em></strong>is a function for business layer logic of an application. It acts as a constructor function and is invoked once at runtime with <strong>new,</strong> much like you would with plain JavaScript.</p><p>A <strong><em>Factory</em></strong> can give you the same capabilities as a service but it is more powerful and flexible. A <strong><em>Factory </em></strong>is a design patter that create Objects by returning new Class Instances [with .prototype or ES2015 Classes], return Object literals, return functions and closures, or even just return a simple String.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fdd2387692e3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[BlogPost_404]]></title>
            <link>https://medium.com/@antrp93/blogpost-404-6702f50c7e3a?source=rss-bc81e025286------2</link>
            <guid isPermaLink="false">https://medium.com/p/6702f50c7e3a</guid>
            <category><![CDATA[austin-coding-academy]]></category>
            <category><![CDATA[lubbock-coding-academy]]></category>
            <dc:creator><![CDATA[Anthony Perez]]></dc:creator>
            <pubDate>Sun, 26 Apr 2020 19:35:51 GMT</pubDate>
            <atom:updated>2020-04-26T19:35:51.068Z</atom:updated>
            <content:encoded><![CDATA[<h3>Discuss in words something you learned in class today or this week</h3><p>This week we focused on implementing and configuring API services in our Angular applications. Once implemented, we looked into displaying the data.<br>For <a href="https://github.com/antrp93LCA/Beer-App">one project</a> we had an API bringing in information from a <a href="https://punkapi.com/documentation/v2">Beer API </a>, we displayed that data in the form of a Material Table, built with a sorting/filtering functionality. Another project we worked on was website with hosting through Azure. Again, we implemented a movie API that brings in data about the movies in it’s database. The template was a <a href="https://github.com/antrp93LCA/angular-flix">Netflix clone </a>but it was a project that focused on having multiple services within an Angular application that talk with one another to properly display the movie information.</p><h3>Please explain the digest cycle in Angular?</h3><ul><li>Digest cycle is what Angular JS triggers when a value in the model or view is changed.</li><li>The cycle sets off the watchers which then match the value of model and view to the newest value.</li><li>Digest cycle automatically runs when the code encounters a directive.</li><li>The scope of the digest cycle is limited to that of Angular JS context.</li><li>To synchronize changes in view and model that happen outside the Angular context, manual application of $apply() or $digest() is necessary.</li><li>Digest cycle runs between 2 and 10 times when triggered.</li></ul><h3>Explain the various types of filters in Angular.</h3><ul><li>currency Format a number to a currency format.</li><li>date Format a date to a specified format.</li><li>filter Select a subset of items from an array.</li><li>json Format an object to a JSON string.</li><li>limitTo Limits an array/string, into a specified number of elements/characters.</li><li>lowercase Format a string to lower case.</li><li>number Format a number to a string.</li><li>orderBy Orders an array by an expression.</li><li>uppercase Format a string to upper case.</li></ul><h3>Describe an overview of Angular architecture?</h3><p>Angular is a platform or framework to build client-based applications in HTML and TypeScript. It is written in TypeScript. It implements core and optional functionality as a set of TypeScript libraries that are imported into applications. Angular consists of Three main things that are Modules, Components, and Routing.</p><h3>What are the building blocks of Angular?</h3><p>ngModules or modules are the basic building blocks of Angular applications. An Angular app is defined by a set of ngModules. It’s important for every application to have a root module in it. Components can define views, which are sets of screen elements that Angular can choose among and modify according to the program logic and data. It is important to have at least one component in every application called the root component. Components use services to communicate and share data with each other. Routing includes the linking of multiple components with each other</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6702f50c7e3a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Important Angular Facts]]></title>
            <link>https://medium.com/@antrp93/important-angular-facts-f994b376162d?source=rss-bc81e025286------2</link>
            <guid isPermaLink="false">https://medium.com/p/f994b376162d</guid>
            <category><![CDATA[lubbock-coding-academy]]></category>
            <category><![CDATA[austin-coding-academy]]></category>
            <dc:creator><![CDATA[Anthony Perez]]></dc:creator>
            <pubDate>Sun, 19 Apr 2020 06:43:26 GMT</pubDate>
            <atom:updated>2020-04-19T06:43:26.277Z</atom:updated>
            <content:encoded><![CDATA[<p>BlogPost_408</p><h3>Discuss something you learned in class today or this week (<em>Can be tech related, or not.</em>)</h3><p>Throughout the week I have been revamping a Discord server and learning how to get more activity in the community. It’s been pretty fulfilling to see more interaction with the others in the server and I’ve actually seen some growth!</p><h3>How do you sort and filter data in an Angular Material Table Component?</h3><h4>Sort</h4><p>First you have to import <strong>MatSortModule </strong>in the root module.ts file then you must put the <strong>matSort </strong>directive in the main table element and by adding the <strong>mat-sort-header</strong> to each column header cell.</p><pre><em>&lt;!-- Name Column --&gt;</em><br>&lt;ng-container matColumnDef=&quot;position&quot;&gt;<br>  &lt;th mat-header-cell *matHeaderCellDef mat-sort-header&gt; Name &lt;/th&gt;<br>  &lt;td mat-cell *matCellDef=&quot;let element&quot;&gt; {{element.position}} &lt;/td&gt;<br>&lt;/ng-container&gt;</pre><p>If you are using the MatTableDataSource for your table’s data source. then you must provide the MatSort directive to the datat source and it will automatically listen for sorting changes and change the order of data rendered by the table.</p><h3>Discuss the difference, value, and downfalls to a Cdn Based Version and a local installation of Angular Material.</h3><h4>Cdn Based Version:</h4><p>The Angular Material libraries using the Cdn BasedVersion would not be included in the compiled version and as such would require Internet connectivity at runtime. The files will be a little smaller than when installed locally.</p><h4>Local Installation:</h4><p>The Angular Material libraries are downloaded to your local machine and are included in the compiled version of the project. This would make the file a little larger. You would not need to have Internet connectivity to access the files at runtime if they are installed locally.</p><h3>What Is Angular Material Autocomplete? How do you implement it?</h3><p>Angular Material Autocomplete is an Angular directive that is used as a special input control with an inbuilt dropdown to show all possible matches to a custom query. It is implemented by adding [matAutocomplete] = “auto” to the input field.</p><h3>What is Angular Material Chips used for? How do you implement them?</h3><p>Angular Material Chips are used as special components to represent a small set of information such as a contact, tags, etc. Custom templates can be used to render the contents of chips.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f994b376162d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[BlogPost_402]]></title>
            <link>https://medium.com/@antrp93/blogpost-402-d2bf396cf6f0?source=rss-bc81e025286------2</link>
            <guid isPermaLink="false">https://medium.com/p/d2bf396cf6f0</guid>
            <category><![CDATA[lubbock-coding-academy]]></category>
            <category><![CDATA[austin-coding-academy]]></category>
            <dc:creator><![CDATA[Anthony Perez]]></dc:creator>
            <pubDate>Fri, 10 Apr 2020 02:13:51 GMT</pubDate>
            <atom:updated>2020-04-10T02:13:51.380Z</atom:updated>
            <content:encoded><![CDATA[<h3>Explain the difference between an Annotation and a Decorator in Angular?</h3><p>Decorators are functions that modify JavaScript classes.Decorators are basically used for attaching metadata to classes so that, it knows the configuration of those classes and how they should work. Annotations are “only” metadata set on the class using the Reflect Metadata library.</p><h3>What are the building blocks of Angular?</h3><ul><li><strong>Modules</strong> — Angular apps are modular and to maintain modularity, we have <em>Angular</em> modules or <em>NgModules.</em> Every Angular app contains at least one Angular module, i.e. the root module. A module is a cohesive block of code with a related set of capabilities that have a specific application domain or a workflow. Any angular module is a class with @NgModule decorator.</li><li><strong>Components</strong> — A component controls one or more sections on the screen called a view. For example, if you are building a course list application, you can have components like App Component (the boostrapped component). Course Component, Course Detail Component, etc.</li><li><strong>Templates</strong> — You associate the component’s view with its companion template. A template is nothing but a form of HTML tags that tells Angular about how to render the component.</li><li><strong>Metadata</strong> — Metadata tells Angular how to process a class. To tell Angular that Course Component is a component, metadata is attached to the class. In TypeScript, you attach metadata by using a decorator:</li></ul><pre>@Component({<br>   selector: &#39;app-course&#39;,<br>   templateUrl: &#39;./course.component.html&#39;,<br>   styleUrls: [&#39;./course.component.css&#39;]<br>})</pre><ul><li><strong>Data binding</strong> — If you are not using a framework, you have to push data values into the HTML controls and turn user responses into some actions and value updates. Writing such push/pull logic is tedious, error-prone, and a nightmare to read. Angular supports data binding, a mechanism for coordinating parts of a template with parts of a component. You should add binding markup to the template HTML to tell Angular how to connect both sides.</li><li><strong>Directives</strong> — Angular templates are <em>dynamic</em>. When Angular renders them, it transforms the DOM according to the instructions given by directives. A directive is a class with a @Directive decorator. A component is directive-with-a-template; a @Component decorator is actually a @Directive decorator extended with template-oriented features.</li><li><strong>Services</strong> — Service is a broad category encompassing any value, function, or feature that your application needs. A service is typically a class with a well-defined purpose. Angular has no definition of a service. There is no service base class and no place to register a service. Yet services are fundamental to any Angular application. Components are consumers of services.</li><li><strong>Dependency injection</strong> — This is a way to supply a new instance of a class with the fully-formed dependencies it requires. Most dependencies are services. Angular uses dependency injection to provide new components with the services they need. Angular can tell which services a component needs by looking at the types of its constructor parameters.</li></ul><h3>Please explain the differences between Angular and jQuery?</h3><ul><li>Jquery is a library used for DOM manipulation whereas Angular is a framework</li><li>Jquery doesn’t deal with models; Angular is used to create SPA (single page applications)</li><li>Jquery does not have two-way binding features whereas Angular has key features like routing, directive, two-way data binding, models, dependency injection, unit tests etc.</li><li>Jquery becomes complex and difficult to maintain when the size of project increases but in case of Angular things are different as they are manageable at big project size.</li></ul><h3>What is ngOnInit()? What&#39;s it for and what would you put in it?</h3><p>You use ngOnInit() for initialization work. The ngOnInit method runs after the constructor method, meaning that all of the injected dependencies will be resolved and all of the class members will be defined. This makes it the perfect place to do any of the initialization work/logic for the component.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d2bf396cf6f0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[BlogPost_401]]></title>
            <link>https://medium.com/@antrp93/blogpost-401-69fc3e26bed8?source=rss-bc81e025286------2</link>
            <guid isPermaLink="false">https://medium.com/p/69fc3e26bed8</guid>
            <category><![CDATA[lubbock-coding-academy]]></category>
            <category><![CDATA[austin-coding-academy]]></category>
            <dc:creator><![CDATA[Anthony Perez]]></dc:creator>
            <pubDate>Sun, 05 Apr 2020 03:08:03 GMT</pubDate>
            <atom:updated>2020-04-05T03:08:03.391Z</atom:updated>
            <content:encoded><![CDATA[<h3>Discuss in words something you learned in class today or this week.</h3><p>This week is getting back into the swing of things after all of the craziness surrounding the pandemic. On top of having to learn to get used to learning through an online platform, I also started the Angular portion of the curriculum. We have learned how to create components and how an Angular web app is structured.</p><h3>What is string interpolation in Angular and what is the syntax for it?</h3><p>Interpolation is embedding expressions within marked up text. By default the delimiter for these expressions is the double curly braces, where the you would put a component’s property name in the middle of the braces</p><pre>&lt;h3&gt;Current customer: {{ currentCustomer }}&lt;/h3&gt;</pre><p>More generally, the text between the braces is a template expression that Angular first evaluates and then converts to a string.</p><h3>Please explain the difference between Angular and AngularJS?</h3><h4>AngularJS</h4><ul><li>Uses JavaScript</li><li>AngularJS uses terms of <strong>scope</strong> and <strong>controller</strong></li><li>Concept of <strong>rootScope</strong></li></ul><h4>Angular</h4><ul><li>Uses TypeScript</li><li>lambda operators, iterators or reflection’s mechanism</li><li>backward compatible with ES5</li></ul><h3>Could you explain the concept of templates in Angular?</h3><p>A <em>template</em> is an HTML snippet that tells Angular how to render the component in angular application, it is the components <strong>View. </strong>There are 2 types of templates, those being <strong>inline</strong> and <strong>templateURL</strong>.</p><p>Inline:</p><pre>import {Component} from &#39;angular/core&#39;;<br>@Component({<br>    selector: &#39;cars-app&#39;,<br>    template: &#39;&lt;h1&gt;Welcome&lt;/h1&gt;&#39;<br>})</pre><p>Separate file (URL):</p><pre>import {Component} from &#39;angular/core&#39;;<br>@Component({<br>     selector: &#39;cars-app&#39;,<br>     templateUrl: &#39;components/cars/cars.component.html&#39;<br>})</pre><h3>What are directives in Angular?</h3><p>Angular Directives are the building blocks of Angular applications.</p><p>A directive is a function that executes whenever the Angular compiler finds it in the DOM. Directives are used to extend the power of the HTML by giving it new syntax. Each directive has a name, like <strong>ng-repeat, </strong>but we can even create our own directives which gives the developer the ability to customize the name. Each directive determines where it can be used: <strong>element, attribute, class, </strong>or <strong>comment</strong>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=69fc3e26bed8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[BlogPost_308]]></title>
            <link>https://medium.com/@antrp93/blogpost-308-723f7e1133f2?source=rss-bc81e025286------2</link>
            <guid isPermaLink="false">https://medium.com/p/723f7e1133f2</guid>
            <category><![CDATA[lubbock-coding-academy]]></category>
            <category><![CDATA[austin-coding-academy]]></category>
            <dc:creator><![CDATA[Anthony Perez]]></dc:creator>
            <pubDate>Fri, 06 Mar 2020 02:18:49 GMT</pubDate>
            <atom:updated>2020-03-06T02:18:49.829Z</atom:updated>
            <content:encoded><![CDATA[<h3>What is the difference between ApiController and Controller?</h3><p><strong>ApiController:</strong></p><ul><li>Returns the data which is serialized and sent to client</li><li>Method name must start with Http verbs otherwise apply http verbs attribute</li><li>Derives from <strong><em>System.Web.Http.ApiController</em></strong><em> </em>class</li><li>Return data automatically formatted based on Accept-Type header attribute.<br>Default to json or xml</li></ul><p><strong>Controller:</strong></p><ul><li>Used to render normal views only.</li><li>Must apply appropriate Http verbs attribute</li><li>Returns ActionResult or any derived type</li><li>Derives from <strong><em>System.Web.Mvc.Controller </em></strong>class.</li></ul><h3>What are the differences and similarities of WCF vs ASP.NET Web API?</h3><p><strong>WCF:</strong></p><ul><li>Used for developing SOAP-based services</li><li>Supports HTTP, UDP and custom transport protocol</li><li>Offers Text, MTOM and Binary Encoding</li></ul><p><strong>Web Api:</strong></p><ul><li>Used for both SOAP-based and RESTful services</li><li>Supports only HTTP protocol</li><li>Supports UTF-8 encoding format</li></ul><h3>What is Attribute Routing in ASP.NET Web API 2.0?</h3><p><em>Routing</em> is how Web API matches a URI to an action. In Web API 2.0, a new type of routing is supported, called <em>attribute routing. </em>Attribute routing gives you more control over the URIs in you web API by using attributes to define routes. Earlier style of routing, convention-based routing, is still fully supported, and can combine both techniques in the same project.</p><h3>Explain the difference between MVC vs ASP.NET Web API.</h3><p><strong>MVC:</strong></p><ul><li>Used to create web applications that return both views and data</li><li>No self-hosting</li><li>Only returns data in JSON format using JsonResult</li><li>Request is mapped to actions name</li><li>Exists within <em>System.Web.MVC</em></li></ul><p><strong>ASP.NET Web API:</strong></p><ul><li>Used to create full-blown HTTP services with an easy and simple way that returns only data, not view</li><li>Helps to build REST-ful services over the .NET Framework</li><li>Supports content-negotiation(deciding the best response format data that could be acceptable by the client. It could be JSON, XML, ATOM, or other formatted data)</li><li>Takes care of returning data in particular format based upon the Accept header in the request</li><li>Request is mapped to the actions based on HTTP verbs</li><li>Part of ASP.NET framework; model binding, filters, routing and other MVC features exists in <em>System.Web.Http</em></li></ul><h3>What’s the difference between OpenID and OAuth?</h3><p><strong>OpenID:</strong></p><ul><li>Protocol for <strong><em>authentication </em></strong>(proving who you are)</li><li>Created for <em>federated authentication</em> (letting a third-part authenticate your users for you, by using accounts they already have)</li></ul><p><strong>OAuth:</strong></p><ul><li>Protocol for <strong><em>authorization </em></strong>(grant access to functionality/data/etc without having to deal with original authentication)</li><li>Can be used in external partner sites to allow access to protected data without them having to re-authenticate a user</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=723f7e1133f2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[BlogPost_307]]></title>
            <link>https://medium.com/@antrp93/blogpost-307-5cdba11488b4?source=rss-bc81e025286------2</link>
            <guid isPermaLink="false">https://medium.com/p/5cdba11488b4</guid>
            <category><![CDATA[lubbock-coding-academy]]></category>
            <category><![CDATA[austin-coding-academy]]></category>
            <dc:creator><![CDATA[Anthony Perez]]></dc:creator>
            <pubDate>Fri, 28 Feb 2020 02:16:22 GMT</pubDate>
            <atom:updated>2020-02-28T02:16:22.390Z</atom:updated>
            <content:encoded><![CDATA[<p>Blog Post 307</p><h3>Discuss in words something you learned in class this week</h3><p>This week I learned about how to host a website through Microsoft Azure’s platform.</p><h3>Explain the difference between Stack and the Heap</h3><p><strong>Stack</strong> is used for static memory allocation and <strong>Heap</strong> is for dynamic memory allocation, both are stored in the computers RAM.</p><p>Variables allocated on the stack are stored directly to the memory and access to this memory is very fast, and it’s allocation is dealt with when the program is compiled.</p><p>Variables allocated on the heap have their memory allocated at run time and accessing this memory is a bit slower, but the heap size is only limited by the size of virtual memory.</p><h3>Explain the differences between an Interface and an Abstract Class in .NET</h3><p><strong>Abstract Classes </strong>are a special kind of class that cannot be instantiated. An abstract class is only to be sub-classed (inherited from). It only allows other classes to inherit from it but cannot be instantiated. The advantage is that it enforces certain hierarchies for all the subclasses. Simply put, it is a kind of contract that forces all the subclasses to carry on the same hierarchies or standards.</p><p><strong>Interfaces</strong> are not classes. It is an entity that is defined by the word Interface. They have no implementation; it only has the signature or in other words, just the definition of the methods without the body. The main difference between them is that a class can implement more than one interface but can only inherit from one abstract class.</p><h3>What is a delegate in .NET?</h3><p>A delegate is a type that defines a method signature and it can pass a function as a parameter. Delegates are .NET objects which points to a method that matches its specific signature, they are also independent of the type of method that it references.</p><h3>Why can’t you specify access modifiers for items in an interface?</h3><p>Because the members of the interface must be public due to the purpose of an interface, which is to enable other types to access a class or struct.</p><h3>What are the various methods provided to System.Object’s deriving classes/types?</h3><ul><li>Equals -&gt; Supports comparisons between objects</li><li>Finalize -&gt; Performs cleanup operations before an object is automatically reclaimed</li><li>GetHashCode -&gt; Generates a number corresponding to the value of the object to support the use of a has table</li><li>ToString -&gt; Manufactures a human-readable text string that describes an instance of the class</li><li>GetType -&gt; Gets the Type of the current instance</li><li>MemberwiseClone -&gt; Creates a shallow copy of the current Object</li><li>ReferenceEquals(Object,Object) -&gt; Determines whether the specified Object instances are the same instance</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5cdba11488b4" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>