rekna
unread,Nov 5, 2009, 8:12:45 PM11/5/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Scriptsharp
What features would you like to see in ScriptSharp?
Here are mine :
* support for anonymous objects to implement plain Javascript object
* an attribute that will allow to determine which method name will be
generated (usefull in stub classes, when a function only differs in
the return type)
* integration in VS2008 for 'scriptlets' in MVC projects, basically,
it would be nice if each view in MVC could have its scriptsharp code
behind for writing javascript.
* shared classes (between scriptlets and MVC code) to pass data to a
scriptlet. Currently the [Record] attribute on a class makes this
class being implemented as a plain Javascript object. It's very
usefull as a parameter for configuration of plugins. It would be nice
if this object could be create server side and passed as an argument
to a scriptlet on the view.
* support for object initializer so I can write something like Person
p = new Person { Name="John", Lastname="Doe"};. translating to plain
Javascript objects var p = { Name="john",Lastname="Doe"}; Now I have
to use Dictionary, but Dictionary does not allow strong type
parameters, no code completion as well.
* easy anonymous delegates, using lambda expressions, eg, to write
event handler for click event
* support for generating syntax to implement jquery extensions