Tag Info

New answers tagged

1

I have used two different scenario's in the past. /id/some-slug where the id is used to lookup, the slug not. Thus the slug can be anything. But, when the slug does not match with the actual slug, the user is redirected to the current version. /permalink for cases where we didn't want an id in the url or where the url should never change, even though there ...


1

What happens when the document or product is renamed? HTTP response 301 (Moved) was designed for this purpose. If any client goes to the old URI you simply send them the new URI and they can redirect to that. The sliding-doors bit is non-unique and just generated from the video title, it could be verified on GET, so if gliding-doors was entered and ...


5

Keeping the ID in the URL is the most future proof method and as you demonstrated, the URLs can still look relatively good. Another option used by multiple projects is to keep an history of previously used slugs. When the title changes, you update the slug and if someone tries looking for an obsolete slug, search in the list of old slugs. That way old slugs ...


0

From a RESTful standpoint, URIs should follow a predictable and perphaps hierarchical structure to enhance usability. This will make them easier to use by consumers. If your data has relationships, then some sort of hierarchy would be necessary. It looks like the scheme is : \video\[name]\[id] If the name isn't being used for any further classification ...


0

Regarding the code: C++ is already commonly used cross platform for non UI code, there was a recent presentation on how dropbox accomplishes this: http://oleb.net/blog/2014/05/how-dropbox-uses-cplusplus-cross-platform-development/ Since you intend on using C++, the non-UI code can be shared regardless of the UI decision. That might make it easier to just ...


0

What do you prefer, using a single codebase for multiple platforms, or fully merge with each platform design requirements and features? Directly use the performance of a native application or deal with the webkit speed and limitations (compared to fully native code)? In my opinion: A) I haven't tried Marmalade, so I don't know about the performance or ...


2

Disclaimer: I am not a lawyer. When you make a business decision based on advise from strangers on the internet and you get sued, it's your fault. First of all, the GPL does not forbid commercial activity. It explicitly allows you to charge for distribution. Article 4 reads: You may charge any price or no price for each copy that you convey That means ...


0

If your software doesn't (dynamically) link to the GPL-ed server software and runs in a separate process from the server itself, then your software is considered to be a independent work (not derived from the server) from a copyright perspective. This means that you can choose any license for your software, including a closed source one that prohibits ...



Top 50 recent answers are included