The Lounge is rated PG. If you're about to post something you wouldn't want your
kid sister to read then don't post it. No flame wars, no abusive conduct, no programming
questions and please don't post ads.
Maybe this is a well worn topic but hey, I've been away for a while. Got forum email notifications enabled, but no emails. Am I missing something obvious, or did the hamsters just get lazy in my absence?
Okay, I know, no elephant programming questions in the longue, but...
I'm talking with a friend about building a web-site, no I won't be stupid enough to try and write anything, and the choice of language has come up. Well what would you go with?
Think of a transactional site - fleebay et al - with users logged on and placing adverts with others retrieving and answering adds. Sounds like Griff's Bring-A-Ewe really. Well the question is if you had a clean sheet what trchnology would you employ.
Answer nicely and I won't come back for another week. Anything stupid and I1ll be on you all before the gin wears off.
Reality is an illusion caused by a lack of alcohol
Answer nicely and I won't come back for another week.
I have already asked myself "two weeks are already gone again??".
No seriously, either use ASP.Net + MVC or PHP when you want to build it all yourself, Joomla! or WordPress when you want it more CMS style.
Never use any suspect-looking technologies as QML or a web emulator for C++ if you have not worked with them before, IMO too much risk.
Web services for the majority of the back end - in your language of choice (I'd use c# but anything you're familiar with is the best language)
I would probably use the 'familiarity over functionality' approach for the back end web site too - in my asp.net web forms - or use it as an opportunity to learn asp mvc properly - but I have yet to see a financial advantage of mvc over well written web forms.
Depending on the site, I would use very little back end web forms stuff anyway - as plain HTML and js wi web services will give you the majority of what you need, I think.
Since you said "language" and not "framework" or "system" then, based on where you are currently, I would suggest "Hungarian".
- I would love to change the world, but they won’t give me the source code.
<blockquoteclass="FQ"><divclass="FQA">Nagy Vilmos wrote:</div>I'm talking with a friend about building a web-site</blockquote><blockquoteclass="FQ"><divclass="FQA">Nagy Vilmos wrote:</div>no I won't be stupid enough to try and write anything</blockquote>
The report of my death was an exaggeration - Mark Twain
The main language itself doesn't really matter, so long as you've got a backpropagation routine on the back end, which will eventually learn which tossers visitors aren't actually going to buy anything, and send them off to waste Amazon's bandwidth.
I wanna be a eunuchs developer! Pass me a bread knife!
If you can't go with one of the established CMS's, that is: You can do a hell of a lot with Wordpress, and it's really easy to work with. (Yes I know it's written in PHP, but if you don't have to touch the code itself, that doesn't really matter - All the .NET CMS's I know of are crap!)
Why can't I be applicable like John? - Me, April 2011 ----- Beidh ceol, caint agus craic againn - Seán Bán Breathnach ----- Da mihi sis crustum Etruscum cum omnibus in eo! ----- Just because a thing is new don’t mean that it’s better - Will Rogers, September 4, 1932
For small and unsophisticated sites (especially where the client is really just dipping their toe in the water) I use PHP: (e.g. http://www.cultech.org/[^] to give some idea of the level). PHP has the benefit of generally cheaper (even free) hosting and setting up a LAMP server to develop against is totally free.
For anything else, asp.net obviously. Unless you are writing "forms" style apps ASP.NET Forms is better, though in general I prefer ASP.NET MVC (the MVC patter forces good discipline and you don't fight the way the web works quite as much, so coming up with pleasing front-ends is easier IMO). MVC is reliant on finding someone who knows what they are doing with it obviously.
I've heard Ruby on Rails is very good, but haven't tried it in earnest.
“Education is not the piling on of learning, information, data, facts, skills, or abilities - that's training or instruction - but is rather making visible what is hidden as a seed” “One of the greatest problems of our time is that many are schooled but few are educated”
Programming elephants is hard. It requires many years of training. You will probably need one of the Indian languages (or central African ones, if you meant that sort of elephant).
If you're going for free or cheap hosting then you'll want to be in PHP/mySQL because it's commonly provided in these packages. PHP is a bit crap but not really that bad. When I just want to knock out a website I usually use it because it's so easy to host.
If you have a freer choice of server technology then you probably want to make a first version in something quick, like Rails/Ruby. A 'professional' solution these days should really use ASP.net MVC.
I've noticed on technology centric forums that the Emo perspective is sometimes lacking.
In the interests of a more well rounded community I've offered this item for your enjoyment.
I'm working on something for a science fiction piece, and I'm hoping the biggest gathering of geeks I'm a part of can help.
The specific problem: I have a large sphere (a space ship, thanks for asking) with a radius of 450 meters. This gives it a surface area of 2,544,961 m2 (A = 4πr<sup>2</sup>) Embedded in the surface are projectors that each create a force field 4m in diameter. I want to know how many projectors I would need to completely encase the sphere with absolutely no breaks. Overlap is fine, and variables such as the relative angle of neighboring forcefields or the distance of the force fields from the surface of the sphere can be considered negligible and thus irrelevant.
The general problem: If the answer could come with a generalized algorithm that I can apply to spheres of other sizes, I would be most appreciative.
It would be pretty easy to approximate an answer, but an exact answer may be very difficult. For one, I'm not sure there's an exact spacing between projectors that is easily quantifiable (e.g., may depend on size of sphere and size of projector). You could probably decide on some spacing strategy, such as a honeycomb-like pattern, but I doubt it would be perfectly optimal (i.e., there'd be more overlap than necessary).
That just might. If I think of the ship as a geodesic sphere having a radius of 450 meters, made up of polygons having edges of 4 meters or less, I can put a projector at each vertex and get what I need. That may be too many projectors but redundancy is definitely good. Thanks.