Click here to Skip to main content
15,889,315 members
Home / Discussions / JavaScript
   

JavaScript

 
GeneralRe: Shopping Cart Qty Button - I need to make it faster Pin
enhzflep24-Jun-13 12:15
enhzflep24-Jun-13 12:15 
GeneralRe: Shopping Cart Qty Button - I need to make it faster Pin
jkirkerx24-Jun-13 12:33
professionaljkirkerx24-Jun-13 12:33 
GeneralRe: Shopping Cart Qty Button - I need to make it faster Pin
enhzflep24-Jun-13 12:53
enhzflep24-Jun-13 12:53 
QuestionJavascript, KnockoutJS (and possibly TypeScript) Pin
_Maxxx_19-Jun-13 18:32
professional_Maxxx_19-Jun-13 18:32 
AnswerRe: Javascript, KnockoutJS (and possibly TypeScript) Pin
AlphaDeltaTheta19-Jun-13 19:00
AlphaDeltaTheta19-Jun-13 19:00 
GeneralRe: Javascript, KnockoutJS (and possibly TypeScript) Pin
_Maxxx_20-Jun-13 1:29
professional_Maxxx_20-Jun-13 1:29 
GeneralRe: Javascript, KnockoutJS (and possibly TypeScript) Pin
AlphaDeltaTheta20-Jun-13 1:37
AlphaDeltaTheta20-Jun-13 1:37 
AnswerRe: Javascript, KnockoutJS (and possibly TypeScript) Pin
Payrok17-Jul-13 5:45
Payrok17-Jul-13 5:45 
_Maxxx_ wrote:
I mean, physically, do you create a single JS file per ViewModel and a single HTML file for the view ? Do you put them in the same folder, or have everything at the root?


I've used both Knockoutjs and Typescript in a project. I kept my jquery knockout etc in the Scripts folder, but then created a folder structure that matched the namespaces of my project.
At that point, if I were working on controls for the application, I would create all my VM's and HTML files separately but keep them together in that folder.


_Maxxx_ wrote:
Also, does anyone have experience using Typescript with KnockoutJs. I'm just about to start and would appreciate any help/advice.


Typescript is a great tool for developing javascript. As a C# developer initially, it made the transition to javascript rather painless. The features in the latest release which include being able to develop with generics has the potential to greatly reduce the amount of code needed to be written by hand for a project.

Typescript also has ambient declaration files that support a wide range of javascript libraries. You can find them all here.

Hope this helps! Big Grin | :-D
"In the middle of difficulty lies opportunity." Albert Einstein

GeneralRe: Javascript, KnockoutJS (and possibly TypeScript) Pin
_Maxxx_17-Jul-13 13:01
professional_Maxxx_17-Jul-13 13:01 
GeneralLooking for team Pin
ashkanpower17-Jun-13 23:03
ashkanpower17-Jun-13 23:03 
GeneralRe: Looking for team Pin
Richard MacCutchan17-Jun-13 23:35
mveRichard MacCutchan17-Jun-13 23:35 
GeneralRe: Looking for team Pin
ashkanpower18-Jun-13 0:49
ashkanpower18-Jun-13 0:49 
QuestionHTML issue with IE. Pin
InderK17-Jun-13 3:17
InderK17-Jun-13 3:17 
AnswerRe: HTML issue with IE. Pin
Richard Deeming17-Jun-13 4:46
mveRichard Deeming17-Jun-13 4:46 
GeneralRe: HTML issue with IE. Pin
InderK19-Jun-13 1:25
InderK19-Jun-13 1:25 
AnswerRe: HTML issue with IE. Pin
Dholakiya Ankit10-Aug-13 1:43
Dholakiya Ankit10-Aug-13 1:43 
AnswerRe: HTML issue with IE. Pin
Dholakiya Ankit12-Sep-13 1:10
Dholakiya Ankit12-Sep-13 1:10 
Questionjquery/jquerymobile - image inside collapsible>listview Pin
Prasoon Chaudhary13-Jun-13 6:57
Prasoon Chaudhary13-Jun-13 6:57 
QuestionjQuery - getting selected item of dynamic listview Pin
Prasoon Chaudhary13-Jun-13 6:13
Prasoon Chaudhary13-Jun-13 6:13 
AnswerRe: Free java online course Pin
dusty_dex12-Jun-13 2:15
dusty_dex12-Jun-13 2:15 
GeneralRe: Free java online course Pin
Richard MacCutchan12-Jun-13 2:30
mveRichard MacCutchan12-Jun-13 2:30 
GeneralRe: Free java online course Pin
dusty_dex12-Jun-13 7:02
dusty_dex12-Jun-13 7:02 
QuestionPassing objects byref between html windows Pin
tiwal11-Jun-13 23:30
tiwal11-Jun-13 23:30 
QuestionCalling a function from within a function question Pin
Calufrax1211-Jun-13 14:06
Calufrax1211-Jun-13 14:06 
AnswerRe: Calling a function from within a function question Pin
Dennis E White11-Jun-13 15:40
professionalDennis E White11-Jun-13 15:40 

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.