AngularJS - Extends HTML

56 5/5/2017 7:27:49 AM

AngularJS extends HTML withng-directives. Theng-appdirective Defines an AngularJS application. Theng-modeldirective Binds the value of HTML controls (input, select, text-area) to application data. Theng-binddirective Binds application data to the HTML view. The ng-initdirective Initializes AngularJS application variables. You can usedata-ng-, instead ofng-, if you want to make your page HTML valid. ...

AngularJS - Using a Factory

34 5/5/2017 5:58:50 AM

Often referred to as an app service Business logic to be used application wide that does not need to be configured Also used for shareable data Might use for an something like md5 $resource is a factory that lets you interact with RESTful server side ...

AngularJS - Creating a Custom Controller for A Directive

39 5/5/2017 4:54:07 AM

•Directives can specify a Controller using the “controller” property •Syntax “Controller as “ helps namespace the scope •Syntax “Controller as” injects scope, binding the Controller to the current scope ...

AngularJS - Creating a Custom Directive

34 5/5/2017 4:53:48 AM

Creating a Custom Directive ...

AngularJS - How Directives are Instantiated

29 5/5/2017 4:52:32 AM

•Angular’s compiler scans the DOM looking for Directives •Directives can be declared a few different ways ...

AngularJS - Types of Directives

43 5/5/2017 4:48:40 AM

•Element Directive <product-description></product-description> •Comment Directive <product-description></product-description> •Attribute Directive <H3 product-description></H3>• •Class Directive <div class=“product-description”></div> ​ ...

AngularJS - Creating a Custom Filter

35 5/4/2017 7:45:55 PM

•Register a new filter factory function •Return a filter function that takes the input value as the first argument •Filter function should be stateless (typically ) ...

AngularJS - Built-in Filters

34 5/4/2017 7:45:23 PM

•orderBy •limitTo •lowercase & uppercase •filter •currency •number •date ...

AngularJS - What are Filters?

33 5/4/2017 7:42:16 PM

•Formats the value of an expression •Filters can be applied in the view {{employees.array|filter:‘s'}} •Filters applied in the view can be costly as they are re-evaluated •Filters can be used elsewhere: controllers, services etc ...


SQL vs MySQL Database

121 5/4/2017 6:58:31 AM

How SQL and MySQL database works? Difference between MySQL and SQL? SQL -Structured Query Language MySQL - Relational database management system Owner Microsoft Oracle Language Actual Language defined by the ISO and ANSIstandard Specific implementation of ISO and ANSI standard Open-Source Not open-source - uses SQL (Structured Query Language) for database management. MySQL is open source that uses SQL (Structured Query Language) Tool Definition Structured Query Language to work with relational database management Actual Management Systems Structure Language Systems Data Operations Add, remove,...

PHP - Data Types

55 5/2/2017 5:22:54 AM

PHP data types: String ​​Can use single or double quotes​ String functions Integer Non-decimal number between -2,147,483,648 and 2,147,483,647​​​ Must have at least one digit Must not have a decimal point Can be either positive or negative Can be specified in three formats: decimal (10-based), hexadecimal (16-based - prefixed with 0x) or octal (8-based - prefixed with 0) Float (aka double) ​​Number with a decimal point or a number in exponential form​ Boolean TRUE or FALSE​ Array ​​Stores multiple values Object ​​​Stores data and information on how to process that data.​ NULL ​​Has no value as...

PHP - Echo vs Print

56 5/2/2017 5:05:26 AM

Echo Print Return value Has no return value Has a return value of 1 Parameters / Argumnets Can take multiple parameters (although such usage is rare Can take one argument Speed Echo is marginally faster than print. <?php echo"<h2>PHP is Fun!</h2>"; echo"Hello world!<br>"; echo"I'm about to learn PHP!<br>"; echo"This ","string ","was ","made ","with multiple parameters."; ?> <?php print"<h2>PHP is Fun!</h2>"; print"Hello world!<br>"; print&qu...

PHP - Variables

58 5/2/2017 4:24:31 AM

PHP variables: A variable starts with the $ sign, followed by the name of the variable A variable name must start with a letter or the underscore character A variable name cannot start with a number A variable name can only contain alpha-numeric characters and underscores (A-z, 0-9, and _ ) Variable names are case-sensitive ($age and $AGE are two different variables) Automatically converts the variable to the correct data type, depending on its value. Example: <!DOCTYPEhtml> <html> <body> <?php $txt ="Hello World!"; $x =5; $y =10.5; echo$txt; echo"<br>...

PHP - Basic Syntax

53 5/2/2017 1:43:07 AM

PHP syntax basics: All keywords (e.g. if, else, while, echo, etc.), classes, functions, and user-defined functions are NOT case-sensitive. All variable names are case-sensitive. Example: <!DOCTYPEhtml> <html> <body> <h1>My first PHP page</h1> <?php // single-line comment​ 1 # single-line comment 2 /* Multiple-lines comment - Line 1 Multiple-lines comment - Line 2 Multiple-lines comment - Line 3 */​ echo"Hello World!"; ?> <?php ECHO"Hello World!<br>"; echo"Hello World!<br>"; EcHo"Hello World!<br>"; ...

PHP - Installation

66 5/2/2017 12:32:31 AM

PHP Setup:http://php.net/manual/en/install.php Typically Installation: install a web server install PHP install a database, such as MySQL ...

PHP - Introduction

56 5/2/2017 12:28:49 AM

"PHP: Hypertext Preprocessor" PHP is a server scripting language Used to make dynamic and interactive Web pages ...

Adobe CMS - Editing a Page

48 5/1/2017 8:19:54 PM

Content Finder Sidekick Drop Zones Text Componet Hyperlinks Format Text Adding Images Column Control ...

Adobe CMS - DAM (Digital Assets Management)

51 5/1/2017 8:19:07 PM

DAM - Digital Assets Management system Adding a folder Uploading Images Asset Meta-Data Tab Replace Original Image/Rendition Change Asset File Name Adding Documents Activating Assets ...

Adobe CMS - Website Overview

46 5/1/2017 8:18:25 PM

Web Content Manager Interface Parent Child Relationship Creating Pages Toolbar Page Properties Moving/ Renaming Pages ...

Adobe CMS - Introduction

67 5/1/2017 8:12:46 PM

Responsive Design Higher Graphical Standards Freedom to Edit Anywhere ...

Differences between WCF Services and ASP.NET Web Services

44 4/25/2017 11:26:20 PM

WCF ASP.NET Web Service Class Attributes [ServiceContract] [WebService] MethodAttributes [OperactionContract] [WebMethod] Actual Class Defrived from [ServiceContract] Definition Host Hosted in IIS, Windows Service, WAS (Windows Activation Service) Hosted in IIS Access Protocal HTTP, TCP, MSMQ, P2P, NamedPipes HTTP Supported Services Security, Transaction, Reliability, REST Support, Interoperability, Durable Massages, Service Orientation, Service Metadata, etc Security Service Client Generation Using service metadata tool - svcUtil.exe Using commandline tool - WSDL.EXE ExceptionHandling Unhandl...

WCF - Error Handling

35 4/25/2017 11:15:00 PM

Fault Handling in WCF Services ...

WCF - Bindings

40 4/25/2017 11:04:05 PM

What a Binding Defines? Protocols Determines the security mechanism being used: either reliable messaging capability or transaction context flow settings. Encoding Determines the message encoding (for example, text or binary). Transport Determines the underlying transport protocol to use (for example, TCP or HTTP). System-Provided Bindings: BasicHttpBinding: An HTTP protocol binding suitable for connecting to Web services that conforms to the WS-I Basic Profile specification (for example, ASP.NET Web services-based services). WSHttpBinding: An interoperable binding suitable for connecting to e...

SQL Server - Temporary table

43 4/25/2017 10:48:56 PM

Table variables(DECLARE @t TABLE) are visible only to the connection that creates it, and are deleted when the batch or stored procedure ends. Local temporary tables(CREATE TABLE #t) are visible only to the connection that creates it, and are deleted when the connection is closed. Global temporary tables(CREATE TABLE ##t) are visible to everyone, and are deleted when all connections that have referenced them have closed. Tempdb permanent tables(USE tempdb CREATE TABLE t) are visible to everyone, and are deleted when the server is restarted. ...

SQL Server - What is Ranking Functions?

37 4/25/2017 10:39:11 PM

Ranking functions return a ranking value for each row in a partition. Depending on the function that is used, some rows might receive the same value as other rows. Ranking functions are nondeterministic. Ranking Functions: NTILE ROW_NUMBER RANK DENSE_RANK ...

SQL Server - What is cursor?

32 4/25/2017 10:21:18 PM

User SQL cursor when want to traverse rows one by one and perform some operations. Example: DECLARE vend_cursor CURSOR FOR SELECT * FROM Purchasing.Vendor OPEN vend_cursor FETCH NEXT FROM vend_cursor WHILE @@FETCH_STATUS = 0 BEGIN --Perfrom some operation END CLOSE vendor_cursor; DEALLOCATE vendor_cursor; ...

SQL Server - Implicit vs Explicit Transaction

35 4/25/2017 9:51:13 PM

Implicit transaction: The transaction remains in effect until you issue a COMMIT or ROLLBACK statement. After the first transaction is committed or rolled back, the instance of the Database Engine automatically starts a new transaction the next time any of these statements is executed by the connection. The instance keeps generating a chain of implicit transactions until implicit transaction mode is turned off. It can be set usingSET IMPLICIT_TRANSACTIONS { ON | OFF} Under a multiple active result sets (MARS) session, a Transact-SQL implicit transaction becomes a batch-scoped transaction. If t...

SQL Server - Index Seek vs Index Scan

38 4/25/2017 8:23:26 PM

An index scan is where SQL server reads the whole of the index looking for matches - the time this takes is proportional to the size of the index. |–Table Scan(OBJECT:([ORDERS]), WHERE:([ORDERKEY]=(2))) An index seek is where SQL server uses the b-tree structure of the index to seek directly to matching records |–Index Seek(OBJECT:([ORDERS].[OKEY_IDX]), SEEK:([ORDERKEY]=(2)) ORDERED FORWARD) In general an index seek is preferable to an index scan (when the number of matching records is proprtionally much lower than the total number of records), as the time taken to perform an index...

What is a GAC?

42 4/25/2017 8:09:04 PM

Each computer where the common language runtime is installed has a machine-wide code cache called the global assembly cache. The global assembly cache stores assemblies specifically designated to be shared by several applications on the computer.​​ The Global Assembly Cache (GAC) is a folder in Windows directory to store the .NET assemblies that are specifically designated to be shared by all applications executed on a system. Starting with the .NET Framework 4, the default location for the global assembly cache is%windir%\Microsoft.NET\assembly. In earlier versions of the .NET Framework, the ...

What is a generic class in csharp?

41 4/25/2017 7:58:48 PM

Generic classes encapsulate operations that are not specific to a particular data type. The most common use for generic classes is with collections like linked lists, hash tables, stacks, queues, trees, and so on. Operations such as adding and removing items from the collection are performed in basically the same way regardless of the type of data being stored. Example: class BaseNodeGeneric<T> { } ...