The routing tag has no wiki summary.
12
votes
2answers
434 views
How to temporarily save the result of the query, to use in another?
I have this problem I think you may help me with.
P.S. I'm not sure how to call this, so if anyone finds a more appropriate title, please do edit.
Background
I'm making this application for ...
6
votes
4answers
304 views
When did the first “REST”-model and friendly URL web technology come to be?
Everyone knows that the "current" way to do things is to have user-readable URLs. Like:
http://example.com/blog/edit/1234
Rather than:
http://example.com/blog.php?action=edit&id=1234
When ...
5
votes
3answers
3k views
In MVC, what is the difference between controller and router?
Do they mean the same thing (attaching URLs to actions, or actions to URLs) or is there any difference I'm missing?
Example: http://github.com/dannyvankooten/PHP-Router vs. http://konstrukt.dk
5
votes
1answer
369 views
What does path finding in internet routing do and how is it different from A*?
Note: If you don't understand this question then feel free to ask clarification in the comments instead of voting down, it might be that this question needs some more work at the moment. I've been ...
5
votes
2answers
207 views
Comparison of route formats
I'm developing a new application and I'm trying to come up with a convention for defining routes. Ideally, I would like it to be simple, flexible, and reversible.
Here are some from popular ...
4
votes
1answer
151 views
How to go about designing an intermediate routing filter program to accept input and forward accordingly?
My predicament:
I designed an app, written in Python, to read my mail and check for messages that contain a certain digital signature. It opens these and looks for keywords. If the message contains ...
2
votes
2answers
182 views
Why should I should url routes to the user in a single page application?
Why a single page application is a desktop client replacement why should I show certain url`s in the url bar of the browser.
Why is mysite.com not enough.
My question to you guys is now:
What are ...
2
votes
2answers
110 views
Is is OK to use a non-primary key as the id in a rails resource?
I am getting ready to set up a resource for some new api calls to my rails application.
I am planning on calling the resource devices ie
resources :devices
This is going to represent android ...
2
votes
1answer
401 views
Should I implement slugs with my already fairly long URLs? [closed]
I'm considering implementing slugs in my blog. My blog uses MongoDB. One of the side-effects of using MongoDB is that it uses relatively long hex string IDs.
Example
before: ...
2
votes
1answer
127 views
Sub routing in a SPA site
I have a SPA site that I'm working on, I have a requirement that you can have subroutes for a page view model. Im currently using this 'pattern' for the site
MyApp.FooViewModel = MyApp.define({
...
1
vote
1answer
61 views
Web Routing Standards
We are putting together an API to provide our vendors some simplistic direct access. I've built APIs before, and have always routed them as such:
{controller}/{action}/{id}
My boss, however doesn't ...
1
vote
2answers
157 views
Dealing with an often occuring dependency that is not related to the class
I'm using view classes for my templating. These view classes often require the Routing class to get URI's from other pages. You could actually say that the Routing should be available to every view ...
0
votes
1answer
290 views
bad practice to have actions in web api controllers
I was creating a new action for a WebApi controller and tried to create a url using the following:
@Url.RouteUrl("DefaultApi", new { httproute = "", controller = "ClientApi"})
and noticed that the ...
-2
votes
1answer
51 views
AngularJS route and HTML 5 concept [closed]
I wanted to know about working of angularjs route. does it use any sort of HTML5 api or functionality ? I have just started with both of these stacks. It would be of great help..!!