• What are you working on? v6
    4,671 replies, posted
  • Avatar of TeratybeS
  • [QUOTE=BrettJay;31152620]That thread you made claiming to teach design but confusing it with HTML and CSS :v:[/QUOTE]Well ok you have a point but I wasn't nearly [I]as bad[/I] as those people. And anyway if that's your point then you've been bad too at some point. Everyone has. [editline]16th July 2011[/editline] [QUOTE=H4Z3Y;31152445]the entire second half of waywo v5.[/QUOTE]That's another category of "being bad"
  • Avatar of StinkyJoe
  • [QUOTE=TeratybeS;31152681]Well ok you have a point but I wasn't nearly [I]as bad[/I] as those people. And anyway if that's your point then you've been bad too at some point. Everyone has. [editline]16th July 2011[/editline] That's another category of "being bad"[/QUOTE] You just made a counter-argument to your own previous post. You've been as bad as those people, we all have. I've seen your recent code and it's absolutely awful (remember you open-sourced qfi.im?), you have no regards for standards or best practices and boast about it like some badge of honor, you can't structure your way out of a cardboard box, you have a self-inflated ego the size of a small country with zero consistency to back it all up, and if someone so much as points something out in your work you go into this little passive-aggressive fit that makes me cringe every single time. [editline]16th July 2011[/editline] You look smashing today, BrettJay. *wink*
  • Avatar of hzy
  • [QUOTE=StinkyJoe;31152796]You just made a counter-argument to your own previous post. You've been as bad as those people, we all have. I've seen your recent code and it's absolutely awful (remember you open-sourced qfi.im?), you have no regards for standards or best practices and boast about it like some badge of honor, you can't structure your way out of a cardboard box, you have a self-inflated ego the size of a small country with zero consistency to back it all up, and if someone so much as points something out in your work you go into this little passive-aggressive fit that makes me cringe every single time.[/QUOTE] snap
  • Avatar of BrettJay
  • [QUOTE=TeratybeS;31152681]Well ok you have a point but I wasn't nearly [I]as bad[/I] as those people. And anyway if that's your point then you've been bad too at some point. Everyone has.[/QUOTE] No doubt I was bad at one time; I never claimed that I was never an amateur at web development though; I also never aspired to teach people before I actually understood what I was teaching, not that enthusiasm on your part is a bad thing :v: This forum is open to anyone and everyone, and there's certainly a varied degree of experience and skill amongst the people that post here. But I think it's important that people are patient with new users and beginners - provided they're not being arrogant or deliberately annoying - because we've all been there and can relate to just starting out. I find arrogance much more annoying than ignorance. Someone who knows nothing about web development but is humble and eager to learn is a much more welcome member of the community for me than someone who knows a thing or two about web development but refutes any sort of criticism or suggestion because they think they alone know best. I'm not saying that anyone here is like that, but I don't see any reason to not help out new members unless they're being arrogant and refusing to take on board any help they're offered. [editline]wasd[/editline] [QUOTE=StinkyJoe;31152796]Harsh words of truth, and something about TerabyteS too[/QUOTE] Never leave us, StinkyJoe.
  • Avatar of TeratybeS
  • [QUOTE=StinkyJoe;31152796]You just made a counter-argument to your own previous post. You've been as bad as those people, we all have. I've seen your recent code and it's absolutely awful (remember you open-sourced qfi.im?), you have no regards for standards or best practices and boast about it like some badge of honor, you can't structure your way out of a cardboard box, you have a self-inflated ego the size of a small country with zero consistency to back it all up, and if someone so much as points something out in your work you go into this little passive-aggressive fit that makes me cringe every single time. [editline]16th July 2011[/editline] You look smashing today, BrettJay. *wink*[/QUOTE] [QUOTE=BrettJay;31153009]No doubt I was bad at one time; I never claimed that I was never an amateur at web development though; I also never aspired to teach people before I actually understood what I was teaching, not that enthusiasm on your part is a bad thing :v: This forum is open to anyone and everyone, and there's certainly a varied degree of experience and skill amongst the people that post here. But I think it's important that people are patient with new users and beginners - provided they're not being arrogant or deliberately annoying - because we've all been there and can relate to just starting out. I find arrogance much more annoying than ignorance. Someone who knows nothing about web development but is humble and eager to learn is a much more welcome member of the community for me than someone who knows a thing or two about web development but refutes any sort of criticism or suggestion because they think they alone know best. I'm not saying that anyone here is like that, but I don't see any reason to not help out new members unless they're being arrogant and refusing to take on board any help they're offered.[/QUOTE]Yeah I realized my comment was entirely arrogant and dumb after posting that reply to your post above, I guess we all have to learn to get to where we want to get, and I realize I'm not the best of the line either. I'm not gonna try and make up excuses for this, I'm genuinely sorry.
  • Avatar of spidersdesign
  • [QUOTE=TeratybeS;31153104]Yeah I realized my comment was entirely arrogant and dumb after posting that reply to your post above, I guess we all have to learn to get to where we want to get, and I realize I'm not the best of the line either. I'm not gonna try and make up excuses for this, I'm genuinely sorry.[/QUOTE] If everyone did the decent thing and ended what has the potential to turn into another argument like this then the thread would be a much better place. Well Done TerabyteS. [editline]16th July 2011[/editline] Is it just me or do you get half way through a project and have to restructure all the elements and classes because your CSS is a mess. I never sit down and actually plan which classes I am going to use in order to maximise reuse until the very end.
  • Avatar of BrettJay
  • [QUOTE=spidersdesign;31153412]Is it just me or do you get half way through a project and have to restructure all the elements and classes because your CSS is a mess. I never sit down and actually plan which classes I am going to use in order to maximise reuse until the very end.[/QUOTE] It's not just you. If I write out the markup and css in a single session, I find I can keep it relatively organised and clean. Going back to code from ~6 months ago and making changes, however, is a different story. I tend to format my css with indentations - something a lot of people don't do. I also try and be as minimal with my css declarations as possible, use short-hand, etc. There are definitely a lot of different ways to format css, just try and find a style that suits you. [quote][url="http://brettjones.me/i/css-formatting.PNG"][img]http://brettjones.me/i/css-formatting.PNG[/img][/url][/quote]
  • Avatar of spidersdesign
  • [QUOTE=BrettJay;31154377]It's not just you. If I write out the markup and css in a single session, I find I can keep it relatively organised and clean. Going back to code from ~6 months ago and making changes, however, is a different story. I tend to format my css with indentations - something a lot of people don't do. I also try and be as minimal with my css declarations as possible, use short-hand, etc. There are definitely a lot of different ways to format css, just try and find a style that suits you.[/QUOTE] You are a genius - why am I not doing this? I really want to be able to do: [css] #id { /*some styles*/ .class { /*some more styles*/ } } [/css] without any javascript parsers - dunno why it wasn't part of the original spec. The only issue that I can think with that is being able to distinguish between #id.class and #id .class which could have been cleared up with a double dot or something. It would have made CSS so much better. It wasn't actually the structure of the CSS file that I was referring to but the use of the classes within the project - I always tend to use too many classes. Each unique element pretty much has its own class. I also tend to set something like float:left; on .setting div. As 60% of the divs float left but then have to add .no-float to all the other ones and it just ends up being messy. I suck at logically using classes to maximise code reuse.
  • Avatar of Jelly
  • [QUOTE=spidersdesign;31154511]You are a genius - why am I not doing this? I really want to be able to do: [css] #id { /*some styles*/ .class { /*some more styles*/ } } [/css] without any javascript parsers - dunno why it wasn't part of the original spec. The only issue that I can think with that is being able to distinguish between #id.class and #id .class which could have been cleared up with a double dot or something. It would have made CSS so much better. It wasn't actually the structure of the CSS file that I was referring to but the use of the classes within the project - I always tend to use too many classes. Each unique element pretty much has its own class. I also tend to set something like float:left; on .setting div. As 60% of the divs float left but then have to add .no-float to all the other ones and it just ends up being messy. I suck at logically using classes to maximise code reuse.[/QUOTE] There are implementations of [url=http://lesscss.org/]Less[/url] in Ruby and PHP. Hell, there are even apps that automatically compile it into CSS.
  • Avatar of spidersdesign
  • [QUOTE=Jelly;31154666]There are implementations of [url=http://lesscss.org/]Less[/url] in Ruby and PHP. Hell, there are even apps that automatically compile it into CSS.[/QUOTE] [QUOTE=SpidersDesign] without any javascript parsers [/QUOTE] That requires a js parser - I shouldn't have to compile my CSS.
  • Avatar of Jelly
  • [QUOTE=spidersdesign;31154809]That requires a js parser - I shouldn't have to compile my CSS.[/QUOTE] The Less [url=http://incident57.com/less/]Mac app[/url] automatically compiles it when it detects a change. [editline]17th July 2011[/editline] There are also implementations in php and ruby. What'd be so hard as to point to "css/style.php?file=style.css" instead of "css/style.css"?
  • Avatar of Bellmanator
  • Spent all day yesterday remaking a website for my friend. I honestly didn't spend too much time on the design/layout and more on pretty CSS animations and its ability to view various pages without actually reloading the page. [quote][img]http://i.imgur.com/uBhxL.png[/img][/quote] [URL="http://garrysmodrailworks.com/home"]http://garrysmodrailworks.com/home C[/URL]C please.
  • Avatar of somecoder
  • [QUOTE=spidersdesign;31154809]I shouldn't have to compile my CSS.[/QUOTE] Are you really saying you shouldn't have to compile your CSS from an non-standard implementation to one that conforms to standards? Are you that braindead?
  • Avatar of Sharpshooter
  • [QUOTE=spidersdesign;31154511]You are a genius - why am I not doing this?[/QUOTE] I thought the whole indentation thing was pretty standard practice. Well when your writing your css in a vertical manor at least anyways.
  • Avatar of zzlawlzz
  • I'm trying to make a cms. I have no design yet since im terrible at designs. [url]http://zzlawlzz.com/testing/home[/url] Not yet functional. stupid header wont work because im using includes so i have to use meta refresh... [editline]fake edit[/editline] [url]http://msdn.microsoft.com/en-us/library/cc351024(v=vs.85).aspx[/url] :tinfoil:
  • Avatar of spidersdesign
  • [QUOTE=Jelly;31154929]The Less [url=http://incident57.com/less/]Mac app[/url] automatically compiles it when it detects a change. [editline]17th July 2011[/editline] There are also implementations in php and ruby. What'd be so hard as to point to "css/style.php?file=style.css" instead of "css/style.css"?[/QUOTE] I'm taking a look at the mac app now - provided it isn't buggy then I might well use that. As for your second suggestion (in the quote above) I primarily use wordpress and wordpress uses the css file to identify the theme (it has to be called styles.css) and would therefore not be practical to implement something like this as plugins depend on knowing where the css file is. [editline]16th July 2011[/editline] [QUOTE=somecoder;31155578]Are you really saying you shouldn't have to compile your CSS from an non-standard implementation to one that conforms to standards? Are you that braindead?[/QUOTE] That isn't what I said. I was saying how stupid the people were who did the original CSS spec that I am having to compile CSS which is an interpreted language (if you can call it a language) and the whole point of interpreted languages is they aren't compiled. Now the browser will see something different from what I coded which makes alterations harder as my usual: right click > inspect element > see the list of declarations with corresponding line number won't work as the line number in my LESS file is obviously different to the compiled version. I was just stating that it shows how short-sighted the W3C people were that we are now inventing our own implementation that we have to compile to CSS. [editline]16th July 2011[/editline] [QUOTE=Sharpshooter;31155863]I thought the whole indentation thing was pretty standard practice. Well when your writing your css in a vertical manor at least anyways.[/QUOTE] I just checked a few WordPress themes I have and it doesn't appear to be used in them. What are the CSS conventions? Should you use underscores or hyphens? I think that because CSS is so simple and accessible things like conventions are overlooked by many and as a result there isn't any defined conventions anymore ( a quick Google search returns several different lists with little overlap and lots of contradictions). That is one of the things i dislike about PHP - the lack (until several years after it was mainstream) of a list of conventions. substr should really be sub_str Wordpress code is all lowercase (except for some class names) with underscores between words which is against the current convention of camel casing everything. [editline]16th July 2011[/editline] I find people's attitude of "Shall I give a helpful response that gives the guy a chance to explain - nah I'll hurl some insults" pretty imature. Not helpful (as well as the fact that it was the response to a quote that I hadn't made - he clarified my point with something completely different and then decided to call me "braindead" for something I never said): [quote] Are you that braindead? [/quote] This is actually helpful: [quote] Would it really be too hard to do style.php?style=style.css? ... [/quote]
  • Avatar of StinkyJoe
  • [QUOTE=spidersdesign;31156387]I'm taking a look at the mac app now - provided it isn't buggy then I might well use that. As for your second suggestion (in the quote above) I primarily use wordpress and wordpress uses the css file to identify the theme (it has to be called styles.css) and would therefore not be practical to implement something like this as plugins depend on knowing where the css file is. words words words[/QUOTE] You can tell your server to serve all *.css requests through your compiler, transparently. You obviously want to cache the compiled css when in a production environment, but it's all pretty simple.
  • Avatar of somecoder
  • [QUOTE=spidersdesign;31156387]Not helpful (as well as the fact that it was the response to [b]a quote that I hadn't made[/b] - he clarified my point with something completely different and then decided to call me "braindead" for something [b]I never said[/b]):[/QUOTE] [img]http://f.cl.ly/items/021j1830292c1W3i2Y3L/Screen%20shot%202011-07-16%20at%203.08.13%20PM.png[/img]
  • Avatar of BrettJay
  • [QUOTE=somecoder;31157022][IMG]http://f.cl.ly/items/021j1830292c1W3i2Y3L/Screen shot 2011-07-16 at 3.08.13 PM.png[/IMG][/QUOTE] You're taking his statement out of context. He said that he wished CSS natively supported some features without the need for javascript parsers. Jelly brought up LESS, to which he more or less said said, 'yeah I'm familiar with LESS, I just wish some feature like that was built in natively so I don't have to compile CSS'. He was aware of Less, he just wanted the functionality it provides built into the CSS spec so there's no extra hassles. [editline]addendum[/editline] Of course you'd need to compile non-standard CSS. But wishing that functionality was built in so you didn't have to do so isn't being braindead, no matter how out of context you try to take his statement.
  • Avatar of Alcapwne
  • I'm doing a redesign of my portfolio site, what do you guys think of the layout? [url]www.clickphilia.com/taimur/index.html[/url] [editline]16th July 2011[/editline] (hover over the pictures)
  • Avatar of somecoder
  • [QUOTE=BrettJay;31157123]You're taking his statement out of context. He said that he wished CSS natively supported some features without the need for javascript parsers. Jelly brought up LESS, to which he more or less said said, 'yeah I'm familiar with LESS, I just wish some feature like that was built in natively so I don't have to compile CSS'. He was aware of Less, he just wanted the functionality it provides built into the CSS spec so there's no extra hassles. [editline]addendum[/editline] Of course you'd need to compile non-standard CSS. But wishing that functionality was built in so you didn't have to do so isn't being braindead, no matter how out of context you try to take his statement.[/QUOTE] Ah.
  • Avatar of spidersdesign
  • [QUOTE=StinkyJoe;31156931]You can tell your server to serve all *.css requests through your compiler, transparently. You obviously want to cache the compiled css when in a production environment, but it's all pretty simple.[/QUOTE] For my server yes - but my stuff is released to thousands of people. I would have to compile the css myself.
  • Avatar of StinkyJoe
  • [QUOTE=spidersdesign;31157781]For my server yes - but my stuff is released to thousands of people. I would have to compile the css myself.[/QUOTE] Not at all. For apache, for example, you would use some mod_rewrite options in an .htaccess file that can be distributed with everything else. Rinse and repeat for other server software.
  • Avatar of spidersdesign
  • Well after half an hour of using the mac LESS app I think i'll always use this from now on. The benefits far outweigh the negatives. Thanks for the pointers - I had looked at LESS before but because the guy who made it hasn't (as far as I can see) linked to the osx app on the LESS website (even though he didn't make it it is free so I can't see why he wouldn't) I dismissed it as I knew I wouldn't be able to use it in my WordPress projects and keep to the WordPress guidelines. The mac app changes all that as it can automatically compile it when I change the less file. If only it had integration with CODA so the css files are marked for publishing when they change (I currently have to manually mark them).
  • Avatar of StinkyJoe
  • Actually, there's not even any point in that. You simply release the final compiled CSS, and use the compiler yourself during development.
  • Avatar of spidersdesign
  • [QUOTE=StinkyJoe;31157938]Not at all. For apache, for example, you would use some mod_rewrite options in an .htaccess file that can be distributed with everything else. Rinse and repeat for other server software.[/QUOTE] For apache yes - but what about IIS? I'm sure it can be done but I don't think it is worth the hassle of making sure it is compatible with everything. I'm finding the OSX app great - If only coda recognised when one of the files in a site has changed and automatically mark it for publishing. It is the same for images - if I save an image into a site folder I have to manually mark it for publishing. [editline]16th July 2011[/editline] [QUOTE=StinkyJoe;31157977]Actually, there's not even any point in that. You simply release the final compiled CSS, and use the compiler yourself during development.[/QUOTE] That's what I am going to do - because of the aforementioned reasons I was unaware of the osx app until today.
  • Avatar of SL1CHAOS
  • A theme for my WHMCS. The current, default one is boring: [url]http://darkdrivehosting.co.uk[/url] No screenshots at the moment only because I have just started right now!
  • Avatar of StinkyJoe
  • Writing a little helper class called input.php. These are always so much fun to make. Here's an example use scenario: [php] $params = input::post(array( 'name' => array( 'required' => true, 'type' => 'string', 'min' => 3, 'max' => 128, 'match' => '/[\w\d ]+/', 'error' => '{this} must be between {min} and {max} characters long, and alphanumeric only!' ), 'age' => array( 'required' => true, 'type' => 'int', 'min' => 1, 'error' => 'a valid {this} must be provided!' ) )); if(!$params->ok()) { var_dump($params->errors()); exit; } echo "{$params->name} is {$params->age} years old";[/php] Supports any arbitrary array, and comes with helpers for $_POST, $_GET and CLI input through some getopt trickery.
  • Avatar of Jelly
  • [QUOTE=spidersdesign;31158038]For apache yes - but what about IIS? I'm sure it can be done but I don't think it is worth the hassle of making sure it is compatible with everything. I'm finding the OSX app great - If only coda recognised when one of the files in a site has changed and automatically mark it for publishing. It is the same for images - if I save an image into a site folder I have to manually mark it for publishing. [editline]16th July 2011[/editline] That's what I am going to do - because of the aforementioned reasons I was unaware of the osx app until today.[/QUOTE] Didn't realise you used Coda, there's a Coda plugin by the same author if you don't want to run another app. [url]http://incident57.com/coda/[/url]
  • Avatar of Alcapwne
  • Okay I've almost finished my new redesign: [url]www.clickphilia.com/taimur/index.html[/url] however, when you zoom out a bit, one of the boxes changes position when it's not supposed to. Anyone know how to solve this? Thanks