Features wanted

21 views
Skip to first unread message

rekna

unread,
Nov 5, 2009, 8:12:45 PM11/5/09
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

mvbaffa

unread,
Nov 6, 2009, 4:45:23 AM11/6/09
to Scriptsharp
I would add:

* Integrated Support for jQuery. I use now jQuerySharp, it is working
OK but it would be better to
have a direct access from Script#
* Integrated with Microsoft Ajax Library Client supporting Observers,
DataViews, etc
Reply all
Reply to author
Forward
0 new messages