Skip to content

Instantly share code, notes, and snippets.

View MWins's full-sized avatar

Malcolm Winslett MWins

View GitHub Profile
@MWins
MWins / FrontEndFrameworks.md
Last active January 25, 2017 02:27
Front End Frameworks

###Front End Frameworks

Bad analogy would be imagine some provides the frame of a house and you finish it off by adding the interior/exterior walls, roof etc.

http://getbootstrap.com/

@MWins
MWins / RSS-add-feed-to-site.md
Last active January 25, 2017 02:27
RSS-add-feed-to-site

Using PHP and RSS to update two pages and add news items at one location.

RSS (is this still a viable option?)

Yes.

You would have to learn some php scripting. What you are wanting is the ability to add items to an RSS feed. Let's say you create an RSS feed and put it in the web_root as feed.php. Both pages pull the RSS feed and display it. How you pull it is up to you. There's javascript/jquery for this available on the web. Figure this approach will be best since it doesn't require converting pages to php (or changing server configuration to parse html as php, which is an option).

Here's a javascript class for reading RSS feeds. This should be part one, grab an existing feed and use a test page to display the feed. It's important to understand how to limit the # of items shown.

@MWins
MWins / remote-site-builder-plan.md
Last active January 25, 2017 02:36
remote-site-builder-plan
@MWins
MWins / PHP-security.md
Last active January 25, 2017 03:01
PHP-security
@MWins
MWins / UX-UI-travelocity-review.md
Last active January 25, 2017 11:11
Travelocity.com 2 Minute UI/UX Review

Travelocity.com 2 Minute UI/UX Review

Let's see :

  1. Search form is the focus of the page. It's too complex and lacks clear instructions. The top row should be discarded or minimized to the #1 search query type to reduce confusion.

  2. would have replaced the above section with instructions or a lead to get people to search. 'Pick Your Destination' or something similar

  3. Would work to center the form and move the delta small advert to the left, making the form center of attention.

  4. overall for a travel based site, it's pretty plain looking. But isn't about design I would gather.

@MWins
MWins / bootstrap-add panel-remove panel.html
Last active March 14, 2017 14:51
bootstrap-add panel-remove
<div class="container">
<div class="col-md-6">
<div class="panel panel-default" id="one">
<div class="panel-heading">Title
<button type="button" id="add" class="pull-right hide">+</button>
</div>
<div class="panel-body">Content here..</div>
</div>
</div>
<div class="panel_row col-md-6">
@MWins
MWins / UI-style-guides.md
Last active January 27, 2017 20:28
UI-style-guides

UI - style guides and 'unknown content' design

It's the same concept as style guides but with CMS theme development you have the luxury of building and reusing a predefined content package so it can be visually inspected. It's just a method I've used for situations where the content is an unknown.

I think we're probably in agreement there's a base line of design/style/code that should be provided for default HTML elements. If it's something a text editor can insert into a document, there should be some level of styling provided. Just because the client says they won't need unordered lists, we don't believe them because it is such a common thing it would be silly to skip.

Now specific UI elements is where we listen to the client or the requirements. Like the elements presented on this page :

http://rizzo.lonelyplanet.com/styleguide/ui-components/cards

@MWins
MWins / hosting-multiple-domains.md
Last active January 25, 2017 03:02
hosting for 10+ domains

hosting for 10+ domains - what's best?

What's the traffic ?

What are the sites built with?

How often will they be updated ?

Does anyone else require access outside the company (clients?)?