What Is Faster MVC Or Ruby On Rails
Nov 16, 2010
I am investing some time in learning ASP.NET and more specifically ASP.NET MVC and I am curious how it stacks up to the competition. I really like what I am seeing so far with the framework, and I think the icing on the cake would be if it shows rock solid speed like I have seen with some ASP.NET form sites.
Has anyone done or seen fair comparisons or benchmarks? I would be interested to see how ASP.NET MVC stacks up against other solutions such as PHP MVC too.
View 2 Replies
Similar Messages:
Nov 30, 2010
If you were starting a new web development project would you use ASP.Net MVC 2 or Ruby on Rails?
I have recently invested some time in to learning Ruby on Rails because I wanted to learn a solid web development framework. Then I took a new job where I will be using ASP.Net MVC 2.
I know this question is very subjective, but I am planning to write some websites on my own, outside of work, and I would like to get some opinions from others.
View 4 Replies
Jan 8, 2010
In Ruby on Rails you can write a simple controller action such as:
def index
@movies = Movies.find(:all)
respond_to do |format|
format.html #index.html.erb
format.xml { render :xml => @movies }
format.json { render :json => @movies }
end
end
For those unfamiliar with RoR, def index in this case would be the equivalent of public ActionResult Index() within an ASP.Net MVC Controller and would allow the following calls:
[URL] returns as an html page from the view index.html.erb (think index.aspx)[URL] returns the same data in xml format (@movies is the object containing the data all of the views use)[URL] returns a JSON string, useful when making javascript calls needing the same data/logic
An equivalent flow in ASP.Net MVC would (if possible) likely look something like this (if it could be less verbose, even better):
[code]....
View 3 Replies
May 13, 2010
My friend and I want to write a Facebook application. We've narrowed down the list of possible technologies to Ruby on Rails and C# with ASP. Here are the pros and cons we've thought of.
Cons:
ASP - proprietary tools like Visual Studio etc. cost (lots of) money. We both don't know ASP (although we're not bad at C#).
RoR - It's scripting so might be harder to maintain. My friend doesn't know RoR at all (but he's a fairly proficient programmer so will probably be able to pick it up quickly).
Pros:
ASP - Facebook has an official SDK for .NET.
RoR - I know RoR. It's open source, free and has fast development time.
What says the community? Is there something we haven't thought of?
View 2 Replies
Mar 27, 2010
I am a PHP developer migrating to C# ASP.Net Framework. As of right now, I am experienced in using Php for developing sites and I use CakePhp and Zend framework as my RAD tools to produce better applications.
As I move over to ASP.NET, I have this view that C# ASP.Net framework itself is already a RAD tool and is equivalent to using Cakephp, Zend, or even Ruby on Rails. So I really shouldn't have no concerns trying to find a separate library for ASP.NET that will better applications. To me, in a sense the ASP.NET is already like a MVC cause it seperates the model from the view and the methods are almost like controllers.
View 1 Replies
Mar 12, 2010
I need to create a simple webservice in C# but I'm not sure where to start (I've coded UI apps in C# before but all my web experience is in Ruby on Rails). Where do I start?
The only client for the webservice will be a Ruby on Rails app so there's no need for any HTML rendering. I was thinking of just returning a XML or YAML formatted string unless there's an easier way. I'm not too keen on SOAP but if it's easy/natural in C# & Ruby then I'd consider it (or anything else).
View 4 Replies
May 8, 2010
I want to build a scalable dynamic Web Application. I have never programmed an Object Oriented language before. Or, let's just say I am completely new to programming, because the previous experiences aren't worth talking about.
I know I have a really big task ahead of me ^^ but I wanted to get into coding for the last 10 years and now that I'm finally doing it, I would like to know how to get there in the most efficient way.
Any good books/tutorials you could recommend?
View 4 Replies
Dec 3, 2010
I'm predominantly a .Net developer but am wanting to look into ruby on rails.
Has anyone else been in this situation? And can they recommend any good books/tutorials/general resources for someone wanting to cross over?
View 3 Replies
Mar 29, 2010
I'm new to ASP.NET MVC and come from a Ruby on Rails background. In Ruby on Rails you can use the "runner" script (http://guides.rubyonrails.org/command_line.html#runner) to load up the app along with the rails framework and then run a script that accesses the model, etc. I use this to run scripts that fetch data from other databases and then insert it into my app's db using the methods on the model classes.s there a similar option in ASP.NET MVC?
View 3 Replies
Jan 20, 2010
Now before I dive too far into this this question, I am aware of nDjango and MonoRail; however, those project seem to be lacking.What I'm wondering is if there is a solution out in the .Net world that has the following features out of a single box like Rails has in Ruby or Django has for Python. I know tools that do pieces but am curious if there's 1 unified solution out there.
Database Versioning/Migrations
ORM or similar code gen
MVC-based
Pre-generated administrative screens
View generation
Theming / styling
(I'm sure I'm forgetting another cornerstone feature)
There's lots of options that cover one or more of these aspects but is there something in .Net that covers all of them?
View 5 Replies
Feb 2, 2010
A fast function for scanning text for urls and turning them into html hyperlinks would be very nice... I'd write one but I feel like the odds of someone already having written one are high...
View 1 Replies
Nov 8, 2010
We have a very large .net site using the sql membershipprovider offered by .net. We need to join this to a ruby on rails project - allowing login to both platforms. The ruby project shoudl be able to read and write to the .net's profile information - but additionally may store extra records against the user. The .net user record should always be the master, with logins anthenticated against this. What is the best way to open up this membership provider - via api or similar. We need something that is easy to snap into the RoR solution but secure enough and extenable enough to meet our needs. Is there some way to add on openID or similar to the .net project - and would this be what is recommended or is there a better standard to allow us to link our users.
Other features we would need to have shared are: shared email address, email verification email for both platforms. Both systems have independent CRMs and email systems so unsubscribing from these would also need to be linked preferably with an independent unsubscribe system.
View 2 Replies
Jun 28, 2010
Lets say its just for a simple website with pages such as Home, About, Contacts, etc..
View 1 Replies
Jul 20, 2010
How to make sql query run faster . Below is my query:
SELECT [FieldValue2] = case isdate(FieldValue2) When '1' then
case isdate(FieldValue4) When '0' then
dbo.GetCountagingDay(FieldValue2, getdate(), '') -1
else
'0'
end
else
'0'
end
FROM test
View 6 Replies
Jun 15, 2010
I have a gridview which displays data for all employees and their images (stored in database).
The images take more time to render completely when i click sort or paging or reload.
I'm using httphandler to display image as stream.
Is there a way i can speed up this image loading?
View 1 Replies
Oct 17, 2010
i want to know whether views or stored procedures are faster. i am developing application in asp.net with sql server. Which one should i use for good performance of asp.net application.
View 2 Replies
Dec 11, 2010
i find a lot of websites that have some parts in the page that uses ajax much more faster than i used to see ajax requests
like changing views using tabs when i click a tab it changes content very fast than i used to in my web applications using Asp.Net and Ajax Control Toolkit
and also a very quick paging in repeaters or grids than i ever developed in my web apps
like this website [URL] i need to know which technology used to achieve this this website is developed using .net
so
but i need to know is this needs another technology to learn (from where can i learn it)
or is it just asp.net + ajax or whth other technology
is it MVC
also i want to know if MVC is better than asp.net + ajax in concern with performance
View 4 Replies
Mar 30, 2011
Are you experienced with both ASP.NET and WPF coding? If so, I'll be grateful if you'll share your experience, We are estimating a 100-screen WPF project. Our estimation methodology involves characterizing the complexity of each screen. We then apply a standard number for the development time, based on the complexity and the technology. The standard number is based on the developer being good, not a super-star.
For example, here's a screen:
[Code]....
View 3 Replies
Mar 21, 2011
How to load asp.net webpages faster using .htaccess..
what was the coding for .htaccess so that the webpages loads faster ..i have hosted my site on .ixwebhosting.
View 1 Replies
Mar 1, 2011
Why does ASP.NET pages render time on Chrome and FF is ~ 3X the render time on IE ??This problem only persist on my local machine, but when published to the real server the complete opposite happens (expected, as FF and Chrome outperform IE).
I tried Windows 7 x64 and Windows XP x86 with FF 3.6, Chrome 9, and IE 8.
Is there any thing I can do on IIS or in the web config to fix this behavior ?
EDIT: In response to the responses an domments:
I don't have these issues when running PHP + apache, or JSP
I noticed this behavior when doing a debugging session in VS or after deploying on IIS
Modifying the hosts file did improve Chrome and FF response time indeed, but still slower than IE !
View 2 Replies
Jul 6, 2010
Possible Duplicate: Regex.IsMatch vs string.Contains Which is faster, preferable and why?What the difference in mechanisms between two?I need to search for some values from UserAgent, most of values can be used without wildcards (e.g. if I want to catch cellular phones I search for iPhone instead of *iPhone* wildcards).
View 1 Replies
Jan 4, 2010
Which processing is fast Client-side or Server-side? for client side processing browser need to download every JavaScript first and in server side programming everything happens on server without downloading anything to user PC? if for a particular functionality we have solution in both javascript and php/asp then what should be chosen and why?
View 3 Replies
Dec 11, 2010
i find a lot of websites that have some parts in the page that uses ajax much more faster than i used to see ajax requests
like changing views using tabs when i click a tab it changes content very fast than i used to in my web applications using Asp.Net and Ajax Control Toolkit
and also a very quick paging in repeaters or grids than i ever developed in my web apps
like this website [URL]
so i need to know which technology used to achieve this this website is developed using .net
but i need to know is this needs another technology to learn (from where can i learn it)
or is it just asp.net + ajax or whth other technology is it MVC
also i want to know if MVC is better than asp.net + ajax in concern with performance
View 5 Replies
Nov 30, 2010
i need to build web program that connect to sql-server-2008 with 50 user's that run query and update the database. i need a fast real-time web program. what will be faster asp.net or ajax ?
View 4 Replies
Feb 12, 2011
Does asp:Image tag perform faster than normal HTML img tag? I have 20 images to show on a web page (tiny images) and I have no idea which one to use.
View 5 Replies