>making web content>using anything but php for server side scripting, mysql for database, javascript for client side scriptingWhy are you so hipster?
Your shitty site better not break when JavaScript is disabled.
>>25107828HTML back up for users that have java script disabled but I haven't gone out of may to make the site work perfectly for IE users and display a notice telling them to download Firefox.
>>25107876>implying I let you decide which browser I use
>>25107806>PHP, HTML and CSS masterrace.>I only started webdev 3 days ago.http://awsomedude1.heliohost.org/text.php
>>25107913u wot m8
>>25107931I wot m8.
>>25107947he wot m8
>>25107961we wot m8
>>25107961they wot m8
>>25107971i fcked ur mother u faggot
>>25107806who is she?
>>25107980cum on me brah
>>25107999cum hir bro, ill beat ur sorry but
>>25108017nah bro i dun want 2fuck u bro i have ur IP
>>25107913This guy here.What colours look better?Both loosely based of yotsuba and yotsuba b.
>>25108061First one.Because pink.
>>25107913>View sourceDude, what are you doing. Holy shit. My boss can do better, and he fucked up a lot of websites already.
>>25108029What the fuck did you just say about me, you little bitch? I'll have you know I graduated top of my class in the Navy Seals, and I've been involved in numerous secret raids, and I have over 300 confirmed kills. I am trained in gorilla warfare and I'm the top sniper in the entire US armed forces. You are nothing to be but another target. I will wipe you the fuck out with precision the likes of which has never been seen before on this Earth.
>>25108091>Dude, what are you doing.I don't know what I'm doing.I'm actually suprised that I got it to a "It just werks" stage.What do you suggest that I should change?
>>25108117everything.Shit sux yo
>>25108131>Shit sux yoNoted.
>>25108117https://developer.mozilla.org/en-US/learn/htmlCome back in a month.
>>25108117Learn XHTML Strict 1.0Your source made me cringe. It's like something from 1999.
>>25108177Will do.
>>25108189While you're there, go learn Visual Basic. It'll help you in the long run
>>25107806This isn't 1999 anymore. We have things like Rails, Django, and Node that allow for much easier and more powerful web development.Also, PostgreSQL > MySQL
>>25107828Fucking this.I am sick of the reliance on google apis.
>>25108201>While you're there, go learn Visual Basic. In what ways?
>>25108213Wait, I meant to quote:>It'll help you in the long runHow will it help?
>>25108213From the ground up. Visual Basic will help you a lot later on.
>>25107806MySQL licensing terms: I can only use MySQL if my webpage is GPL licensed. The free as in beer version of DB2 has no such restriction, and neither has PostgreSQL. And MS-SQL is no more expensive than MySQL.I can also get more shit done quickly using Common Lisp with CL-WHO CSS-Lite, Hunchentoot, Parenscript and so on. You the user get javascript, css and xhtml, on a faster server.It's win-win.Oh, and idiots cannot get hired to work on my web-page, which is great news.
>>25108213He's joking. XHTML Strict 1.0CSS 2.1+JavaScriptLearn those.
>>25108223Can't tell what you're saying.
>>25108222See:>>25108221I fucked up.What way will it help me?I already know a fair bit about Python.>>25108232Okay.The reason the code looks like it's from 1999, is because the site I was learning of was from a long time ago.
>>251082230/10>MS-SQLnope.edu
>>25108177>XHTML Strict 1.0No, don't do this.XHTML is supposed to be used when you need to embed XML data.If you're serving it just as HTML you're doing it wrong.Learn HTML 4.01 and HTML5.
>>25108245Fair enough. >>25108256You're a fucking idiot.
bump
>>25108222Why the fuck would anyone recommend visual basic over languages like python or ruby?
PHP is shit, slow and insecure. Ruby or Python is much better and faster. Heck even ASP.NET and Java are better than PHP.MySQL is ok but slow so I prefer Postgre and RedisJavaScript is amazing but I implement fallbacks when it doesn't workI use Python for all my backend.
>>25108256Thanks for yout input.
>>25108256It's the fucking same
>>25108272Can you make a GUI IP tracer in 5 minutes with Pythong or Ruby? No? Okay.Visual Basic: 1Shitty pieces of shit languages: 0
>>25108283Please for the love of god ignore him.
>>25108279I see phyton being used everywhere nowadays, from websites to 3D applications, what's the deal with that? Is it really that good?
>>25108292Please for the love of god ignore this faggot.He has no idea.
OP is a fag, what is actually good for those applications he listed?
>>25108285No, it isn't.XHTML is fucking useless.
>>25107806Django seems good for server side development.What do you think about Django /g/?
>>25108307No, it isn'tRegular HTML is fucking useless.
>>25108300>>25108292I will learn XHTML.
>>25108313Yes, it is.XHTML is fucking useless.
>>25108243MySQL is only free for people who release the source for their entire stack. At that point you might as well pay for MS-SQL. Their standard table engine can deal with such advanced concepts as foreign keys.If I don't want to pay, there's motherfucking DB2 and PostgreSQL available.MySQL is good for people who want to do OSS stuff or just want to learn, but it's not good for proprietary stuff.And Common Lisp's web stack is much better than PHP's web stack.That's basically what I'm saying.>>25108252It's quite popular amongst people who're hosting an ASP.net site on IIS running on MS Windows Server 2008.It's not my cup of tea, but plenty of people are satisfied with it.
>>25108320No it isn't.XHTML is the best thing ever.
>>25108303Python (Django or Twisted), Ruby (RoR or Sinatra), MySQL/PostGre/Reddit/MongoDB as your database.
>>25108266Actually, he's right. 99% of people using XHTML are actually doing it completely wrong; they serve it as text/html which invokes the tag-soup HTML parser in the browser. They should really be using application/xhtml+xml, which involves the XML-based proper XHTML parser.Anyway, XHTML is irreleveant thanks to <!doctype html>
>Actually using XHTML oh god why? Just use regular HTML 4.* or if you are sane, HTML 5 (doctype html)Not that it matters much, nobody outside of some retard that doesn't actually get any work done cares about your syntax and if you closed a faggy bracket.
>>25108327Mongo isn't relational though, so you have to put many checks in your code instead of letting your database handle it.It's a tradeoff but many people seem to think it's worth it.I'm still enamoured by the relational model, even if I have to built ORM wrappers for my database.
>>25108329The safest bet of any website at this point in time is to use and abide by a XHTML 1.0 Strict doctype and it's standards.
>>25108327>Python (Django or Twisted), Ruby (RoR or Sinatra)For what?
>>25108326Yes, it is.XTHML is the worst thing ever.
>>25108327Remember there's also Flask, Python's parallel to Sinatrahttp://flask.pocoo.org/
>>25108340It's good for unstructured data and for being really fast.
>>25108351Actually><!doctype html>Do older browsers even know how to take this? IE6 for example?
>>25108356No, it isn'tXHTML>Regual shitty HTCL
>>25108354Server side scripts that generate the web pages.
>>25108354The backend. For front you can use pure HTML/CSS and add Javascript when you need extra stuff
>>25108351I've written everything in html5 for the past year and can get it working perfectly on every modern browser(IE9+) and without too many issues on shit as old as IE6, it's just a bit dirty how I let it work in older browsers.
>>25108318It's a waste of time.You're gonna have to serve your content as HTML anyway because IE < 9 doesn't support it, which means you'll lose ALL the benefits of XHTML.If you want maximum compatibility, use HTML 4If you want sane development and don't care about 10 year old browsers, use HTML 5.
>>25108363They don't.
>>25108351Nope. HTML5 is fully backwards compatible (it doesn't actually imply that you have to use e.g. canvases, etc.). Again, you're probably not serving it as a/x+x anyway, so it's being parsed as HTML, which happens to work because of coincidental similarities in the syntax.Read this and come back: http://hixie.ch/advocacy/xhtml
>>25108360True.As I said, it's a trade-off.
>>25108363>Do older browsers even know how to take this? IE6 for example?Yes.
>>25108388This guy is correct. IE <9 will choke on an XHTML page served as a/x+x, so until we can drop them, we'll have to serve as text/html, which means the "glorious" page will be parsed as if it were HTML anyway.
>>25108363>IE6>2012Why would you bother with that? Just go for IE8-9 and Chrome, FF3.6/4
>>25108405And by choke, I mean download prompt.
>>25108388Then I will not learn XHTML.What's on the list:>HTML 4-5.>CSS3.>Javascript ( I'll probably do this later, rather than sooner ).>SQL.In the midst of this whole XHTML shit flinging argument, /g/ has helped me a lot.Thanks men.
>>25108376Well I don't know about you, but I don't like assuming clients have HTML5 supported browsers and then copping shit when it doesn't work.>>25108406Some older clients use IE6.>>25108389>>25108399;liohtf;oisdygsdutg
>not developing for only the latest browsersWhy do you hate progress?
>>25108423No problem. And remember: XHTML is dead.
>>25108430Some people intend to have actual users.
So much misinformation in this thread.>php slower than rubyTROLOLGOGO>mysql slowTROLOLOLO>ruby fastSLAHAHASDFKLJSDFJSDF>ruby scalableI SHIVA LINGA SHAMALANGA DING DONGOP I fully agree with you. Anyone else is a butthurt faggot hipster. I use Codeigniter all day everyday.I challenge any of you faggots to build apps faster than I can. Nothing else matters until your app ships. I ship mother fucking apps. I'll ship before you're even done with your first controller.
>>25108423Don't go anywhere near HTML4 what the hell are you doing.
>>25108449HTML is HTML. If he learns HTML5 he already knows HTML4
>>25108424>;liohtf;oisdygsdutgThe only purpose of the doctype is to trigger standards mode in the browser.All the extra junk that as required in html 4 is pretty much useless because everyone ignored it anyway.<!doctype html>is enough to trigger standards mode in all browsers, even as far back as IE 6.In fact, <!doctype html niggers suck cock> would probably trigger standards mode.
>>25108449>Don't go anywhere near HTML4 what the hell are you doing.I don't know what I'm doing.That's why I asked for help.
>>25108440The fastest code is code that doesn't exist.Nothing will ship faster than nothing.
>>25108449He should know the difference between html 5 and 4, so if he bumps into compatibility problems he can work around them by dropping back to 4.
>PHPhttp://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-design/
>>25108510Who cares? I can still write apps. I can write code that others can understand. I can do it quickly. I can do it without thinking. Most of the "bad design" bullshit arguments are moot when you consider how awesome the php documentation is. It takes 2 seconds to google a function name.
>>25108440I think I've seen your work in the websites that have little retarded error messages about database connections being down in the upper left corner on the webpage.Also, the notion that nothing is good until it's shipped is only true as long as your shipping app makes, and doesn't cost money. A quickly hacked-together bank app using mysqli_connect is not going to help anyone. At that point, the bank would be better off with static html.
>>25108329If you serve it as an application, everything and everything that isn't standard xhtml breaks your page. Its far to restrictive.
>>25108424Then tell them to upgrade. For the sake of security, development time and usability. You can have more than 1 browser installed.
>>25108482That's a yes. Thank you. I'll try using the new doctype in the future.>>25108510I read through that entire article last time I saw it linked. I'll still use php anyway because it's easy and supported everywhere.
I just started HTML like 10 minutes ago.I was trying to make a simple multiple choice option table type thing.How bad is it /g/?What would be a perfect example of what I was trying?http://pastebin.com/yJG8EeNv
>>25108573They don't pay me to tell them to upgrade. They pay me for a website that works. If I told them that they'd find someone else.
>>25108546I make internal "enterprise" (herp derp derppp) apps at work.Seeing mysql errors is shit fucking retarded, I've never made an app that displayed any bullshit errors to the user. If any kind of unrecoverable error happens, the user sees an oops message and I get email about what happened. Most frameworks handle this kind of thing for you hassle free...
>>25108577Close off tags that you start<option></option>
>>25108626That includes </select> and good on you for using indenting.
>>25108648>>25108626Ahh, thanks.I was not aware that those needed to be closed.
>>25108594So they rather pay more to create something that is shit than create something that is less? And they won't appeal to common sense? Even if it's advise from an "expert"? I wonder what country you live in, so I can avoid it like the plague.
>>25108675you clearly have not done any consulting or worked a real job ever.
>>25108702Ohh but I have. That's why I would advise my customers to upgrade. I will still make something that just works without wasting resources.
>>25108670Rule of thumb: Close off all tags, always.Shit like <br> should be closed with <br />.That way, when you need to parse the markup later, it's a lot easier.
>>25108675Australia. [spoiler]Stay away.[/spoiler]
>>25108753>spoiler>on /g/I should stop posting on other boards
>>25107806I work with Python+Django at work. But for small projects PHP works fine.http://anonsleepover.org/
>>25108297>what's the deal with that?It's a beautiful language. It's pure pleasure to write Python. The only thing holding it back is CPython (it's default implementation). Fucking GIL, man.
>>25108577This guy here.Another quick question.When using php, if I want to use HTML do I still use indentation inside echos?Like:http://pastebin.com/7GifwUiG
>>25108901Only to make it more readable yes, otherwise no.
>>25108823I have just ONE thing holding me back from learning Python. Whitespace used as the method for closing a block of code. That makes me angry and want to hurl. I want an "end" or ; or } or something goddammit.
>>25108922Learn Ruby then.
>>25108934I did. Following that exact train of thought, in fact.
>>25107913>http://awsomedude1.heliohost.org/text.php>that source codelolthat's funny
>>25108922Oh god. That is by far my favorite feature. It forces people to make actually readable code. If you don't like that then you can fuck right off to Java.
>>25108901If you're using HTML inside a .PHP file you don't even have to use php to show it. Only php code should go inside php tags.
>>25108980I know, I just put them there... for the fuck of it.
>>25108961Read his post again... slowly