high desert drupal - first meeting

54
Welcome to High Desert Drupal Tom Friedhof - ActiveLAMP Helior Colorado - Day of the Dead Studios

Upload: tom-friedhof

Post on 19-May-2015

743 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: High Desert Drupal - First Meeting

Welcome to High Desert Drupal

Tom Friedhof - ActiveLAMPHelior Colorado - Day of the Dead Studios

Page 2: High Desert Drupal - First Meeting

The Internet.The medium for communication.

Page 3: High Desert Drupal - First Meeting

Disconnected from the world.

No Internet :(

Look things up manually!

Page 4: High Desert Drupal - First Meeting

Communication.It’s what the Web is all about.

Page 5: High Desert Drupal - First Meeting

Share Data‣Flickr

‣Del.icio.us

‣Google Calander

‣Pownce

Page 6: High Desert Drupal - First Meeting

News and Updates‣Reputable News Sites

‣Blogs

‣RSS Feeds

‣Twitter

Page 7: High Desert Drupal - First Meeting

Point of Reference‣Reference.com

‣Wikipedia.org

‣Maps.google.com

‣Answers.yahoo.com

‣w3schools

‣php.net/manual/en/

‣dev.mysql.com/doc

‣drupal.org/handbooks

Page 8: High Desert Drupal - First Meeting

Entertainment‣YouTube

‣iTunes Music Store

Page 9: High Desert Drupal - First Meeting

Communities‣MySpace

‣Facebook

‣Digg

‣Last.fm

‣list goes on forever...

Page 10: High Desert Drupal - First Meeting

The Problem. Inconsistency.

Page 11: High Desert Drupal - First Meeting

Anyone can post BS onlineThere are no Internet police in regards to content. Yet.

Technology can’t filter content but users can.

Page 12: High Desert Drupal - First Meeting

Information is redundant/contradictoryData should be standardized/updated/corrected

Page 13: High Desert Drupal - First Meeting

Presentation is awkwardLayout and design are terriblePoor choice of technologyUsability? Accessibility?

Page 14: High Desert Drupal - First Meeting

SecurityFraudulent sitesSSL CertificatesHackers!!

Page 15: High Desert Drupal - First Meeting

How do we Correct these issues?One piece at a time...

Page 16: High Desert Drupal - First Meeting

Who?Developers

Designers

Administrators

Content Providers

Owners

Without the duties of each role, your website will .fail

Page 17: High Desert Drupal - First Meeting

Creating a web presence takes a lot of work!

designers writing code

developers playing with photoshop

content providers learning HTML

Administrators worried about content

Owners performing usability/accessibility testing

Security

Browser compatibility

Validation

Search engine optimization

Hosting costs?

Page 18: High Desert Drupal - First Meeting

Over load.

Page 19: High Desert Drupal - First Meeting

You don’t have to do everything

Page 20: High Desert Drupal - First Meeting

Every role is just as important as the next

Page 21: High Desert Drupal - First Meeting

What’s this group about?

• A place to talk about Web Development.

• Meeting other people that build web sites.

• Learning Opportunities

• Participating, because everyone gets something out of it.

• This group is whatever we want to make it.

Page 22: High Desert Drupal - First Meeting

Introductions• Where do you currently

work?

• Are you currently involved in any web projects? What technologies do you use?

• Do you work in web development professionally? Is this a hobby for you?

• Are you currently looking for work?

Page 23: High Desert Drupal - First Meeting

What is open source?

Page 24: High Desert Drupal - First Meeting

Don’t work in a vacuum.

Page 25: High Desert Drupal - First Meeting

A few reasons why...(and advantages)

Page 26: High Desert Drupal - First Meeting

Security

• Filtering XSS Exploits

• Form Hijacking

• Data Validation

• Etc... (The list goes on)

Page 27: High Desert Drupal - First Meeting

Browser Quirks

• CSS does not work the same in every major browser

• JavaScript does not work the same in every major browser

• Etc...

Page 28: High Desert Drupal - First Meeting

Development Time• You don’t have to code everything in your

web site.

• You’re using code that is tested by a wide range of people.

• Bug fixes and feature enhancements don’t have to be written by you.

• You can spend more time working on more important things.

Page 29: High Desert Drupal - First Meeting

What if you work by yourself?

How do you avoid working in a vacuum?

Page 30: High Desert Drupal - First Meeting

Join a community

• Come to groups like this and share what you’re working on.

• Attend industry conferences.

• Read and contribute to discussion boards.

• Use IRC, Skype, or any other Chat software to keep in touch with other developers.

Page 31: High Desert Drupal - First Meeting

Use Open Source

Page 32: High Desert Drupal - First Meeting

JavaScript Libraries

• YUI

• Prototype

• mootools

• scriptaculous

• extjs

• jQuery

Page 33: High Desert Drupal - First Meeting

CSS Frameworks

• YUI Grids

• Blueprint

Page 34: High Desert Drupal - First Meeting

PHP Frameworks

• Zend Framework

• CakePHP

• Symfony Project

• PEAR

• eZComponents

• Drupal

Page 35: High Desert Drupal - First Meeting

Why should you use Drupal?

Page 36: High Desert Drupal - First Meeting

Drupal for Developers

• The underlying framework is written really well.

• It’s a great system to build on top of, rather then building from scratch.

• The flexibility to modify and add in any kind of functionality without modifying someone else’s code.

• You can look under the hood of modules and learn new coding techniques.

Page 37: High Desert Drupal - First Meeting

For Non-Developers

• You can build a pretty nice functional site without writing one single line of code.

• You build sites by piecing modules together.

• Lots of Drupal Modules.

Page 38: High Desert Drupal - First Meeting

Most Important Reason

The Community

Page 39: High Desert Drupal - First Meeting

jQuery Demo

Page 40: High Desert Drupal - First Meeting

Use Case

• Find an Element in the DOM.

• Hide a child node of that element from user.

• Make it look nice with an effect. (Ex. Slide, Fade, etc...)

Page 41: High Desert Drupal - First Meeting

The Hard Way

• Find the element.elem = document.getElementById(‘my_element’);

• Locate a child element of the element found.

• Major browsers handle firstChild and nextSibling differently

Page 42: High Desert Drupal - First Meeting

The Hard Way (cont.)

• Find the height of the element.

• Setup a timer in Javascript using a for loop.

• Modify the style property of JS object in timer loop.

• Use setTimeout() to facilitate all of this.

Page 43: High Desert Drupal - First Meeting

The Hard Way (cont.)

• Looks something like this:

for (var i=0;i<=100;i +=5) {(function() {

var pos = i;setTimeout(function() {

elem.style.height = (((100 - pos) / 100) * h) + “px”;

}, (pos + 1) * 10);})();

}

Page 44: High Desert Drupal - First Meeting

OR

Page 45: High Desert Drupal - First Meeting

With jQuery

$('#element_id li:nth-child(2)').slideUp();

Page 46: High Desert Drupal - First Meeting

Drupal Demo

Page 47: High Desert Drupal - First Meeting

Use Case

• Add an event calendar to web site.

• Any user can add events.

• Have a full page view of calendar.

• Show calendar in a list ordered by nearest event.

Page 48: High Desert Drupal - First Meeting

The Hard Way (cont.)

• You have to write a PHP page for every different way you want the data presented.

Page 49: High Desert Drupal - First Meeting

The Hard Way

• You have to know PHP.

• You have to know MySQL.

• You need to be familiar with working with dates.

Page 50: High Desert Drupal - First Meeting

The Hard Way (cont.)

• Create the database table to hold all this data

• You have to know MySQL to do this.

Page 51: High Desert Drupal - First Meeting

The Hard Way (cont.)

• You have to write a ton of logic to write a calendar.

• You need to be very familiar with working with dates in PHP.

• Writing a Calendar is hard work.

Page 52: High Desert Drupal - First Meeting

OR

Page 53: High Desert Drupal - First Meeting

With Drupal

• Download Drupal and modules below:

• CCK

• Views

• Date

• Calendar

Page 54: High Desert Drupal - First Meeting

Questions?