Is there much overhead in having many MVC routes? [closed] - asp.net-mvc

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I have an application that now has three Areas and each have around eight different route definitions. In the future I may need to add more.
From a performance point of view is there much overhead to having this number of definitions?
Is there any performance benefit to be gained by having the most common route show up first?

It is normal to have more routes, but you need to know that regexp constraint is working very slow.
You cannot place most common route first because then all other routes will never work.

Related

Is there a Best Practice for using Streambuilders in Flutter? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 2 years ago.
Improve this question
I've been reading up on the BloC pattern and there are some really amazing post out there that go into concise and very clear detail on how to use it:
Thomas Burkhart
Didier Boelens
Filip Hracek
Brian Egan
The only problem I've found, is that all the examples I've seen have been fairly simple apps, and I wanted to know if you are building a complex app that has several pages/ screen, how many StreamBuilders are appropriate to have? Granted it doesn't seem like there is an alternative to rebuild a widget using the Bloc pattern beside FutureBuilder, but I assume that there is a cost to have so many streams that are active.

Node.js vs Ruby on Rails [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
Which one is more futureproof at this point?
Which one is better for creating simple web apps in smallest time?
This also might be a question of JS vs Ruby, what do you think of this?
What are the pros and cons of each?
I suggest you do more google on this topic because it is a very general topic. However these articles offer some comprehensive comparisons:
http://ilikekillnerds.com/2014/07/should-i-use-ruby-on-rails-or-node-js-for-my-next-projectstartup/
http://fabianosoriani.wordpress.com/2011/09/11/when-to-ruby-on-rails-when-to-node-js/

What Sort of Things Would a Programmer Put in the ActiveRecord::Base class? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
So I am new to rails and just started learning it today. I was wondering what sort of code a programmer would put in the ActiveRecord::Base class. I have a general idea about MVC so I want to know specifically about the Base class not about what I would generally find in the Model.
Thanks. :)
The programmers who create Rails put this into ActiveRecord::Base.
An average programmer who uses Rails (i.e. develops a Rails application) would typically not touch it.

Rails best practices [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
Can anyone help me with few indication about best way to do few things.
At this point I am in a situation where I have a task(.rake), and the code become so ugly that I need to split it out. So if I will create another file, probably a module with multiple classes and methods or just methods, where should I put the file (libs probably?)? (this file may be used by models as well). Also if I want to do the same or a module?
Any books, tutorials, articles, and opinions are welcomed.
Thank you
Check out the Rails Guides for an introduction - beyond that, there are many different [opinionated] resources on the matter, ie:
Railscasts

What tasks are F# most suitable for? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I've read a lot about F# and seen sample code of some of the nice features, like piping.
For a random business application, what modules would be best suitable for being programmed in F#, or would benefit the most in readability/clearness?
There are many questions like this already. See for example:
https://stackoverflow.com/questions/328329/why-should-i-use-f
https://stackoverflow.com/questions/47315/f-real-world-apps
https://stackoverflow.com/questions/179332/anyone-actually-using-f-in-production
https://stackoverflow.com/questions/39492/where-can-f-actually-save-time-and-money
(Marked this as community wiki, so that others can add other relevant links)

Resources