[Monodevelop-devel] Google Summer of Code - Razor and MVC 3

Rafael Teixeira monoman at gmail.com
Fri Mar 23 18:10:43 UTC 2012


If you look at
http://haacked.com/archive/2011/01/06/razor-syntax-quick-reference.aspx you'll
see that even syntax-highlighting isn't a simple task, as there are many
conditions for transitioning between html and code blocks and back in the
syntax, but yes it is the simplest goal. Code completion is a lot harder
and I don't think the individual parsers for HTML and C# are easily
reusable, as there is some difficulty in keeping a sane shared context for
both, probably it would be needed a refactoring of both to accommodate the
needs of a Razor-compatible code completion engine.

Said that some partial goals can be set and achieved towards enabling
editing Razor views, and on the general workflow of creating a MVC 3 app in
MonoDevelop. Don't give up.

Fun,

Rafael "Monoman" Teixeira
---------------------------------------
"The most exciting phrase to hear in science, the one that heralds new
discoveries, is not 'Eureka!' (I found it!) but 'That's funny ...'"
Isaac Asimov
US science fiction novelist & scholar (1920 - 1992)


2012/3/23 Sparek <sparekd at gmail.com>

>  Hi,
>
> My name is Peter and I’d like to participate in developing MD under GSoC
> 2012. I have some experience in web development in .NET hence the projects
> related to ASP .NET MVC draw my attention. I’m particularly interested in
> adding Razor syntax support to Mono Develop – syntax highlighting, code
> completion, new project templates etc. - but I have some questions that
> hopefully could be answered by more experienced developers.
>
> My questions are generally about the difficulty of the task. I started
> browsing the code and investigating the add-ins. I’ve also read several
> articles for developers but I can’t precisely assess the complexity of the
> Razor support task. I think that adding syntax highlighting wouldn’t be too
> hard, but a good Razor parser and code completion seems to me a bit
> challenging.  Am I right or is it just the wrong impression? Will it be
> possible to use the existing ASP and HTML parsers to provide Razor syntax
> support?  I’d be grateful for some feedback so that I could prepare a
> feasible timeline for my application.
>
> I’d also like to ask if you have any other ideas related to mvc, maybe of
> greater importance than Razor, that you would like to have implemented.
> Support for MVC 3 from your tasks list seems like an important thing to me.
> What features in this area are most important to you? Adding new templates
> and project types that guarantee building and running mvc 3 without any
> hacks, bug fixing, maybe something else?
>
> Thanks in advance for your help.
>
> Regards,
> Piotr Dowgiallo
>
> _______________________________________________
> Monodevelop-devel-list mailing list
> Monodevelop-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-devel-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodevelop-devel-list/attachments/20120323/26599677/attachment.html>


More information about the Monodevelop-devel-list mailing list