Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Logging user in and out
Message
Information générale
Forum:
ASP.NET
Catégorie:
MVC
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01597445
Message ID:
01597623
Vues:
39
>Ah interesting stuff, is is the preferred way to write script code in views or should one have them as code files ?

OK for a snippet like that but, in general, best to put javascipt in a separate file:

(a) allows minification
(b) is a step in the direction of better design - eg. MV* in angular.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform