Slashdot Mirror


User: Ant+P.

Ant+P.'s activity in the archive.

Stories
0
Comments
3,046
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 3,046

  1. Depends. on Web Development - The Line Between Code and Content? · · Score: 3, Informative

    The more proficient you are in web-based languages, the easier it is to separate stuff:

    At the bottom you just have a mashup of PHP and HTML using one file per page, with the odd file include for a header or whatever. I started out doing PHP by trying to fix something written this way; it's an easy way of learning what to avoid.

    One up from that is separating the layout into CSS, which is pretty obvious.

    From there you can move the logic behind the dynamic content into separate files, by using includes or classes or whatever. This is the most common way from what I've seen.

    If you want to take it to extremes, then you can get XSLT involved. Probably overkill for a lot of things since it involves juggling 4 languages at once, but I haven't tried it so I can't say whether it's worth it.

  2. Re:Terrorism too strong a word on BlueSecurity Fall-Out Reveals Larger Problem · · Score: 1

    Um, that definition looks like a completely accurate description of it to me.

  3. Re:Bah! on Microsoft Releases Vista Hardware Requirements · · Score: 1

    Alright, alright, I should've been less vague. What I _meant_ was a vanilla X server with all the crap piled on top by a GUI distro.

  4. Re:Bah! on Microsoft Releases Vista Hardware Requirements · · Score: 1

    Works fine with JS disabled. Seems like they're doing broken browser sniffing... or just breaking the browser.

  5. Re:Bah! on Microsoft Releases Vista Hardware Requirements · · Score: 1

    XGL on _that_? I can barely get vanilla X usable on a P2 with an AGP card.

  6. Re:ready on 2015 on 8 MegaPixel Digital Sensor Unveiled · · Score: 0

    That post seems lacking in somethi.

  7. Re:Where's the useful cut-off point? on 8 MegaPixel Digital Sensor Unveiled · · Score: 2, Insightful

    A picture at monitor res is useless for printing, in the same way as a 128kbps MP3 isn't much use in a live performance.

  8. Why are they suing Google? on Google in Trouble for Suggesting Illegal Software · · Score: 5, Funny

    ...when Google just brought to their attention that certain websites were pirating their software and offered to list each of those sites for them?

  9. Re:The Emperor Has No Clothes On on Samsung Working On Fuel-Cell Powered Cell Phones · · Score: 1

    It worked for Nintendo for 15 years.

  10. Re:So now. on Human Genome Sequencing Completed · · Score: 1

    Already been started long ago, IIRC.

  11. Re:would Sun put all their weight behind apt-get? on Sun Puts its Weight Behind Ubuntu Linux · · Score: 2, Informative

    Don't forget Sun thinks they're competing against Red Hat. RPM would be the last package system they'd want their name behind.

  12. Re:ReplayTV on TiVo from AdZapper to Advertiser's New Best Friend · · Score: 0

    This is why I haven't bothered with TV for years. 1000 channels, nothing on.

  13. The problem is it relies on a central server. on Blue Security Gives up the Fight · · Score: 5, Insightful

    Anyone want to state the obvious answer?

  14. Re:do i care? on Do You Care if Your Website is W3C Compliant? · · Score: 2, Informative

    I hate to point this out, but *both* of those are in the current CSS3 draft.

  15. Re:Oh, Irony... on Do You Care if Your Website is W3C Compliant? · · Score: 1

    It also breaks if your default font isn't Arial.

  16. Re:Safari 2 on Do You Care if Your Website is W3C Compliant? · · Score: 2, Informative

    And Konqueror (which Safari is based on), and iCab...

  17. It's not being forced on anyone. on Next-Gen Graphics Might Not Sell Games · · Score: 1

    Yet. The only way it will be is if enough people buy a PS3/B-R drive, at which point Sony will have enough weight behind them to force DVDs out of the market. Hopefully it won't reach that point.

  18. Ask the right question. on Nintendo Shares Up, But Do Devs 'Get' the Wii? · · Score: 2, Interesting

    What are Nintendo doing to get the devs? Part of the reason they've historically had poor 3rd-party support is because they make it _hard_ for outsiders to get in.

  19. The most worrying part... on Reporter Phone Records Being Used to Find Leaks · · Score: 4, Insightful

    Without reading the article, it's not obvious at first glance which country the summary's referring to...

  20. Re:Couple of questions on Kororaa Accused of Violating GPL · · Score: 1

    That workaround would be pretty easy to do, since Kororaa is Gentoo-based already.

  21. Re:proof that the GPL is too invasive on Kororaa Accused of Violating GPL · · Score: 1
    literally blew me away with it's 3d-accelerated UI

    Maybe they should include a disclaimer: "These graphics may cause your monitor to explode violently" :)

    /me ducks