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

More Related Content

PDF
From Shabby to Chic
PPTX
Powershell enum
PPTX
mongoose
PPT
Tipo music-ui-規劃原則
PDF
2013 jsdc webworker
PPT
Ken 20150306 心得分享
PPTX
Introduction of lambda expression and predicate builder
PPT
Raphael JavaScript Library
From Shabby to Chic
Powershell enum
mongoose
Tipo music-ui-規劃原則
2013 jsdc webworker
Ken 20150306 心得分享
Introduction of lambda expression and predicate builder
Raphael JavaScript Library

Similar to Learning tech week_1_james (11)

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

More from LearningTech (20)

PPTX
PPTX
PostCss
PPTX
ReactJs
PPTX
Docker
PPTX
Semantic ui
PPTX
node.js errors
PPTX
Process control nodejs
PPTX
Expression tree
PPTX
SQL 效能調校
PPTX
flexbox report
PPTX
Vic weekly learning_20160504
PPTX
Reflection & activator
PPTX
Peggy markdown
PPTX
Node child process
PPTX
20160415ken.lee
PPTX
Peggy elasticsearch應用
PPTX
Expression tree
PPTX
Vic weekly learning_20160325
PPTX
D3js learning tips
PPTX
git command
PostCss
ReactJs
Docker
Semantic ui
node.js errors
Process control nodejs
Expression tree
SQL 效能調校
flexbox report
Vic weekly learning_20160504
Reflection & activator
Peggy markdown
Node child process
20160415ken.lee
Peggy elasticsearch應用
Expression tree
Vic weekly learning_20160325
D3js learning tips
git command
Ad

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