SlideShare una empresa de Scribd logo
1 de 9
LEARNINGTECH –
WEEK 1
James Chen
LINQ
• Similar to regular SQL
• fluent syntax
• Query syntax
var query = names.Where ( name =>
name.EndsWith(“y”) );
var query =
from n in names
where n.EndsWith ( “y” )
select n;
LINQ
• joins
• grouping
var query =
from c in Customers
join p in Purchases on c.ID equals p.CustomerID
select c.Name + " bought a " + p.Description;
from p in Purchases
group p.Price by p.Date.Year into
salesByYear
select new
{
Year = salesByYear.Key,
TotalValue = salesByYear.Sum()
}
jQuery
• jQuery Core
• Selection
• EX: $( “div” )
• Traversing
• EX: $( “#content” ).children( “div” )
• Data
• EX: .data ( key, value )
$( "li" ).hover(
function() {
$( this ).css( "border", "outset grey 3px" );
$( this ).children().css( "color", "white" );
},
function() {
$( this ).css( "border", "solid black 3px" );
$( this ).children().css( "color", "grey" );
}
).mousedown( function() {
$( this ).css( "border", "inset grey 3px" );
$( this ).children().css( "color", "grey" );
}).mouseup ( function() {
$( this ).css( "border", "outset grey 3px" );
$( this ).children().css( "color", "white" );
});
jQuery
• jQuery UI
• free-source plugins
• convenient way for interactive user interface
MVC
• Basic understanding of MVC theory
• Java
• jsp
• PHP
• Never used ASP.NET MVC
• Mostly similar with pervious experience
Combining
• Built sample testing website using MVC
• Small sample DB
• Some jQuery code
• Display list, edit, create, delete
• Planning to add more functionality if time allows
Learning Experience
• Has experience with basic aspects
• More advanced than what was taught and used
• The more I read, the more I realize there is more to learn
References
• Jquery.com
• http://msdn.microsoft.com/en-us/library/vstudio/67ef8sbd.aspx
• http://www.asp.net/mvc
• LINQPad4 samples

Más contenido relacionado

Similar a Learning tech week_1_james

How I Learned to Stop Worrying and Love jQuery (Jan 2013)
How I Learned to Stop Worrying and Love jQuery (Jan 2013)How I Learned to Stop Worrying and Love jQuery (Jan 2013)
How I Learned to Stop Worrying and Love jQuery (Jan 2013)
David Giard
 
Javascript Libraries
Javascript LibrariesJavascript Libraries
Javascript Libraries
elliando dias
 

Similar a Learning tech week_1_james (11)

jQuery for beginners
jQuery for beginnersjQuery for beginners
jQuery for beginners
 
How I Learned to Stop Worrying and Love jQuery (Jan 2013)
How I Learned to Stop Worrying and Love jQuery (Jan 2013)How I Learned to Stop Worrying and Love jQuery (Jan 2013)
How I Learned to Stop Worrying and Love jQuery (Jan 2013)
 
Mongo db 101 dc group
Mongo db 101 dc groupMongo db 101 dc group
Mongo db 101 dc group
 
Javascript Libraries
Javascript LibrariesJavascript Libraries
Javascript Libraries
 
CREATE INDEX … USING VODKA. VODKA CONNECTING INDEXES, Олег Бартунов, Александ...
CREATE INDEX … USING VODKA. VODKA CONNECTING INDEXES, Олег Бартунов, Александ...CREATE INDEX … USING VODKA. VODKA CONNECTING INDEXES, Олег Бартунов, Александ...
CREATE INDEX … USING VODKA. VODKA CONNECTING INDEXES, Олег Бартунов, Александ...
 
Jquery
JqueryJquery
Jquery
 
An introduction to jQuery
An introduction to jQueryAn introduction to jQuery
An introduction to jQuery
 
bcgr3-jquery
bcgr3-jquerybcgr3-jquery
bcgr3-jquery
 
bcgr3-jquery
bcgr3-jquerybcgr3-jquery
bcgr3-jquery
 
WordPress for the 99%
WordPress for the 99%WordPress for the 99%
WordPress for the 99%
 
Super spike
Super spikeSuper spike
Super spike
 

Más de LearningTech (20)

vim
vimvim
vim
 
PostCss
PostCssPostCss
PostCss
 
ReactJs
ReactJsReactJs
ReactJs
 
Docker
DockerDocker
Docker
 
Semantic ui
Semantic uiSemantic ui
Semantic ui
 
node.js errors
node.js errorsnode.js errors
node.js errors
 
Process control nodejs
Process control nodejsProcess control nodejs
Process control nodejs
 
Expression tree
Expression treeExpression tree
Expression tree
 
SQL 效能調校
SQL 效能調校SQL 效能調校
SQL 效能調校
 
flexbox report
flexbox reportflexbox report
flexbox report
 
Vic weekly learning_20160504
Vic weekly learning_20160504Vic weekly learning_20160504
Vic weekly learning_20160504
 
Reflection & activator
Reflection & activatorReflection & activator
Reflection & activator
 
Peggy markdown
Peggy markdownPeggy markdown
Peggy markdown
 
Node child process
Node child processNode child process
Node child process
 
20160415ken.lee
20160415ken.lee20160415ken.lee
20160415ken.lee
 
Peggy elasticsearch應用
Peggy elasticsearch應用Peggy elasticsearch應用
Peggy elasticsearch應用
 
Expression tree
Expression treeExpression tree
Expression tree
 
Vic weekly learning_20160325
Vic weekly learning_20160325Vic weekly learning_20160325
Vic weekly learning_20160325
 
D3js learning tips
D3js learning tipsD3js learning tips
D3js learning tips
 
git command
git commandgit command
git command
 

Learning tech week_1_james

  • 2. LINQ • Similar to regular SQL • fluent syntax • Query syntax var query = names.Where ( name => name.EndsWith(“y”) ); var query = from n in names where n.EndsWith ( “y” ) select n;
  • 3. LINQ • joins • grouping var query = from c in Customers join p in Purchases on c.ID equals p.CustomerID select c.Name + " bought a " + p.Description; from p in Purchases group p.Price by p.Date.Year into salesByYear select new { Year = salesByYear.Key, TotalValue = salesByYear.Sum() }
  • 4. jQuery • jQuery Core • Selection • EX: $( “div” ) • Traversing • EX: $( “#content” ).children( “div” ) • Data • EX: .data ( key, value ) $( "li" ).hover( function() { $( this ).css( "border", "outset grey 3px" ); $( this ).children().css( "color", "white" ); }, function() { $( this ).css( "border", "solid black 3px" ); $( this ).children().css( "color", "grey" ); } ).mousedown( function() { $( this ).css( "border", "inset grey 3px" ); $( this ).children().css( "color", "grey" ); }).mouseup ( function() { $( this ).css( "border", "outset grey 3px" ); $( this ).children().css( "color", "white" ); });
  • 5. jQuery • jQuery UI • free-source plugins • convenient way for interactive user interface
  • 6. MVC • Basic understanding of MVC theory • Java • jsp • PHP • Never used ASP.NET MVC • Mostly similar with pervious experience
  • 7. Combining • Built sample testing website using MVC • Small sample DB • Some jQuery code • Display list, edit, create, delete • Planning to add more functionality if time allows
  • 8. Learning Experience • Has experience with basic aspects • More advanced than what was taught and used • The more I read, the more I realize there is more to learn