Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: Zen Coding

  1. #1
    Join Date
    Aug 2009
    Posts
    78
    Tokens
    100

    Latest Awards:

    Default Zen Coding

    What's your opinion on the Zen Coding plugin?

    I think it's awesome and it'll definitely speed up coding and save you hours. I would recommend it to anyone who uses compatible IDE/text editing software!
    Last edited by Irrorate; 26-07-2010 at 11:06 PM.

  2. #2
    Join Date
    Oct 2007
    Posts
    824
    Tokens
    71

    Latest Awards:

    Default

    Heard about this before. I hear it's a huge time-saver but I've yet to give it a try.
    Vouches
    [x][x]

  3. #3
    Join Date
    Sep 2005
    Posts
    888
    Tokens
    177

    Latest Awards:

    Default

    it looks complicated imo, i won;t be using it

  4. #4
    Join Date
    Oct 2007
    Posts
    824
    Tokens
    71

    Latest Awards:

    Default

    How's it complicated? It's much simpler.
    Vouches
    [x][x]

  5. #5
    Join Date
    Jul 2004
    Location
    California
    Posts
    8,725
    Tokens
    3,789
    Habbo
    HotelUser

    Latest Awards:

    Default

    What's this do for me if I do most of my dirty work in JQuery or with GWT already

    I see no need!
    I'm not crazy, ask my toaster.

  6. #6
    Join Date
    Sep 2005
    Posts
    888
    Tokens
    177

    Latest Awards:

    Default

    Quote Originally Posted by Fazon View Post
    How's it complicated? It's much simpler.
    &lt;br&gt;<br>
    just the whole .div#thisdiv crap etc..&lt;br&gt; maybe i am just old skool?<br>

  7. #7
    Join Date
    Sep 2009
    Location
    Hull
    Posts
    827
    Tokens
    0

    Latest Awards:

    Default

    Some think it easy, some think its hard.

    But before you could coding in php/html, did you think that was hard...

    Its about learning and becoming comfortable with the code

    Lew.
    Im not here to be loved, I love to be hated :-}


  8. #8
    Join Date
    Jun 2008
    Location
    United Kingdom
    Posts
    2,015
    Tokens
    568

    Latest Awards:

    Default

    That does look like it would save a huge amount of time, but I don't use any of the supported editors
    I might download one though, just to use this.

  9. #9
    Join Date
    Aug 2009
    Posts
    78
    Tokens
    100

    Latest Awards:

    Default

    It's really easy to use...

    These 6 characters create my head and body structure:
    Code:
    html:5
    Result:
    HTML Code:
    <!DOCTYPE HTML>
    <html lang="en-US">
    <head>
    	<meta charset="UTF-8">
    	<title></title>
    </head>
    <body>
    	
    </body>
    </html>
    Code:
    html:xt
    Result:
    HTML Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http: //www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <head>
    	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
    	<title></title>
    </head>
    <body>
    	
    </body>
    </html>
    As you can see it dramatically speeds up coding.
    Code:
    body>(#header>#logo+ul#nav>li*5>a)+(#content)+(#footer)
    This code gives:
    HTML Code:
    <body>
    	<div id="header">
    		<div id="logo"></div>
    		<ul id="nav">
    			<li><a href=""></a></li>
    			<li><a href=""></a></li>
    			<li><a href=""></a></li>
    			<li><a href=""></a></li>
    			<li><a href=""></a></li>
    		</ul>
    	</div>
    	<div id="content"></div>
    	<div id="footer"></div>
    </body>
    See how dramatically your code can be sped up? I love how you can use the multiply operator and the addition operator. You can edit the plugin to add your own shorttags too. It also shortens CSS.

    I love the simplicity of it. You can assign classes using the period (.), IDs using the #, use the multiply operator to create multiple elements. It really is awesome.

    Here's the cheat sheet
    Last edited by Irrorate; 27-07-2010 at 10:06 AM.

  10. #10
    Join Date
    Dec 2006
    Posts
    7,601
    Tokens
    95

    Latest Awards:

    Default

    Quote Originally Posted by Blinger View Post
    &lt;br&gt;<br>
    just the whole .div#thisdiv crap etc..&lt;br&gt; maybe i am just old skool?<br>
    If you know CSS, it looks pretty simple. You rather than writing it out, you use the # for id's like in your CSS, and . For classes. I wouldn't use it though lol

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •