Click here to Skip to main content
15,944,136 members
Home / Discussions / Web Development
   

Web Development

 
QuestionWhich Typescript compiler is used by VS2015 during compile on save Pin
GRAyers9-Dec-16 2:29
GRAyers9-Dec-16 2:29 
QuestionUsing Multiple jQuery Scripts Pin
Liagapi8-Dec-16 0:11
Liagapi8-Dec-16 0:11 
AnswerRe: Using Multiple jQuery Scripts Pin
Peter Leow8-Dec-16 0:53
professionalPeter Leow8-Dec-16 0:53 
GeneralRe: Using Multiple jQuery Scripts Pin
Liagapi8-Dec-16 1:17
Liagapi8-Dec-16 1:17 
GeneralRe: Using Multiple jQuery Scripts Pin
Peter Leow8-Dec-16 1:29
professionalPeter Leow8-Dec-16 1:29 
GeneralRe: Using Multiple jQuery Scripts Pin
Liagapi8-Dec-16 2:07
Liagapi8-Dec-16 2:07 
GeneralRe: Using Multiple jQuery Scripts Pin
Peter Leow8-Dec-16 2:24
professionalPeter Leow8-Dec-16 2:24 
GeneralRe: Using Multiple jQuery Scripts Pin
Nathan Minier9-Dec-16 1:47
professionalNathan Minier9-Dec-16 1:47 
You're looking for a technology called Asynchronous Module definitions (AMD). In general, breaking down actual required JavaScript into separate files that are loaded into the browser is an anti-pattern, because it creates more overhead and load times. JS files are loaded synchronously by default, so a file must be fully loaded before another is even requested.

A common tactic is to bundle and minify (uglify) multiple files into a single one for performance gain. If you have optional components that may or may not be needed in a specific execution workflow, you can separate that functionality out and call it at runtime with a module loader that uses AMD like requirejs.

Since you're using jQuery, have a look at How to use RequireJS with jQuery[^]
"There are three kinds of lies: lies, damned lies and statistics."
- Benjamin Disraeli

QuestionLooping through list of attributes minus 2 items Pin
Christopher Cote5-Dec-16 2:59
Christopher Cote5-Dec-16 2:59 
AnswerRe: Looping through list of attributes minus 2 items Pin
Richard MacCutchan5-Dec-16 6:23
mveRichard MacCutchan5-Dec-16 6:23 
GeneraliFrame Content to Fit iFrame Size Pin
AndreTrollip4-Dec-16 22:38
AndreTrollip4-Dec-16 22:38 
SuggestionRe: iFrame Content to Fit iFrame Size Pin
Member 78438108-Dec-16 1:17
Member 78438108-Dec-16 1:17 
GeneralRe: iFrame Content to Fit iFrame Size Pin
AndreTrollip22-Dec-16 6:04
AndreTrollip22-Dec-16 6:04 
QuestionHow to create python flask web application in visual studio 2013 with SQL server? Pin
davood rz1-Dec-16 7:40
davood rz1-Dec-16 7:40 
Rant[REPOST] How to create python flask web application in visual studio 2013 with SQL server? Pin
Richard Deeming1-Dec-16 11:04
mveRichard Deeming1-Dec-16 11:04 
QuestionSignalR “signalr/hubs” showing 404 error while connecting Pin
Anil chean30-Nov-16 20:18
professionalAnil chean30-Nov-16 20:18 
AnswerRe: SignalR “signalr/hubs” showing 404 error while connecting Pin
Afzaal Ahmad Zeeshan1-Dec-16 7:11
professionalAfzaal Ahmad Zeeshan1-Dec-16 7:11 
QuestionIIS and Printing Pin
Zeyad Jalil29-Nov-16 0:52
professionalZeyad Jalil29-Nov-16 0:52 
AnswerRe: IIS and Printing Pin
Nathan Minier29-Nov-16 1:27
professionalNathan Minier29-Nov-16 1:27 
SuggestionRe: IIS and Printing Pin
Richard Deeming29-Nov-16 2:08
mveRichard Deeming29-Nov-16 2:08 
GeneralRe: IIS and Printing Pin
ZurdoDev29-Nov-16 2:38
professionalZurdoDev29-Nov-16 2:38 
GeneralRe: IIS and Printing Pin
Nathan Minier29-Nov-16 3:31
professionalNathan Minier29-Nov-16 3:31 
QuestionOne Project Pin
Member 1287040825-Nov-16 2:29
Member 1287040825-Nov-16 2:29 
AnswerRe: One Project Pin
cp-andy25-Nov-16 6:37
cp-andy25-Nov-16 6:37 
AnswerRe: One Project Pin
Afzaal Ahmad Zeeshan1-Dec-16 7:16
professionalAfzaal Ahmad Zeeshan1-Dec-16 7:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.