<?xml version="1.0"?>
<News hasArchived="true" page="8857" pageCount="10713" pageSize="10" timestamp="Thu, 02 Jul 2026 14:44:17 -0400" url="https://my3.my.umbc.edu/posts.xml?page=8857">
<NewsItem contentIssues="false" id="27560" important="false" status="posted" url="https://my3.my.umbc.edu/posts/27560">
<Title>csscss</Title>
<Body>
<![CDATA[
    <div class="html-content">
    <blockquote><p>A CSS redundancy analyzer that analyzes redundancy.</p></blockquote>
    <p>Gives you output like:</p>
    <p>{.contact .content .primary} and {article, #comments} share 5 rules</p>
    <p>If you have multiple selectors sharing five or more rules (properties with the same value), that's likely a good opportunity for optimization (combine into new class or comma separate selectors elsewhere). </p>
    <p>Someone should make a hosted version where you just drag-and-drop a .css file to analyze.</p>
    <p><a href="http://zmoazeni.github.io/csscss/" title="Direct link to featured article" rel="nofollow external" class="bo">Direct Link to Article</a> — <a href="http://css-tricks.com/csscss/" rel="nofollow external" class="bo">Permalink</a></p>
    <p><small><a href="http://css-tricks.com/csscss/" rel="nofollow external" class="bo">csscss</a> is a post from <a href="http://css-tricks.com" rel="nofollow external" class="bo">CSS-Tricks</a></small></p>
    </div>
]]>
</Body>
<Summary>A CSS redundancy analyzer that analyzes redundancy.    Gives you output like:   {.contact .content .primary} and {article, #comments} share 5 rules   If you have multiple selectors sharing five or...</Summary>
<Website>http://zmoazeni.github.io/csscss/</Website>
<TrackingUrl>https://my3.my.umbc.edu/api/v0/pixel/news/27560/guest@my.umbc.edu/df0270d5f3574735b0e7a1683a829a63/api/pixel</TrackingUrl>
<Tag>css</Tag>
<Tag>html</Tag>
<Tag>javascript</Tag>
<Tag>link</Tag>
<Tag>mysql</Tag>
<Tag>php</Tag>
<Tag>sql</Tag>
<Tag>tricks</Tag>
<Group token="retired-583">Web Developer - Build Group</Group>
<GroupUrl>https://my3.my.umbc.edu/groups/retired-583</GroupUrl>
<AvatarUrl>https://assets3-my.umbc.edu/system/shared/avatars/groups/000/000/583/fc60f5d7abc2e080599bb6dc465db54d/xsmall.png?1363101197</AvatarUrl>
<AvatarUrl size="original">https://assets4-my.umbc.edu/system/shared/avatars/groups/000/000/583/fc60f5d7abc2e080599bb6dc465db54d/original.jpg?1363101197</AvatarUrl>
<AvatarUrl size="xxlarge">https://assets4-my.umbc.edu/system/shared/avatars/groups/000/000/583/fc60f5d7abc2e080599bb6dc465db54d/xxlarge.png?1363101197</AvatarUrl>
<AvatarUrl size="xlarge">https://assets4-my.umbc.edu/system/shared/avatars/groups/000/000/583/fc60f5d7abc2e080599bb6dc465db54d/xlarge.png?1363101197</AvatarUrl>
<AvatarUrl size="large">https://assets3-my.umbc.edu/system/shared/avatars/groups/000/000/583/fc60f5d7abc2e080599bb6dc465db54d/large.png?1363101197</AvatarUrl>
<AvatarUrl size="medium">https://assets3-my.umbc.edu/system/shared/avatars/groups/000/000/583/fc60f5d7abc2e080599bb6dc465db54d/medium.png?1363101197</AvatarUrl>
<AvatarUrl size="small">https://assets4-my.umbc.edu/system/shared/avatars/groups/000/000/583/fc60f5d7abc2e080599bb6dc465db54d/small.png?1363101197</AvatarUrl>
<AvatarUrl size="xsmall">https://assets3-my.umbc.edu/system/shared/avatars/groups/000/000/583/fc60f5d7abc2e080599bb6dc465db54d/xsmall.png?1363101197</AvatarUrl>
<AvatarUrl size="xxsmall">https://assets4-my.umbc.edu/system/shared/avatars/groups/000/000/583/fc60f5d7abc2e080599bb6dc465db54d/xxsmall.png?1363101197</AvatarUrl>
<Sponsor>Web Developer - Build Group</Sponsor>
<PawCount>0</PawCount>
<CommentCount>0</CommentCount>
<CommentsAllowed>true</CommentsAllowed>
<PostedAt>Thu, 11 Apr 2013 12:02:58 -0400</PostedAt>
<EditAt>Thu, 11 Apr 2013 12:02:58 -0400</EditAt>
</NewsItem>

<NewsItem contentIssues="true" id="27565" important="false" status="posted" url="https://my3.my.umbc.edu/posts/27565">
<Title>The Man Behind a Budding Creative City</Title>
<Body>
<![CDATA[
    <div class="html-content">The efforts of one small-business owner are drawing young creatives to Norfolk, Va.</div>
]]>
</Body>
<Summary>The efforts of one small-business owner are drawing young creatives to Norfolk, Va.</Summary>
<Website>http://feedproxy.google.com/~r/YoungentrepreneurcomBlog/~3/nnjr5O9Wmeg/</Website>
<TrackingUrl>https://my3.my.umbc.edu/api/v0/pixel/news/27565/guest@my.umbc.edu/9f2f79649e5eee0189d98e210d21100a/api/pixel</TrackingUrl>
<Tag>business-growth-strategies</Tag>
<Tag>growing-a-business</Tag>
<Tag>growth-strategies</Tag>
<Tag>leadership</Tag>
<Tag>local</Tag>
<Tag>local-economies</Tag>
<Group token="entrepreneurship">Alex. Brown Center for Entrepreneurship</Group>
<GroupUrl>https://my3.my.umbc.edu/groups/entrepreneurship</GroupUrl>
<AvatarUrl>https://assets2-my.umbc.edu/system/shared/avatars/groups/000/000/092/53c03b106bdc6e19e4bf0a41b5a37add/xsmall.png?1771000363</AvatarUrl>
<AvatarUrl size="original">https://assets3-my.umbc.edu/system/shared/avatars/groups/000/000/092/53c03b106bdc6e19e4bf0a41b5a37add/original.jpg?1771000363</AvatarUrl>
<AvatarUrl size="xxlarge">https://assets2-my.umbc.edu/system/shared/avatars/groups/000/000/092/53c03b106bdc6e19e4bf0a41b5a37add/xxlarge.png?1771000363</AvatarUrl>
<AvatarUrl size="xlarge">https://assets1-my.umbc.edu/system/shared/avatars/groups/000/000/092/53c03b106bdc6e19e4bf0a41b5a37add/xlarge.png?1771000363</AvatarUrl>
<AvatarUrl size="large">https://assets4-my.umbc.edu/system/shared/avatars/groups/000/000/092/53c03b106bdc6e19e4bf0a41b5a37add/large.png?1771000363</AvatarUrl>
<AvatarUrl size="medium">https://assets1-my.umbc.edu/system/shared/avatars/groups/000/000/092/53c03b106bdc6e19e4bf0a41b5a37add/medium.png?1771000363</AvatarUrl>
<AvatarUrl size="small">https://assets3-my.umbc.edu/system/shared/avatars/groups/000/000/092/53c03b106bdc6e19e4bf0a41b5a37add/small.png?1771000363</AvatarUrl>
<AvatarUrl size="xsmall">https://assets2-my.umbc.edu/system/shared/avatars/groups/000/000/092/53c03b106bdc6e19e4bf0a41b5a37add/xsmall.png?1771000363</AvatarUrl>
<AvatarUrl size="xxsmall">https://assets3-my.umbc.edu/system/shared/avatars/groups/000/000/092/53c03b106bdc6e19e4bf0a41b5a37add/xxsmall.png?1771000363</AvatarUrl>
<Sponsor>The Alex. Brown Center for Entrepreneurship</Sponsor>
<PawCount>0</PawCount>
<CommentCount>0</CommentCount>
<CommentsAllowed>true</CommentsAllowed>
<PostedAt>Thu, 11 Apr 2013 12:00:00 -0400</PostedAt>
</NewsItem>

<NewsItem contentIssues="false" id="110209" important="false" status="posted" url="https://my3.my.umbc.edu/posts/110209">
<Title>Manil Suri, Mathematics, on BBC&#8217;s &#8220;The Forum&#8221;</Title>
<Body>
<![CDATA[
    <div class="html-content">Manil Suri, professor of mathematics, was recently a guest on the BBC World Service program “The Forum” to discuss “Obsessions, new and old, in literature and technology.”  Joining Suri on the show, which was hosted by Bridget Kendall, were internet analyst and cyber-sceptic Evgeny Morozo and Spanish novelist and translator Javier Marias. Suri discussed his recent novel, “The City of Devi,” in which the main character is obsessed with bringing a pomegranate to her missing husband. “She feels that having this symbol almost will somehow lead her to her husband. And in a way it does tell her something about her marriage, but in …</div>
]]>
</Body>
<Summary>Manil Suri, professor of mathematics, was recently a guest on the BBC World Service program “The Forum” to discuss “Obsessions, new and old, in literature and technology.”  Joining Suri on the...</Summary>
<Website>https://news.umbc.edu/manil-suri-mathematics-on-bbcs-the-forum/</Website>
<TrackingUrl>https://my3.my.umbc.edu/api/v0/pixel/news/110209/guest@my.umbc.edu/5e97771f192ac8f54b19588a55305711/api/pixel</TrackingUrl>
<Tag>cnms</Tag>
<Tag>mathstat</Tag>
<Tag>policy-and-society</Tag>
<Group token="umbc-news">UMBC News</Group>
<GroupUrl>https://my3.my.umbc.edu/groups/umbc-news</GroupUrl>
<AvatarUrl>https://assets2-my.umbc.edu/system/shared/avatars/groups/000/001/944/2c79aeea85b1abb37f8cf9fbcdc382b0/xsmall.png?1632921809</AvatarUrl>
<AvatarUrl size="original">https://assets4-my.umbc.edu/system/shared/avatars/groups/000/001/944/2c79aeea85b1abb37f8cf9fbcdc382b0/original.png?1632921809</AvatarUrl>
<AvatarUrl size="xxlarge">https://assets4-my.umbc.edu/system/shared/avatars/groups/000/001/944/2c79aeea85b1abb37f8cf9fbcdc382b0/xxlarge.png?1632921809</AvatarUrl>
<AvatarUrl size="xlarge">https://assets1-my.umbc.edu/system/shared/avatars/groups/000/001/944/2c79aeea85b1abb37f8cf9fbcdc382b0/xlarge.png?1632921809</AvatarUrl>
<AvatarUrl size="large">https://assets1-my.umbc.edu/system/shared/avatars/groups/000/001/944/2c79aeea85b1abb37f8cf9fbcdc382b0/large.png?1632921809</AvatarUrl>
<AvatarUrl size="medium">https://assets1-my.umbc.edu/system/shared/avatars/groups/000/001/944/2c79aeea85b1abb37f8cf9fbcdc382b0/medium.png?1632921809</AvatarUrl>
<AvatarUrl size="small">https://assets4-my.umbc.edu/system/shared/avatars/groups/000/001/944/2c79aeea85b1abb37f8cf9fbcdc382b0/small.png?1632921809</AvatarUrl>
<AvatarUrl size="xsmall">https://assets2-my.umbc.edu/system/shared/avatars/groups/000/001/944/2c79aeea85b1abb37f8cf9fbcdc382b0/xsmall.png?1632921809</AvatarUrl>
<AvatarUrl size="xxsmall">https://assets4-my.umbc.edu/system/shared/avatars/groups/000/001/944/2c79aeea85b1abb37f8cf9fbcdc382b0/xxsmall.png?1632921809</AvatarUrl>
<Sponsor>UMBC News</Sponsor>
<PawCount>0</PawCount>
<CommentCount>0</CommentCount>
<CommentsAllowed>false</CommentsAllowed>
<PostedAt>Thu, 11 Apr 2013 11:28:48 -0400</PostedAt>
</NewsItem>

<NewsItem contentIssues="true" id="27557" important="false" status="posted" url="https://my3.my.umbc.edu/posts/27557">
<Title>Not an Entrepreneur Yet? How to Lead Without a Fancy Job Title</Title>
<Body>
<![CDATA[
    <div class="html-content">Not sitting in the c-suite at a company, doesn’t mean you can’t be a leader. Business coach Antonio Neves offers three tips for becoming a vital resource at your company.</div>
]]>
</Body>
<Summary>Not sitting in the c-suite at a company, doesn’t mean you can’t be a leader. Business coach Antonio Neves offers three tips for becoming a vital resource at your company.</Summary>
<Website>http://feedproxy.google.com/~r/YoungentrepreneurcomBlog/~3/eg6a-w4fdyc/</Website>
<TrackingUrl>https://my3.my.umbc.edu/api/v0/pixel/news/27557/guest@my.umbc.edu/e0ff55eac9935e668b3df5d37879ad9f/api/pixel</TrackingUrl>
<Tag>business-skills</Tag>
<Tag>entrepreneurship</Tag>
<Tag>leadership</Tag>
<Tag>motivation</Tag>
<Tag>starting-a-business</Tag>
<Tag>video</Tag>
<Group token="entrepreneurship">Alex. Brown Center for Entrepreneurship</Group>
<GroupUrl>https://my3.my.umbc.edu/groups/entrepreneurship</GroupUrl>
<AvatarUrl>https://assets2-my.umbc.edu/system/shared/avatars/groups/000/000/092/53c03b106bdc6e19e4bf0a41b5a37add/xsmall.png?1771000363</AvatarUrl>
<AvatarUrl size="original">https://assets3-my.umbc.edu/system/shared/avatars/groups/000/000/092/53c03b106bdc6e19e4bf0a41b5a37add/original.jpg?1771000363</AvatarUrl>
<AvatarUrl size="xxlarge">https://assets2-my.umbc.edu/system/shared/avatars/groups/000/000/092/53c03b106bdc6e19e4bf0a41b5a37add/xxlarge.png?1771000363</AvatarUrl>
<AvatarUrl size="xlarge">https://assets1-my.umbc.edu/system/shared/avatars/groups/000/000/092/53c03b106bdc6e19e4bf0a41b5a37add/xlarge.png?1771000363</AvatarUrl>
<AvatarUrl size="large">https://assets4-my.umbc.edu/system/shared/avatars/groups/000/000/092/53c03b106bdc6e19e4bf0a41b5a37add/large.png?1771000363</AvatarUrl>
<AvatarUrl size="medium">https://assets1-my.umbc.edu/system/shared/avatars/groups/000/000/092/53c03b106bdc6e19e4bf0a41b5a37add/medium.png?1771000363</AvatarUrl>
<AvatarUrl size="small">https://assets3-my.umbc.edu/system/shared/avatars/groups/000/000/092/53c03b106bdc6e19e4bf0a41b5a37add/small.png?1771000363</AvatarUrl>
<AvatarUrl size="xsmall">https://assets2-my.umbc.edu/system/shared/avatars/groups/000/000/092/53c03b106bdc6e19e4bf0a41b5a37add/xsmall.png?1771000363</AvatarUrl>
<AvatarUrl size="xxsmall">https://assets3-my.umbc.edu/system/shared/avatars/groups/000/000/092/53c03b106bdc6e19e4bf0a41b5a37add/xxsmall.png?1771000363</AvatarUrl>
<Sponsor>The Alex. Brown Center for Entrepreneurship</Sponsor>
<PawCount>0</PawCount>
<CommentCount>0</CommentCount>
<CommentsAllowed>true</CommentsAllowed>
<PostedAt>Thu, 11 Apr 2013 11:00:21 -0400</PostedAt>
</NewsItem>

<NewsItem contentIssues="true" id="27561" important="false" status="posted" url="https://my3.my.umbc.edu/posts/27561">
<Title>Heart Internet punning contest winner selected</Title>
<Body>
<![CDATA[
    <div class="html-content">Last month we ran a punning competition. Now we're announcing the winner<div><table border="0"><tbody><tr><td>
    <a href="http://share.feedsportal.com/share/twitter/?u=http%3A%2F%2Fwww.netmagazine.com%2Fnews%2Fheart-internet-punning-contest-winner-selected-132674&amp;t=Heart+Internet+punning+contest+winner+selected" rel="nofollow external" class="bo"><img src="http://res3.feedsportal.com/social/twitter.png" style="max-width: 100%; height: auto;"></a> <a href="http://share.feedsportal.com/share/facebook/?u=http%3A%2F%2Fwww.netmagazine.com%2Fnews%2Fheart-internet-punning-contest-winner-selected-132674&amp;t=Heart+Internet+punning+contest+winner+selected" rel="nofollow external" class="bo"><img src="http://res3.feedsportal.com/social/facebook.png" style="max-width: 100%; height: auto;"></a> <a href="http://share.feedsportal.com/share/linkedin/?u=http%3A%2F%2Fwww.netmagazine.com%2Fnews%2Fheart-internet-punning-contest-winner-selected-132674&amp;t=Heart+Internet+punning+contest+winner+selected" rel="nofollow external" class="bo"><img src="http://res3.feedsportal.com/social/linkedin.png" style="max-width: 100%; height: auto;"></a> <a href="http://share.feedsportal.com/share/gplus/?u=http%3A%2F%2Fwww.netmagazine.com%2Fnews%2Fheart-internet-punning-contest-winner-selected-132674&amp;t=Heart+Internet+punning+contest+winner+selected" rel="nofollow external" class="bo"><img src="http://res3.feedsportal.com/social/googleplus.png" style="max-width: 100%; height: auto;"></a> <a href="http://share.feedsportal.com/share/email/?u=http%3A%2F%2Fwww.netmagazine.com%2Fnews%2Fheart-internet-punning-contest-winner-selected-132674&amp;t=Heart+Internet+punning+contest+winner+selected" rel="nofollow external" class="bo"><img src="http://res3.feedsportal.com/social/email.png" style="max-width: 100%; height: auto;"></a>
    </td></tr></tbody></table></div>
    <br><br><a href="http://da.feedsportal.com/r/163067989336/u/49/f/502346/c/32632/s/2a9ab265/kg/342/a2.htm" rel="nofollow external" class="bo"><img src="http://da.feedsportal.com/r/163067989336/u/49/f/502346/c/32632/s/2a9ab265/kg/342/a2.img" style="max-width: 100%; height: auto;"></a>
    </div>
]]>
</Body>
<Summary>Last month we ran a punning competition. Now we're announcing the winner     </Summary>
<Website>http://feedproxy.google.com/~r/net/topstories/~3/ZtHIvtiWWQ8/story01.htm</Website>
<TrackingUrl>https://my3.my.umbc.edu/api/v0/pixel/news/27561/guest@my.umbc.edu/67b4b33d51a36d38592a37aabfa76838/api/pixel</TrackingUrl>
<Tag>css</Tag>
<Tag>development</Tag>
<Tag>html</Tag>
<Tag>javascript</Tag>
<Tag>mysql</Tag>
<Tag>net</Tag>
<Tag>php</Tag>
<Tag>sql</Tag>
<Tag>web</Tag>
<Group token="retired-583">Web Developer - Build Group</Group>
<GroupUrl>https://my3.my.umbc.edu/groups/retired-583</GroupUrl>
<AvatarUrl>https://assets3-my.umbc.edu/system/shared/avatars/groups/000/000/583/fc60f5d7abc2e080599bb6dc465db54d/xsmall.png?1363101197</AvatarUrl>
<AvatarUrl size="original">https://assets4-my.umbc.edu/system/shared/avatars/groups/000/000/583/fc60f5d7abc2e080599bb6dc465db54d/original.jpg?1363101197</AvatarUrl>
<AvatarUrl size="xxlarge">https://assets4-my.umbc.edu/system/shared/avatars/groups/000/000/583/fc60f5d7abc2e080599bb6dc465db54d/xxlarge.png?1363101197</AvatarUrl>
<AvatarUrl size="xlarge">https://assets4-my.umbc.edu/system/shared/avatars/groups/000/000/583/fc60f5d7abc2e080599bb6dc465db54d/xlarge.png?1363101197</AvatarUrl>
<AvatarUrl size="large">https://assets3-my.umbc.edu/system/shared/avatars/groups/000/000/583/fc60f5d7abc2e080599bb6dc465db54d/large.png?1363101197</AvatarUrl>
<AvatarUrl size="medium">https://assets3-my.umbc.edu/system/shared/avatars/groups/000/000/583/fc60f5d7abc2e080599bb6dc465db54d/medium.png?1363101197</AvatarUrl>
<AvatarUrl size="small">https://assets4-my.umbc.edu/system/shared/avatars/groups/000/000/583/fc60f5d7abc2e080599bb6dc465db54d/small.png?1363101197</AvatarUrl>
<AvatarUrl size="xsmall">https://assets3-my.umbc.edu/system/shared/avatars/groups/000/000/583/fc60f5d7abc2e080599bb6dc465db54d/xsmall.png?1363101197</AvatarUrl>
<AvatarUrl size="xxsmall">https://assets4-my.umbc.edu/system/shared/avatars/groups/000/000/583/fc60f5d7abc2e080599bb6dc465db54d/xxsmall.png?1363101197</AvatarUrl>
<Sponsor>Web Developer - Build Group</Sponsor>
<PawCount>0</PawCount>
<CommentCount>0</CommentCount>
<CommentsAllowed>true</CommentsAllowed>
<PostedAt>Thu, 11 Apr 2013 10:50:30 -0400</PostedAt>
</NewsItem>

<NewsItem contentIssues="true" id="27546" important="false" status="posted" url="https://my3.my.umbc.edu/posts/27546">
<Title>What are "Widgets" and how do I use them in sites.umbc.edu?</Title>
<Body>
<![CDATA[
    <div class="html-content"><div>    <p>
            Page
                <strong>edited</strong> by
                        <a href="https://wiki.umbc.edu/display/~amocko1" rel="nofollow external" class="bo">Andrea Mocko</a>
                </p>
            <div>
            <h2>Tell me</h2>
    <p>Widgets provide a way for you to add independent sections of content to predefined areas on your pages. These predefined areas are called "Widget Areas", and includes sidebars as well as the top section of the Home Page template.</p>
    <p>To get to the Widgets section:</p>
    <ol>
    <li>From your site dashboard, hover over the <strong>Appearance</strong> link in the left-hand sidebar and click the <strong>Widgets</strong> link</li>
    <li><p>All of the available widgets are listed in the <strong>Available Widgets</strong> section. The "Widget Areas" are displayed down the right-hand side of the page in expandable boxes</p></li>
    <li><p>To add widgets to your site, expand the "Widget Area" you wish use by clicking the the grey triangle to toggle it open</p></li>
    <li><p>Drag and drop the widget you want from the <strong>Available Widgets</strong> box to the "Widget Area" you just expanded<br><img height="208" width="500" src="https://wiki.umbc.edu/download/attachments/30541542/Drag%20Widgets.png?version=1&amp;modificationDate=1335209686000&amp;api=v2&amp;effects=drop-shadow" style="max-width: 100%; height: auto;"></p></li>
    <li><p>You can also drag and drop widgets within or between "Widget Areas" to rearrange them</p></li>
    </ol>
    <div><table>
    <colgroup></colgroup>
    <tbody><tr>
    <td><img src="/images/icons/emoticons/information.png" width="16" height="16" alt="" style="max-width: 100%; height: auto;"></td>
    <td>The <strong>Home Page Main Section</strong> and <strong>Home Page Sidebar</strong> "Widget Areas" are only used on the page you have set to use the Home Page template. Similarly, the <strong>myUMBC News</strong>, <strong>myUMBC Events</strong>, and <strong>Spotlights Player</strong> widgets will only work if you have <a href="https://wiki.umbc.edu/pages/viewpage.action?pageId=30541546" rel="nofollow external" class="bo">configured your site to use your myUMBC group</a>.</td>
    </tr></tbody>
    </table></div>
    <h2>Rate this Article</h2>
    <p>
    
    
    
    
    <strong>Was this helpful?</strong>
    <a href="https://apps-my.umbc.edu/apps/rt-track/script.php?u=http://wiki.umbc.edu%2Fpages%2Fviewpage.action%3FpageId%3D30541542&amp;q=0&amp;v=1&amp;s=faq&amp;l=web-publishing+sites-umbc-edu" rel="nofollow external" class="bo">Yes</a>
     | <a href="https://docs.google.com/a/umbc.edu/spreadsheet/viewform?formkey=dEpyOEZxa29QY05BaVpBVzZSYmRMM0E6MA&amp;entry_15=http%3A%2F%2Fwiki.umbc.edu%2Fpages%2Fviewpage.action%3FpageId%3D30541542" rel="nofollow external" class="bo">No</a>
     | <a href="https://docs.google.com/a/umbc.edu/spreadsheet/viewform?formkey=dEpyOEZxa29QY05BaVpBVzZSYmRMM0E6MA&amp;entry_15=http%3A%2F%2Fwiki.umbc.edu%2Fpages%2Fviewpage.action%3FpageId%3D30541542" rel="nofollow external" class="bo">Correct or Suggest an Article</a>
     | <a href="https://apps-my.umbc.edu/apps/rt-track/script.php?u=http://wiki.umbc.edu%2Fpages%2Fviewpage.action%3FpageId%3D30541542&amp;q=0&amp;v=0&amp;s=faq&amp;l=web-publishing+sites-umbc-edu" rel="nofollow external" class="bo">Request Help</a></p>
    <p><a href="http://my.umbc.edu/help/request" rel="nofollow external" class="bo"><img src="https://wiki.umbc.edu/download/attachments/29853066/RequestHelpicon.png?version=1&amp;modificationDate=1335472984000&amp;api=v2" style="max-width: 100%; height: auto;"></a></p>
        </div>
            <div>
           <a href="https://wiki.umbc.edu/pages/viewpage.action?pageId=30541542" rel="nofollow external" class="bo">View Online</a>
                  ·
           <a href="https://wiki.umbc.edu/pages/diffpagesbyversion.action?pageId=30541542&amp;revisedVersion=8&amp;originalVersion=7" rel="nofollow external" class="bo">View Changes Online</a>       
                      </div>
    </div></div>
]]>
</Body>
<Summary>Page             edited by                     Andrea Mocko                                  Tell me  Widgets provide a way for you to add independent sections of content to predefined areas on...</Summary>
<Website>https://wiki.umbc.edu/pages/viewpage.action?pageId=30541542</Website>
<TrackingUrl>https://my3.my.umbc.edu/api/v0/pixel/news/27546/guest@my.umbc.edu/0cbf11412a6c3053c25059cba0144a00/api/pixel</TrackingUrl>
<Tag>faq</Tag>
<Tag>sites-umbc-edu</Tag>
<Tag>web-publishing</Tag>
<Group token="retired-428">UMBC FAQ</Group>
<GroupUrl>https://my3.my.umbc.edu/groups/retired-428</GroupUrl>
<AvatarUrl>https://assets3-my.umbc.edu/images/avatars/group/1/xsmall.png?1782921784</AvatarUrl>
<AvatarUrl size="original">https://assets1-my.umbc.edu/images/avatars/group/1/original.png?1782921784</AvatarUrl>
<AvatarUrl size="xxlarge">https://assets3-my.umbc.edu/images/avatars/group/1/xxlarge.png?1782921784</AvatarUrl>
<AvatarUrl size="xlarge">https://assets3-my.umbc.edu/images/avatars/group/1/xlarge.png?1782921784</AvatarUrl>
<AvatarUrl size="large">https://assets2-my.umbc.edu/images/avatars/group/1/large.png?1782921784</AvatarUrl>
<AvatarUrl size="medium">https://assets1-my.umbc.edu/images/avatars/group/1/medium.png?1782921784</AvatarUrl>
<AvatarUrl size="small">https://assets1-my.umbc.edu/images/avatars/group/1/small.png?1782921784</AvatarUrl>
<AvatarUrl size="xsmall">https://assets3-my.umbc.edu/images/avatars/group/1/xsmall.png?1782921784</AvatarUrl>
<AvatarUrl size="xxsmall">https://assets3-my.umbc.edu/images/avatars/group/1/xxsmall.png?1782921784</AvatarUrl>
<Sponsor>UMBC FAQ</Sponsor>
<PawCount>0</PawCount>
<CommentCount>0</CommentCount>
<CommentsAllowed>true</CommentsAllowed>
<PostedAt>Thu, 11 Apr 2013 10:38:04 -0400</PostedAt>
</NewsItem>

<NewsItem contentIssues="true" id="27415" important="false" status="posted" url="https://my3.my.umbc.edu/posts/27415">
<Title>GWST student Alexandra Mills received a Fulbright award!</Title>
<Body>
<![CDATA[
    <div class="html-content">
    <span>Alexandra Mills was awarded a Fulbright U.S. Student award for the 2013-2014 academic year to Malaysia. The grant is for the English Teaching Assistantship program (ETA), and it is a scholarship fully funded by the federal government in order to promote mutual understanding between the U.S. and other countries. </span><br><div><span><br></span></div>
    <div><span>The Fulbright U.S. Student Program is the largest U.S. exchange program offering opportunities for students and young professionals to undertake international graduate study, advanced research, university teaching, and primary and secondary school teaching worldwide.  The program currently awards approximately 1,800 grants annually in all fields of study, and operates in more than 155 countries worldwide. Fulbright U.S. Student alumni populate an entire range of professions and include ambassadors, members of Congress, judges, heads of corporations, university presidents, journalists, artists, professors, and teachers.</span></div>
    <div><span><br></span></div>
    <div><span>Be sure to congratulate her when you see her for this great opportunity! </span></div>
    </div>
]]>
</Body>
<Summary>Alexandra Mills was awarded a Fulbright U.S. Student award for the 2013-2014 academic year to Malaysia. The grant is for the English Teaching Assistantship program (ETA), and it is a scholarship...</Summary>
<Website>http://gwst.umbc.edu</Website>
<TrackingUrl>https://my3.my.umbc.edu/api/v0/pixel/news/27415/guest@my.umbc.edu/a14dbbe6e2c337107981b4ee04631ea7/api/pixel</TrackingUrl>
<Group token="gwst">Department of Gender, Women's, + Sexuality Studies</Group>
<GroupUrl>https://my3.my.umbc.edu/groups/gwst</GroupUrl>
<AvatarUrl>https://assets4-my.umbc.edu/system/shared/avatars/groups/000/000/442/0951c34dc17cf35be31bb59fa96435df/xsmall.png?1551107229</AvatarUrl>
<AvatarUrl size="original">https://assets2-my.umbc.edu/system/shared/avatars/groups/000/000/442/0951c34dc17cf35be31bb59fa96435df/original.png?1551107229</AvatarUrl>
<AvatarUrl size="xxlarge">https://assets1-my.umbc.edu/system/shared/avatars/groups/000/000/442/0951c34dc17cf35be31bb59fa96435df/xxlarge.png?1551107229</AvatarUrl>
<AvatarUrl size="xlarge">https://assets3-my.umbc.edu/system/shared/avatars/groups/000/000/442/0951c34dc17cf35be31bb59fa96435df/xlarge.png?1551107229</AvatarUrl>
<AvatarUrl size="large">https://assets2-my.umbc.edu/system/shared/avatars/groups/000/000/442/0951c34dc17cf35be31bb59fa96435df/large.png?1551107229</AvatarUrl>
<AvatarUrl size="medium">https://assets4-my.umbc.edu/system/shared/avatars/groups/000/000/442/0951c34dc17cf35be31bb59fa96435df/medium.png?1551107229</AvatarUrl>
<AvatarUrl size="small">https://assets2-my.umbc.edu/system/shared/avatars/groups/000/000/442/0951c34dc17cf35be31bb59fa96435df/small.png?1551107229</AvatarUrl>
<AvatarUrl size="xsmall">https://assets4-my.umbc.edu/system/shared/avatars/groups/000/000/442/0951c34dc17cf35be31bb59fa96435df/xsmall.png?1551107229</AvatarUrl>
<AvatarUrl size="xxsmall">https://assets4-my.umbc.edu/system/shared/avatars/groups/000/000/442/0951c34dc17cf35be31bb59fa96435df/xxsmall.png?1551107229</AvatarUrl>
<Sponsor>Gender + Women's Studies</Sponsor>
<ThumbnailUrl size="xxlarge">https://assets1-my.umbc.edu/system/shared/thumbnails/news/000/027/415/20c99c680bff19bd1d0925e3aeb26f86/xxlarge.jpg?1365614524</ThumbnailUrl>
<ThumbnailUrl size="xlarge">https://assets3-my.umbc.edu/system/shared/thumbnails/news/000/027/415/20c99c680bff19bd1d0925e3aeb26f86/xlarge.jpg?1365614524</ThumbnailUrl>
<ThumbnailUrl size="large">https://assets2-my.umbc.edu/system/shared/thumbnails/news/000/027/415/20c99c680bff19bd1d0925e3aeb26f86/large.jpg?1365614524</ThumbnailUrl>
<ThumbnailUrl size="medium">https://assets4-my.umbc.edu/system/shared/thumbnails/news/000/027/415/20c99c680bff19bd1d0925e3aeb26f86/medium.jpg?1365614524</ThumbnailUrl>
<ThumbnailUrl size="small">https://assets1-my.umbc.edu/system/shared/thumbnails/news/000/027/415/20c99c680bff19bd1d0925e3aeb26f86/small.jpg?1365614524</ThumbnailUrl>
<ThumbnailUrl size="xsmall">https://assets1-my.umbc.edu/system/shared/thumbnails/news/000/027/415/20c99c680bff19bd1d0925e3aeb26f86/xsmall.jpg?1365614524</ThumbnailUrl>
<ThumbnailUrl size="xxsmall">https://assets1-my.umbc.edu/system/shared/thumbnails/news/000/027/415/20c99c680bff19bd1d0925e3aeb26f86/xxsmall.jpg?1365614524</ThumbnailUrl>
<PawCount>122</PawCount>
<CommentCount>23</CommentCount>
<CommentsAllowed>true</CommentsAllowed>
<PostedAt>Thu, 11 Apr 2013 10:34:13 -0400</PostedAt>
</NewsItem>

<NewsItem contentIssues="true" id="27416" important="false" status="posted" url="https://my3.my.umbc.edu/posts/27416">
<Title>Teresa Foster, GWST graduate assistant, earns a fellowship!</Title>
<Body>
<![CDATA[
    <div class="html-content">
    <span>Through studying the implications of gender, race, and historical connections to power, Gender + Women's Studies graduate assistant Teresa Foster was accepted to receive the Wing Fellowship with the Maryland Historical Society!</span><div><span><br></span></div>
    <div><span>The purpose of the Wing Fellowship is to assist a graduate student in undertaking a significant project in Chesapeake colonial history. Areas of research, which are of particular interest, include maritime history, the arts, economic development, archeology, and life in the early Chesapeake Bay region. Proposals for other subjects and themes of colonial history are also welcome.</span></div>
    <div><span><br></span></div>
    <div><span>If you see Teresa, be sure to congratulate her! </span></div>
    </div>
]]>
</Body>
<Summary>Through studying the implications of gender, race, and historical connections to power, Gender + Women's Studies graduate assistant Teresa Foster was accepted to receive the Wing Fellowship with...</Summary>
<Website>http://gwst.umbc.edu</Website>
<TrackingUrl>https://my3.my.umbc.edu/api/v0/pixel/news/27416/guest@my.umbc.edu/873f41b7e79f189e9354039217ee8b50/api/pixel</TrackingUrl>
<Group token="gwst">Department of Gender, Women's, + Sexuality Studies</Group>
<GroupUrl>https://my3.my.umbc.edu/groups/gwst</GroupUrl>
<AvatarUrl>https://assets4-my.umbc.edu/system/shared/avatars/groups/000/000/442/0951c34dc17cf35be31bb59fa96435df/xsmall.png?1551107229</AvatarUrl>
<AvatarUrl size="original">https://assets2-my.umbc.edu/system/shared/avatars/groups/000/000/442/0951c34dc17cf35be31bb59fa96435df/original.png?1551107229</AvatarUrl>
<AvatarUrl size="xxlarge">https://assets1-my.umbc.edu/system/shared/avatars/groups/000/000/442/0951c34dc17cf35be31bb59fa96435df/xxlarge.png?1551107229</AvatarUrl>
<AvatarUrl size="xlarge">https://assets3-my.umbc.edu/system/shared/avatars/groups/000/000/442/0951c34dc17cf35be31bb59fa96435df/xlarge.png?1551107229</AvatarUrl>
<AvatarUrl size="large">https://assets2-my.umbc.edu/system/shared/avatars/groups/000/000/442/0951c34dc17cf35be31bb59fa96435df/large.png?1551107229</AvatarUrl>
<AvatarUrl size="medium">https://assets4-my.umbc.edu/system/shared/avatars/groups/000/000/442/0951c34dc17cf35be31bb59fa96435df/medium.png?1551107229</AvatarUrl>
<AvatarUrl size="small">https://assets2-my.umbc.edu/system/shared/avatars/groups/000/000/442/0951c34dc17cf35be31bb59fa96435df/small.png?1551107229</AvatarUrl>
<AvatarUrl size="xsmall">https://assets4-my.umbc.edu/system/shared/avatars/groups/000/000/442/0951c34dc17cf35be31bb59fa96435df/xsmall.png?1551107229</AvatarUrl>
<AvatarUrl size="xxsmall">https://assets4-my.umbc.edu/system/shared/avatars/groups/000/000/442/0951c34dc17cf35be31bb59fa96435df/xxsmall.png?1551107229</AvatarUrl>
<Sponsor>Gender + Women's Studies</Sponsor>
<ThumbnailUrl size="xxlarge">https://assets4-my.umbc.edu/system/shared/thumbnails/news/000/027/416/0ddb0ca1ac0fe9a9899a14c8da505d02/xxlarge.jpg?1365690823</ThumbnailUrl>
<ThumbnailUrl size="xlarge">https://assets1-my.umbc.edu/system/shared/thumbnails/news/000/027/416/0ddb0ca1ac0fe9a9899a14c8da505d02/xlarge.jpg?1365690823</ThumbnailUrl>
<ThumbnailUrl size="large">https://assets4-my.umbc.edu/system/shared/thumbnails/news/000/027/416/0ddb0ca1ac0fe9a9899a14c8da505d02/large.jpg?1365690823</ThumbnailUrl>
<ThumbnailUrl size="medium">https://assets2-my.umbc.edu/system/shared/thumbnails/news/000/027/416/0ddb0ca1ac0fe9a9899a14c8da505d02/medium.jpg?1365690823</ThumbnailUrl>
<ThumbnailUrl size="small">https://assets2-my.umbc.edu/system/shared/thumbnails/news/000/027/416/0ddb0ca1ac0fe9a9899a14c8da505d02/small.jpg?1365690823</ThumbnailUrl>
<ThumbnailUrl size="xsmall">https://assets2-my.umbc.edu/system/shared/thumbnails/news/000/027/416/0ddb0ca1ac0fe9a9899a14c8da505d02/xsmall.jpg?1365690823</ThumbnailUrl>
<ThumbnailUrl size="xxsmall">https://assets1-my.umbc.edu/system/shared/thumbnails/news/000/027/416/0ddb0ca1ac0fe9a9899a14c8da505d02/xxsmall.jpg?1365690823</ThumbnailUrl>
<PawCount>24</PawCount>
<CommentCount>2</CommentCount>
<CommentsAllowed>true</CommentsAllowed>
<PostedAt>Thu, 11 Apr 2013 10:34:03 -0400</PostedAt>
</NewsItem>

<NewsItem contentIssues="true" id="27537" important="false" status="posted" url="https://my3.my.umbc.edu/posts/27537">
<Title>PSR-Duh!</Title>
<Body>
<![CDATA[
    <div class="html-content">
    <a href="http://rss.buysellads.com/click.php?z=1260013&amp;k=d754f1e9ba63a736ba8ff5ece958f7dd&amp;a=31061&amp;c=428948497" rel="nofollow external" class="bo"><img src="http://rss.buysellads.com/img.php?z=1260013&amp;k=d754f1e9ba63a736ba8ff5ece958f7dd&amp;a=31061&amp;c=428948497" alt="" style="max-width: 100%; height: auto;"></a><p>In a previous lesson here on Nettuts+, you learn about <a href="http://net.tutsplus.com/tutorials/php/psr-huh" rel="nofollow external" class="bo">PSR</a>; however, that article didn’t detail the process of integrating that coding style into your projects. Let’s fix that!</p>
    <p></p>
    <p><strong>Note:</strong> this article assumes that you’ve read <a href="http://net.tutsplus.com/tutorials/php/psr-huh" rel="nofollow external" class="bo">PSR-Huh?</a>, and understand what PSR refers to. Let’s begin with the first standard: PSR-0.</p>
    <hr>
    <h2>PSR-0 – The Autoloading Standard</h2>
    <blockquote><p>The PHPCS plugin is the most helpful tool I’ve used.</p></blockquote>
    <p>In the past, we included PHP files in one of two ways:</p>
    <ul>
    <li>Using a giant block of include statements at the top of each file.</li>
    <li>List all includes in a single file and include that single file within your project.</li>
    </ul>
    <p>There are pros and cons to both of these approaches, but, I think we can all agree that neither are optimal or modern solutions. PHP5 introduced the concept of autoloading files based on their class names; so, PSR-0 aims to keep filenames consistent.</p>
    <p>Namespaces have nothing to do with filenames or autoloading; you can technically declare different namespaces in the same file. For example, the following code is perfectly valid.</p>
    <pre>&lt;?php&#x000A;    namespace Nettuts;&#x000A;    &#x000A;    Class Hello&#x000A;    {&#x000A;        public function __construct()&#x000A;        {&#x000A;            echo "Nettuts+";&#x000A;        }&#x000A;    }&#x000A;    &#x000A;    namespace Gabriel;&#x000A;    &#x000A;    Class Hello&#x000A;    {&#x000A;        public function __construct()&#x000A;        {&#x000A;            echo "Gabriel";&#x000A;        }&#x000A;    }&#x000A;    &#x000A;    $h = new \Nettuts\Hello();&#x000A;    $h = new \Gabriel\Hello();&#x000A;    </pre>
    <p>There are two <code>Hello</code> classes in this single file, but they reside within different namespaces. The final two lines of this code instantiate the <code>Hello()</code> classes on their respective namespaces. The first outputs “Nettuts+”, while the second echos “Gabriel.” Namespaces allow you to differentiate between two classes with the same name, much like you might be used to with folders on your desktop. The PSR-0 standard simply leverages the benefits of namespaces, making it easy to autoload your classes. By consistently naming your files, you can create a function that locates the necessary files automatically.</p>
    <blockquote><p>To be PSR-1 compliant, you also must follow PSR-0.</p></blockquote>
    <p>Be sure to read <a href="https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md" rel="nofollow external" class="bo">the full standard</a>, but to summarize:</p>
    <ul>
    <li>Each class must be namespaced with the project’s (or creator’s) name.</li>
    <li>Underscores within the class’ name should be converted to directory separators.</li>
    <li>Files must have the <code>.php</code> extension.</li>
    </ul>
    <p>For example, a class reference of:</p>
    <pre>\Nettuts\Database\SQL_Postgres&#x000A;    </pre>
    <p>if following PSR-0, should translate to this path:</p>
    <pre>./Nettuts/Database/SQL/Postgres.php&#x000A;    </pre>
    <p>How might we implement this functionality? The most obvious solution is to use <a href="http://getcomposer.org/" rel="nofollow external" class="bo">Composer</a>, which ships with a PSR-0 compliant autoloader. If you leverage Composer in your projects (<a href="http://net.tutsplus.com/tutorials/php/easy-package-management-with-composer/" rel="nofollow external" class="bo">and you should</a>), then opt for its autoloader, rather than writing your own.</p>
    <p>A PSR-0 compliant loader allows you to specify a base path, informing the loader which directory to look in first. To get started, create a simple <code>composer.json</code> file that contains the following JSON:</p>
    <pre>{&#x000A;        "autoload": {&#x000A;            "psr-0": {&#x000A;                "Nettuts": "./",&#x000A;                "Gmanricks": "vendor/"&#x000A;            }&#x000A;        }&#x000A;    }&#x000A;    </pre>
    <p>This JSON file tells Composer that we want to use the PSR-0 standard to autoload all <code>Nettuts</code>-namespaced files with the current directory (the root folder) as the base path. We also want to autoload all classes with the <code>Gmanricks</code> namespace, relative to the <code>vendor</code> folder (e.g. <code>./vendor/Gmanricks/ClassName</code>).</p>
    <p>Now, type “<code>composer install</code>” to generate the autoload classes, or “<code>composer dump-autoload</code>” on subsequent edits to regenerate the autoload classes. Also, don’t forget to require the autoloader somewhere early in your project.</p>
    <pre>&lt;?php&#x000A;    &#x000A;    require 'vendor/autoload.php';&#x000A;    </pre>
    <p>Composer is your best option, but there may be scenarios when you want a small, simple autoloader. The PHP-FIG provides a sample autoloader that you can use:</p>
    <pre>function __autoload($className)&#x000A;    {&#x000A;        $className = ltrim($className, '\\');&#x000A;        $fileName  = '';&#x000A;        $namespace = '';&#x000A;        if ($lastNsPos = strrpos($className, '\\')) {&#x000A;            $namespace = substr($className, 0, $lastNsPos);&#x000A;            $className = substr($className, $lastNsPos + 1);&#x000A;            $fileName  = str_replace('\\', DIRECTORY_SEPARATOR, $namespace) . DIRECTORY_SEPARATOR;&#x000A;        }&#x000A;        $fileName .= str_replace('_', DIRECTORY_SEPARATOR, $className) . '.php';&#x000A;    &#x000A;        require $fileName;&#x000A;    }&#x000A;    </pre>
    <p>It’s important to note that this loader attempts to load all classes using the PSR standard in the current directory.</p>
    <p>Now that we’re successfully autoloading classes, let’s move on to the next standard: the basic coding standard.</p>
    <hr>
    <h2>PSR-1 – The Basic Coding Standard</h2>
    <p>PSR-1 defines general coding guidelines, which can be divided into two parts.</p>
    <h3>Naming Conventions</h3>
    <blockquote><p>Namespaces allow you to differentiate between two classes with the same name.</p></blockquote>
    <p>As with any programming language, following naming conventions ultimately makes your code easier to read and maintain. Here’s a few rules to follow:</p>
    <ul>
    <li>Class names use <em>PascalCase</em>.</li>
    <li>Method names should be in <em>camelCase</em>.</li>
    <li>Constants require all capital letters, separating each word with an underscore (e.g. <code>CONSTANT_VARIABLE</code>).</li>
    </ul>
    <h3>Code Conventions:</h3>
    <p>There’s more to it than naming conventions; follow these guidelines as well:</p>
    <ul>
    <li>Only use <code>&lt;?php</code> or <code>&lt;?=</code> in your code. Don’t close PHP within a class.</li>
    <li>Files should either declare symbols or use them.</li>
    <li>Files must be in UTF-8 format without BOM for PHP code</li>
    </ul>
    <p>Most of these are self-explanatory, but the middle convention is slightly confusing. It essentially dictates that any declaration, be it functions, classes, etc., should be separated into their own files. This not only promotes best practices like code-reuse and separation, but it keeps your code neat and clean.</p>
    <p>It’s worth mentioning that each PSR standard builds upon the previous PSR standard. As such, to be PSR-1 compliant, you also must follow PSR-0. By following these two standards, your code will be properly namespaced and autoloaded. There really isn’t a reason not to follow them.</p>
    <p>Yes, some developers complain about PSR and prefer to follow other conventions, but by following this standard, you can share code with everyone without worrying about its consistency. Having said that, nobody is forcing your hand here. It’s simply a recommended guideline.</p>
    <p>The next standard, PSR-2, dives into the specifics of how you should structure your code.</p>
    <hr>
    <h2>PSR-2 – The Advanced Coding Standard</h2>
    <blockquote><p>PSR-2 dives into the specifics of how you should structure your code.</p></blockquote>
    <p>Next, we come to the one standard that PHP developers struggle with most; in fact, it’s the reason why I chose to write this article.</p>
    <p>PSR-2 defines many rules, many of which are listed below:</p>
    <ul>
    <li>Four spaces should be used instead of tabs.</li>
    <li>The ideal line length should be under 80 characters, but a soft limit of 120 characters should be imposed on all lines.</li>
    <li>There should be one blank line under the <code>namespace</code> and <code>use</code> declarations.</li>
    <li>A method’s or class’ opening brace must be on its own line.</li>
    <li>A method’s or class’ closing brace must go on the line immediately after the body.</li>
    <li>All properties and methods require a visibility level.</li>
    <li>The ‘<code>abstract</code>‘ / ‘<code>final</code>‘ keywords should appear before the visibility while ‘<code>static</code>‘ goes after.</li>
    <li>Control structure keywords must be followed by one space.</li>
    <li>A control statement’s opening brace should appear on the same line as the statement.</li>
    </ul>
    <blockquote><p> Be sure to <a href="https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md" rel="nofollow external" class="bo">view the entire spec</a> for a complete overview.</p></blockquote>
    <p>PSR-2 is just as important as PSR-1 (and PSR-0). It intends to make code easy to read and maintain. But, as they say, “<em>The devil is in the details.</em>” There are a lot of details to remember, which can be difficult if your programming habits differ from what the standard defines. Thankfully, if you’re on board, there are tools that help you adhere to PSR-0, PSR-1 and PSR-2. Perhaps the best tool is the <a href="http://www.sublimetext.com/" rel="nofollow external" class="bo">Sublime Text</a> plugin, <a href="https://github.com/benmatselby/sublime-phpcs" rel="nofollow external" class="bo">PHPCS</a>.</p>
    <hr>
    <h2>PHPCS – PHP Code Sniffer</h2>
    <p>The PHPCS plugin is the most helpful tool I’ve used, when it comes to getting code into shape. It allows you to not only ensure that your code follows the PSR standards, but it also uses PHP’s linter to check for syntax errors. This is a great time saver; you no longer have to worry about syntax errors when you test your code in the browser.</p>
    <p>Install the package through <a href="http://wbond.net/sublime_packages/package_control" rel="nofollow external" class="bo">Sublime Package Control</a> (it’s called Phpcs), or, alternatively, with Git, using the following commands:</p>
    <pre>cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/&#x000A;    git clone <a href="git://github.com/benmatselby/sublime-phpcs.git">git://github.com/benmatselby/sublime-phpcs.git</a> Phpcs&#x000A;    </pre>
    <p>This installs the plugin, but you need a few dependencies before you can configure PHPCS. Once again, the easiest way to install them is with Composer. Browse to a directory of your choice and create a <code>composer.json</code> file with the following JSON:</p>
    <pre>{&#x000A;        "name": "Nettuts PHPCS Demo",&#x000A;        "require": {&#x000A;            "squizlabs/php_codesniffer": "*",&#x000A;            "fabpot/php-cs-fixer": "*",&#x000A;            "phpmd/phpmd": "*"&#x000A;        }&#x000A;    }&#x000A;    </pre>
    <p>This installs the three dependencies into the current folder. Open a terminal window to your installation location and type <code>composer install</code>, and it will download the necessary packages.</p>
    <p>Now you can configure the plugin in Sublime Text. Navigate to ‘Preferences’ &gt; ‘Package Settings’ &gt; ‘PHP Code Sniffer’ &gt; ‘Settings – User’.</p> <img alt="PHP Code-sniffer Settings" src="http://cdn.tutsplus.com/net.tutsplus.com/authors/gabriel-manricks/SettingsPhpCodeSniff.png" style="max-width: 100%; height: auto;"><p>The plugin needs to know where the three dependencies reside, as well as the standard that we want our code to adhere to:</p>
    <pre>{&#x000A;        "phpcs_additional_args": {&#x000A;            "--standard": "PSR2",&#x000A;            "-n": ""&#x000A;        },&#x000A;        "phpcs_executable_path": "DEPENDENCY_PATH/vendor/bin/phpcs",&#x000A;        "phpmd_executable_path": "DEPENDENCY_PATH/vendor/bin/phpmd",&#x000A;        "php_cs_fixer_executable_path": "DEPENDENCY_PATH/vendor/bin/php-cs-fixer"&#x000A;    }&#x000A;    </pre>
    <p>These settings inform PHPCS that we want to ahere to the PSR2 standard and provide each dependency’s path. Don’t forget to replace <code>DEPENDENCY_PATH</code> with your actual path.</p>
    <p>Restart Sublime, and the code sniffer will scan your code when you save your PHP files.</p> <img alt="Phpcs Sublime Extension Errors" src="http://cdn.tutsplus.com/net.tutsplus.com/authors/gabriel-manricks/PhpcsErrors.png" style="max-width: 100%; height: auto;"><p>Right-clicking in the editor will also list several new options, such as clearing error marks and attempting to fix the non-standard issues. However, considering that the point of this article is to get you used to the standard, I suggest manually fixing your code and avoiding the automatic <em>fixer</em> feature.</p>
    <hr>
    <h2>Conclusion</h2>
    <p>The PSR standards were created so that code could easily be reused from project to project, without sacrificing on code style consistency. While they may feel overwhelming at first, you can use the ideas and tools from this article to help you make the transition.</p>
    <p>To reiterate one last time: nobody is forcing you to change the way that you code in PHP. It’s simply a guide, originally meant for framework interoperability. That said, at Nettuts+, we consider it a best practice to follow. Now make up your own mind! If you have any questions, let’s hear them below!</p>
    </div>
]]>
</Body>
<Summary>In a previous lesson here on Nettuts+, you learn about PSR; however, that article didn’t detail the process of integrating that coding style into your projects. Let’s fix that!   Note: this...</Summary>
<Website>http://feedproxy.google.com/~r/nettuts/~3/RCGvjI4qY_s/</Website>
<TrackingUrl>https://my3.my.umbc.edu/api/v0/pixel/news/27537/guest@my.umbc.edu/d2ab903c2e612d9a0571f7751609bbbf/api/pixel</TrackingUrl>
<Tag>css</Tag>
<Tag>development</Tag>
<Tag>html</Tag>
<Tag>javascript</Tag>
<Tag>mysql</Tag>
<Tag>php</Tag>
<Tag>psr</Tag>
<Tag>sql</Tag>
<Tag>standards</Tag>
<Tag>tools-and-tips</Tag>
<Tag>tutorials</Tag>
<Tag>wed</Tag>
<Group token="retired-583">Web Developer - Build Group</Group>
<GroupUrl>https://my3.my.umbc.edu/groups/retired-583</GroupUrl>
<AvatarUrl>https://assets3-my.umbc.edu/system/shared/avatars/groups/000/000/583/fc60f5d7abc2e080599bb6dc465db54d/xsmall.png?1363101197</AvatarUrl>
<AvatarUrl size="original">https://assets4-my.umbc.edu/system/shared/avatars/groups/000/000/583/fc60f5d7abc2e080599bb6dc465db54d/original.jpg?1363101197</AvatarUrl>
<AvatarUrl size="xxlarge">https://assets4-my.umbc.edu/system/shared/avatars/groups/000/000/583/fc60f5d7abc2e080599bb6dc465db54d/xxlarge.png?1363101197</AvatarUrl>
<AvatarUrl size="xlarge">https://assets4-my.umbc.edu/system/shared/avatars/groups/000/000/583/fc60f5d7abc2e080599bb6dc465db54d/xlarge.png?1363101197</AvatarUrl>
<AvatarUrl size="large">https://assets3-my.umbc.edu/system/shared/avatars/groups/000/000/583/fc60f5d7abc2e080599bb6dc465db54d/large.png?1363101197</AvatarUrl>
<AvatarUrl size="medium">https://assets3-my.umbc.edu/system/shared/avatars/groups/000/000/583/fc60f5d7abc2e080599bb6dc465db54d/medium.png?1363101197</AvatarUrl>
<AvatarUrl size="small">https://assets4-my.umbc.edu/system/shared/avatars/groups/000/000/583/fc60f5d7abc2e080599bb6dc465db54d/small.png?1363101197</AvatarUrl>
<AvatarUrl size="xsmall">https://assets3-my.umbc.edu/system/shared/avatars/groups/000/000/583/fc60f5d7abc2e080599bb6dc465db54d/xsmall.png?1363101197</AvatarUrl>
<AvatarUrl size="xxsmall">https://assets4-my.umbc.edu/system/shared/avatars/groups/000/000/583/fc60f5d7abc2e080599bb6dc465db54d/xxsmall.png?1363101197</AvatarUrl>
<Sponsor>Web Developer - Build Group</Sponsor>
<PawCount>0</PawCount>
<CommentCount>0</CommentCount>
<CommentsAllowed>true</CommentsAllowed>
<PostedAt>Thu, 11 Apr 2013 10:23:54 -0400</PostedAt>
<EditAt>Thu, 11 Apr 2013 10:23:54 -0400</EditAt>
</NewsItem>

<NewsItem contentIssues="true" id="27539" important="false" status="posted" url="https://my3.my.umbc.edu/posts/27539">
<Title>The Power of Play</Title>
<Body>
<![CDATA[
    <div class="html-content">
    <p>Last week I was watching an interview with the incredibly talented <a href="http://thegreatdiscontent.com/jessica-walsh" title="Jessica Walsh on The Great Discontent" rel="nofollow external" class="bo">Jessica Walsh</a>. I’m always curious as to how the world’s most creative people operate because I don’t really consider myself a very “creative” designer in the art sense. </p>
    <p>She said something very profound about one of the most important aspects of her highly lucrative creative career: <em>play</em>. At the start of any project or exercise, Jessica allows herself to just <em>play</em>. She has no predetermined set of rules or processes and she’s not caged in to any of the static limitations we tend to put on our creative work. </p>
    <p>I’ve been sitting on this idea of “play” as a creative asset over the last week and decided to put it into…well, <em>play</em>.  </p>
    <h2>The Importance of an Anti-Process Process</h2>
    <p>I was having a discussion with my friend <a href="http://yaronschoen.com" title="Yaron Schoen" rel="nofollow external" class="bo">Yaron</a> yesterday about the plaque of process that the design and development community tends to force on itself. I asked him what his philosophy was when approaching a new design problem and he said he doesn’t favor <em>process</em>. He would rather daydream and allow his mind to discover all of the possibilities without committing to even the slightest of static wireframes. He would rather “play” to discover new opportunities, than to limit himself to the same frameworks, processes, strategies, and boilerplates used on multiple other projects. </p>
    <p>Many times “play” becomes the anti-process process that we need to create something new, something outside of the normal framework. When we put something down in Photoshop first or we sketch the first wireframe for a site’s navigation, we’re subconsciously limiting ourselves to a static idea constrained by what we’ve already seen or done. This rarely leads to a new, more innovative solution that sets you apart as a unique designer.</p>
    <h2>Opening Your Mind’s Eye</h2>
    <p>Part of being a great designer is developing the ability to <a href="http://informationarchitects.net/blog/learning-to-see/" title="Learning to See by Oliver Reichenstein" rel="nofollow external" class="bo">truly see with a design eye</a>. <em>Seeing</em> doesn’t always limit itself to the physical act of looking at something. One of the powerful side effects of playing is that your mind is free to discover all angles of a design problem. </p>
    <p>Most of the design challenges we face are designing solutions for people to use out in the world, yet we find ourselves trying to solve them from behind the discomfort of our desks. If you’re designing an iPhone app for a restaurant, take a trip to a restaurant with a friend and start to “play” with ridiculous ideas and watch the little nuances that will present themselves while observing how people <em>actually</em> use their phones in the restaurant. </p>
    <p>What you discover when observing and playing with ridiculous notions will give you insights you never would have thought about by starting your project out in Xcode. </p>
    <h2>Google’s Secret Weapon of Play</h2>
    <p>One of Google’s secret weapons of designing a new product is to use video to tell the story of a design before it has even see the first prototype. Rather than creating a design first and expecting people to adapt to it, Google’s designers will take their idea down to the video team and let them play with the idea first. Allowing a creative third-party to produce the story of the idea, helps you to see a completely new approach without the limitations of an early static comp. </p>
    <p><em>Play</em> leads to breakthroughs and real-world imagination of use and application. By placing physical design further down the timeline, Google’s design team is able to <em>see</em> multiple design problems and solutions without having to spend hours “guessing” at solutions. </p>
    <h2>Go Play</h2>
    <p>Before starting your next design project, try to leave Photoshop and code out of the idea process. Grab a camera and make a video, take the time to imagine the craziest uses you could fathom, or just ask non-designers to make your site out of construction paper. Design a website upside down or create a new interface that is completely off-grid. Do something that is completely ridiculous and get out of your comfort zone. </p>
    <p>Be comfortable with playing and use it as a creative asset. You’d be very surprised at the new opportunities that come from it.</p>
    <p>The post <a href="http://blog.teamtreehouse.com/the-power-of-play" rel="nofollow external" class="bo">The Power of Play</a> appeared first on <a href="http://blog.teamtreehouse.com" rel="nofollow external" class="bo">Treehouse Blog</a>.</p>
    </div>
]]>
</Body>
<Summary>Last week I was watching an interview with the incredibly talented Jessica Walsh. I’m always curious as to how the world’s most creative people operate because I don’t really consider myself a...</Summary>
<Website>http://feedproxy.google.com/~r/teamtreehouse/~3/ppoMeocXuzk/the-power-of-play</Website>
<TrackingUrl>https://my3.my.umbc.edu/api/v0/pixel/news/27539/guest@my.umbc.edu/ce0c1990ab630e54fa33072e859ffc86/api/pixel</TrackingUrl>
<Tag>android</Tag>
<Tag>creative-process</Tag>
<Tag>css</Tag>
<Tag>design</Tag>
<Tag>development</Tag>
<Tag>html</Tag>
<Tag>ios</Tag>
<Tag>javascript</Tag>
<Tag>jessica-walsh</Tag>
<Tag>make-a-website</Tag>
<Tag>responsive</Tag>
<Tag>web</Tag>
<Tag>yaron-schoen</Tag>
<Group token="retired-583">Web Developer - Build Group</Group>
<GroupUrl>https://my3.my.umbc.edu/groups/retired-583</GroupUrl>
<AvatarUrl>https://assets3-my.umbc.edu/system/shared/avatars/groups/000/000/583/fc60f5d7abc2e080599bb6dc465db54d/xsmall.png?1363101197</AvatarUrl>
<AvatarUrl size="original">https://assets4-my.umbc.edu/system/shared/avatars/groups/000/000/583/fc60f5d7abc2e080599bb6dc465db54d/original.jpg?1363101197</AvatarUrl>
<AvatarUrl size="xxlarge">https://assets4-my.umbc.edu/system/shared/avatars/groups/000/000/583/fc60f5d7abc2e080599bb6dc465db54d/xxlarge.png?1363101197</AvatarUrl>
<AvatarUrl size="xlarge">https://assets4-my.umbc.edu/system/shared/avatars/groups/000/000/583/fc60f5d7abc2e080599bb6dc465db54d/xlarge.png?1363101197</AvatarUrl>
<AvatarUrl size="large">https://assets3-my.umbc.edu/system/shared/avatars/groups/000/000/583/fc60f5d7abc2e080599bb6dc465db54d/large.png?1363101197</AvatarUrl>
<AvatarUrl size="medium">https://assets3-my.umbc.edu/system/shared/avatars/groups/000/000/583/fc60f5d7abc2e080599bb6dc465db54d/medium.png?1363101197</AvatarUrl>
<AvatarUrl size="small">https://assets4-my.umbc.edu/system/shared/avatars/groups/000/000/583/fc60f5d7abc2e080599bb6dc465db54d/small.png?1363101197</AvatarUrl>
<AvatarUrl size="xsmall">https://assets3-my.umbc.edu/system/shared/avatars/groups/000/000/583/fc60f5d7abc2e080599bb6dc465db54d/xsmall.png?1363101197</AvatarUrl>
<AvatarUrl size="xxsmall">https://assets4-my.umbc.edu/system/shared/avatars/groups/000/000/583/fc60f5d7abc2e080599bb6dc465db54d/xxsmall.png?1363101197</AvatarUrl>
<Sponsor>Web Developer - Build Group</Sponsor>
<PawCount>0</PawCount>
<CommentCount>0</CommentCount>
<CommentsAllowed>true</CommentsAllowed>
<PostedAt>Thu, 11 Apr 2013 10:19:22 -0400</PostedAt>
</NewsItem>

</News>
