whys – Speeds – Versatility



whys – Speeds – Versatility

0 0


dcampajax

Drupal Camp Ajax

On Github alnutile / dcampajax

whys

Speeds

For me this one project [link] was just slow in IE8 ( yes I know IE) and now it is 20x faster in IE 8. Could FAPI have done it? Maybe. But all I had to do was swap out the FAPI Ajax callbacks for jQuery and it just was fast. Slow http://ajaxslow.com/products

Versatility

These buttons were a bit difficult to do with the FAPI Ajax. (for me) I could have mixed it with ajax_command_invoke.

How

Making a module

[github] demo site
  • We will make a module that has a js file that will bind to a link and a select list.
  • Upon clicking or selecting it will send an Ajax request to the menu path or our module.
  • That menu path will then run some php and send back drupal_json_output to the js function.
  • The js file will take that output and put it into the page via a function we use and the data object it returns

Choosing the boot CD

Format Drive Step 1

Oh hey, these are some notes. They'll be hidden in your presentation, but you can see them if you open the speaker notes window (hit 's' on your keyboard).

Format Drive Step 2

tasksel !

  • LAMP
  • Samba
  • Email
  • OpenSSH Server

command line work

Github Settings [click]

SSH Key

Apache Template Site

/var/www/where & who

webmin

samba | email reading

Database

sequelpro!!!

SSH TUNNEL!!!

http://www.sequelpro.com

phpmyadmin

Download to /var/www | Untar | Go...

CLONE

Presentation in reveal.js

reveal.js and rvl.io are entirely free but if you'd like to support the projects you can donate below. Donations will go towards hosting and domain costs.

----------

Me

Alfred Nutile @alnutile