[QUOTE=nullsquared;22009048]Okay so it is as I thought - HTML and CSS are for the actual interface of the website, and then one of ASP.NET/PHP are for the website logic. I'll look into those two, thanks :smile:[/QUOTE]
PHP is the easy way, yes, but since you're still learning, I'd suggest going with ASP.NET, it has a lot more functionality built-in, it's actually made for OOP and it's much easier to debug (you get to use Visual Studio). It's all a preference thing though, and not a lot of hosts support ASP.NET (usually means going with Mono).
Don't use Notepad++ for ASP.NET though, that's what VS was made for.
nullsquared, go with ASP.NET. You're experienced enough to know good programming practices. If you have mono set up on your server or you have a windows server just use ASP.
[QUOTE=hdalv;21995541]You're an experienced coder so you won't run into trouble if you use common sense. Hope you end up liking it.
[highlight](User was permabanned for this post ("VladH" - cosmic duck))[/highlight][/QUOTE]
Vladh. Why did you use my proxy server to access facepunch? You got me perma banned :(
[QUOTE=Maccabee;22011827]Vladh. Why did you use my proxy server to access facepunch? You got me perma banned :([/QUOTE]
Yes you'll get an answer from a permabanned user.
Another great post by Maccabee.
[QUOTE=compwhizii;22012090]Yes you'll get an answer from a permabanned user.
Another great post by Maccabee.[/QUOTE]
It was a redundant question.
[QUOTE=Maccabee;22015061]It was a [highlight]rhetorical[/highlight] question.[/QUOTE]
:eng101:
[QUOTE=Maccabee;22015061]It was a redundant question.[/QUOTE]
Another great post by Maccabee.
[QUOTE=HeroicPillow;22015193]:eng101:[/QUOTE]
Ah, that makes more sense.
[editline]03:08AM[/editline]
[QUOTE=compwhizii;22015659]Another great post by Maccabee.[/QUOTE]
Is that like my slogan? If I had a signature I would put that there.
[QUOTE='-[ Fizzadar ]-;21995638']MD5 has collisions. Sha1 is possibly cracked, use sha256/sha512 for the best security.[/QUOTE]
All hashes where the output is shorter than the possible input have collisions, it's just that flaws in the MD5 algorithm have been found which lets an attacker find collisions with relatively little computational effort.
[editline]07:24PM[/editline]
[QUOTE=Maccabee;22015759]Is that like my slogan? If I had a signature I would put that there.[/QUOTE]
Not something you should be proud of buddy
[editline]07:27PM[/editline]
[QUOTE=nullsquared;22009048]Okay so it is as I thought - HTML and CSS are for the actual interface of the website, and then one of ASP.NET/PHP are for the website logic. I'll look into those two, thanks :smile:[/QUOTE]
A few pointers.
1. [b]Don't use PHP under any circumstances.[/b]
2. When using ASP.NET, [b]don't use ASP.NET Web Forms[/b]. Either use ASP.NET MVC (you should use this), or do what I do and use a subset of ASP.NET Web Forms that isn't harmful.
3. [b]Don't use PHP under any circumstances.[/b]
4. If you need ASP.NET hosting, hit me up.
5. [b]Don't use PHP under any circumstances.[/b]
Anyway, welcome to the Web Programming forum :buddy:
[QUOTE=compwhizii;22012090]Yes you'll get an answer from a permabanned user.
Another great post by Maccabee.[/QUOTE]
Not knowing that VladH would eventually come back to answer it anyway
Another great post by compwhizii
[QUOTE=Offline;22019042]Not knowing that VladH would eventually come back to answer it anyway
Another great post by compwhizii[/QUOTE]
no, he really wouldn't bother.
[QUOTE=turb_;22018951]All hashes where the output is shorter than the possible input have collisions, it's just that flaws in the MD5 algorithm have been found which lets an attacker find collisions with relatively little computational effort.
[editline]07:24PM[/editline]
Not something you should be proud of buddy
[editline]07:27PM[/editline]
A few pointers.
1. [b]Don't use PHP under any circumstances.[/b]
2. When using ASP.NET, [b]don't use ASP.NET Web Forms[/b]. Either use ASP.NET MVC (you should use this), or do what I do and use a subset of ASP.NET Web Forms that isn't harmful.
3. [b]Don't use PHP under any circumstances.[/b]
4. If you need ASP.NET hosting, hit me up.
5. [b]Don't use PHP under any circumstances.[/b]
Anyway, welcome to the Web Programming forum :buddy:[/QUOTE]
In defence of PHP, turb_ just dislikes it. I use it with no issues.
Alright, here's one example:
Say a function returns an array, but you only want the 2nd element of that array.
[php]
$var = myfunction()[1];
[/php]
Woops, syntax error.
[editline]07:58PM[/editline]
[QUOTE=Offline;22019042]Not knowing that VladH would eventually come back to answer it anyway
Another great post by compwhizii[/QUOTE]
[img]http://ahb.me/1Qs[/img]
Fitting.
turb_ What about Joomla and PHP based CMSs?
You can use them if you want. Odds are if you're using a CMS, then you don't want to dabble in the technical side.
However, that said, it would still be better to use something like DotNetNuke (for the speed alone)
[editline]08:57PM[/editline]
Yes, I'm aware of HipHop for PHP. You could compile a PHP based CMS with that and it would be fast.
Helps if you only want a fast CMS based website, but doesn't change the fact that PHP is a shit language.
[editline]08:59PM[/editline]
My opinion at the end of the day is that for running a webapp, I don't really care what it is written in, as long as you're happy with how it's running.
When developing, I believe that those using PHP are really missing out on what they could enjoy in alternate languages.
[QUOTE=turb_;22018951]All hashes where the output is shorter than the possible input have collisions, it's just that flaws in the MD5 algorithm have been found which lets an attacker find collisions with relatively little computational effort.
[editline]07:24PM[/editline]
Not something you should be proud of buddy
[editline]07:27PM[/editline]
A few pointers.
1. [b]Don't use PHP under any circumstances.[/b]
2. When using ASP.NET, [b]don't use ASP.NET Web Forms[/b]. Either use ASP.NET MVC (you should use this), or do what I do and use a subset of ASP.NET Web Forms that isn't harmful.
3. [b]Don't use PHP under any circumstances.[/b]
4. If you need ASP.NET hosting, hit me up.
5. [b]Don't use PHP under any circumstances.[/b]
Anyway, welcome to the Web Programming forum :buddy:[/QUOTE]
For 1, 3 and 5 you can go fuck yourself.
I don't get why you guys like PHP so much considering there's so much better stuff out there.
[QUOTE=Zayfox;22019115]In defence of PHP, turb_ just dislikes it. I use it with no issues.[/QUOTE]
That you know of. You don't know how bad something is until you discover something better. There are still people coding in Visual Basic, for example.
[QUOTE=turb_;22020972]I don't get why you guys like PHP so much considering there's so much better stuff out there.[/QUOTE]
Because it's a very simple language and gets the job done just fine.
[QUOTE=turb_;22020972]I don't get why you guys like PHP so much considering there's so much better stuff out there.[/QUOTE]
Because not everyone is a ASP.NET fanboy.
PHP does what its designed to do, why not use it?
[QUOTE=EDDY TT;22023068]PHP does what its designed to do, why not use it?[/QUOTE]
PHP might do what "it's designed to do", but it does it [b]very poorly[/b]. The whole concept of having a web server simply execute whatever PHP file you have on the document root is flawed, and so is the PHP design idea of mixing HTML and business logic (yes, frameworks and templating systems exist to avoid this, but that's doesn't change the fact that the language is basically designed for the purpose: to be a [b]templating language[/b]).
With pretty much any other web programming language from ASP.NET to the likes of Java, Ruby or Python, the execution flow begins at some kind of handler class that interfaces with the web server. I'll use Python as an example here - if you don't want to develop using a framework like Django or Pylons but instead start working on a bare minimum (like an empty "index.php" file), you'd want to implement your own [url=http://en.wikipedia.org/wiki/Web_Server_Gateway_Interface]WSGI handler[/url] which in turn processes page requests, renders templates, et cetera. Some libraries like [url=http://www.sinatrarb.com/]Sinatra[/url] (Ruby) exist to abstract things like these away but yet keep the environment at a minimum.
In fact, the reason that you can simply drag and drop a PHP file that instructs the server to print out "Hello World!" is probably the reason PHP is so popular: it's obvious that it seems "simpler" and "easier to learn", but it also encourages very poor coding practices. Only someone with a *lot* of experience in PHP would actually engineer some kind of system that encourages clean coding (like a simple MVC implementation). [url=http://maurus.net/resources/programming-languages/php/]This rant[/url] puts it the best:
[quote]“PHP makes it easy to get things done for a beginner”
This statement is absolutely, positively, true. I taught a course on PHP, so I know. While all Programming 101 courses that start with Java will spend a lot of time explaining things that beginners have a hard time to understand, like OOP principles and so on, PHP lets you connect to a database in no time. MySQL support? It’s filed right under “mysql”. A PHP page at first relates to exactly one HTML page. This concept makes you feel powerful. Something most other programming languages, at least at first, don’t.[/quote]
Languages like Ruby and Python also encourage much better coding practices - as an example, instead of dragging and dropping libraries to your code directory, real package management (RubyGems, easy_install) is used. PHP of course has PEAR but it's sad to see how seldom it's actually used.
[quote]Because not everyone is a ASP.NET fanboy.[/quote]
Ad hominem arguments do not enforce your case.
[QUOTE=nullsquared;22009048]Okay so it is as I thought - HTML and CSS are for the actual interface of the website, and then one of ASP.NET/PHP are for the website logic. I'll look into those two, thanks :smile:[/QUOTE]
They aren't the only logic backends available!
Obviously, there's something like rails, and also there's a whole bunch of stuff for python, too (django is the most well known, but I also really quite like web.py, and there's a whole bunch more - on top of which, you can "roll your own", using your own controller, templating system and ORM).
I would also echo the opinion that PHP is not a great way to do things: it was designed to be embedded into HTML files to add little "tid-bits" of functionality, not the whole MVC thing is is currently designed for.
Turb, you always advicate that we don't use PHP but I've seen more down time and errors on your websites than any of mine that use PHP.
I only like PHP because it's what I'm used to, and I have WordPress to thank for that. Still, I like it as a language, it's slowly moving in the right direction with PHP6 too (very slowly). I guess I also like it because it's so common amongst Open Source software which I can learn from and customize.
I've been recoding the Muxdos Tape page layout from scratch.
What do you guys like better? Keep in mind the [url=http://muxdos.com/test.html]styling of Muxdos[/url].
The old style - [url]http://muxdos.com/tapenew.html[/url]
The new style - [url]http://muxdos.com/tapenewnew.html[/url]
i like it!
[QUOTE=:awesome:;22030626]i like it![/QUOTE]
Which one?
I like the newer one
[QUOTE=cosmic duck;22030472]I've been recoding the Muxdos Tape page layout from scratch.
What do you guys like better? Keep in mind the [url=http://muxdos.com/test.html]styling of Muxdos[/url].
The old style - [url]http://muxdos.com/tapenew.html[/url]
The new style - [url]http://muxdos.com/tapenewnew.html[/url][/QUOTE]
Define your font sizes in em or pt and the text will look a lot better. Some browsers disable anti-aliasing on text when it's size is given in px.
After some research, I'm going with php for now. Supported on more servers at a smaller cost than Windows servers for ASP.NET, or possibly risking support with Linux servers running Mono for ASP.NET. Plus, I can get free hosting from my friend if I use PHP because his servers don't have ASP.NET support.
Essentially my target site will:
- provide information about my software
- provide a trial download of my software
- provide a purchasing option for my software (about this: what do you guys think of using PayPal's payment API? Less work on me, more secure for the customers.)
- provide forums for feature requests, comments, and possibly support
Sorry, you need to Log In to post a reply to this thread.