www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Convert C# code to D

reply "Suliman" <evermind live.ru> writes:
I have got site written on ASP.NET MVC. I am thinking about 
porting it's from C# to D. What steps I need to do to complete 
this work?
May 04 2013
next sibling parent "Idan Arye" <GenericNPC gmail.com> writes:
On Saturday, 4 May 2013 at 12:31:16 UTC, Suliman wrote:
 I have got site written on ASP.NET MVC. I am thinking about 
 porting it's from C# to D. What steps I need to do to complete 
 this work?

A complete rewrite of the code?
May 04 2013
prev sibling next sibling parent Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
On 5/4/13 8:31 AM, Suliman wrote:
 I have got site written on ASP.NET MVC. I am thinking about porting it's
 from C# to D. What steps I need to do to complete this work?

Stay tuned for the recording of this talk: http://dconf.org/talks/wilson.html Andrei
May 04 2013
prev sibling next sibling parent "Adam Wilson" <flyboynw gmail.com> writes:
On Sat, 04 May 2013 05:31:15 -0700, Suliman <evermind live.ru> wrote:

 I have got site written on ASP.NET MVC. I am thinking about porting it's  
 from C# to D. What steps I need to do to complete this work?

My talk will be posted sometime soon and when it is you'll see how some of the basic steps are performed, for the moment however, I STRONGLY suggest looking into Vibe.d. That project should be able to do large chunks of the work you are doing, but note that it's not a strict MVC implementation so the porting process might be less straightforward than normal. The author of that project also gave a talk here: http://dconf.org/talks/panteleev.html -- Adam Wilson IRC: LightBender Project Coordinator The Horizon Project http://www.thehorizonproject.org/
May 06 2013
prev sibling next sibling parent "Dicebot" <m.strashun gmail.com> writes:
On Monday, 6 May 2013 at 22:13:58 UTC, Adam Wilson wrote:
 The author of that project also gave a talk here: 
 http://dconf.org/talks/panteleev.html

As far as I understand, Vladimir is not really part of RejectedSoftware team and, if any single person can be called vibe.d author, than it is Sönke Ludwig for sure. I am afraid small misunderstanding has just happened ;)
May 07 2013
prev sibling next sibling parent "Vladimir Panteleev" <vladimir thecybershadow.net> writes:
On Monday, 6 May 2013 at 22:13:58 UTC, Adam Wilson wrote:
 On Sat, 04 May 2013 05:31:15 -0700, Suliman <evermind live.ru> 
 wrote:

 I have got site written on ASP.NET MVC. I am thinking about 
 porting it's from C# to D. What steps I need to do to complete 
 this work?

My talk will be posted sometime soon and when it is you'll see how some of the basic steps are performed, for the moment however, I STRONGLY suggest looking into Vibe.d. That project should be able to do large chunks of the work you are doing, but note that it's not a strict MVC implementation so the porting process might be less straightforward than normal. The author of that project also gave a talk here: http://dconf.org/talks/panteleev.html

Hmm, haven't I said I wasn't a web developer? ;) I've contributed a few patches to Vibe, but its creator is Sönke Ludwig. For MVC, there's Zeal, Christopher Nicholson-Sauls's MVC framework on top of Vibe.d: http://registry.vibed.org/packages/zeal https://github.com/csauls/zeal.d
May 07 2013
prev sibling next sibling parent "Adam Wilson" <flyboynw gmail.com> writes:
On Tue, 07 May 2013 11:32:49 -0700, Vladimir Panteleev  =

<vladimir thecybershadow.net> wrote:

 On Monday, 6 May 2013 at 22:13:58 UTC, Adam Wilson wrote:
 On Sat, 04 May 2013 05:31:15 -0700, Suliman <evermind live.ru> wrote:=


 I have got site written on ASP.NET MVC. I am thinking about porting =



 it's from C# to D. What steps I need to do to complete this work?

My talk will be posted sometime soon and when it is you'll see how so=


 of the basic steps are performed, for the moment however, I STRONGLY =


 suggest looking into Vibe.d. That project should be able to do large =


 chunks of the work you are doing, but note that it's not a strict MVC=


 implementation so the porting process might be less straightforward  =


 than normal. The author of that project also gave a talk here:  =


 http://dconf.org/talks/panteleev.html

Hmm, haven't I said I wasn't a web developer? ;) I've contributed a fe=

 patches to Vibe, but its creator is S=F6nke Ludwig.

 For MVC, there's Zeal, Christopher Nicholson-Sauls's MVC framework on =

 top of Vibe.d:
 http://registry.vibed.org/packages/zeal
 https://github.com/csauls/zeal.d

My misunderstanding. You certainly know a lot about vibe.d! :-) -- = Adam Wilson IRC: LightBender Project Coordinator The Horizon Project http://www.thehorizonproject.org/
May 07 2013
prev sibling parent "Jonathan M Davis" <jmdavisProg gmx.com> writes:
On Tuesday, May 07, 2013 20:32:49 Vladimir Panteleev wrote:
 Hmm, haven't I said I wasn't a web developer? ;) I've contributed
 a few patches to Vibe, but its creator is Sönke Ludwig.

I thought that you were pretty clear in your talk that it was Sönke who created vibe.d, but I guess that some people missed that. - Jonathan M Davis
May 07 2013