This week
Work
  • [ ] Refine some elements on Zend Framework eCommerce system
  • [ ] Prepare 10 min presentation
    Zend Framework logo.
  • [ ] Arrange projector / screen
  • [ ] Attend networking event
  • [ ] Set up sales meeting
  • [ ] Finances
  • [ ] Progress Christmas cards
  • [ ] Catch-up phone calls
  • Life

    • [ ] Food shop
    • [ ] Swimming x 2
    • [ ] Kung Fu

    Misc

    • [ ] Get presents/cards
    • [ ] Cook something I’ve never cooked before
    • [ ] Tidy up downloads/images
    • [ ] Time to wash the car / dog (?)
    Enhanced by Zemanta

    I remember once watching a documentary on Arnold Schwarzenegger’s bodybuilding career (or was it this one?) in the ’70s and early ’80s.

    All of the bodybuilders in that golden era had their own training programme managers and promoters.  I recall that one manager/promoter, working for another bodybuilder, loved his own quotes.

    These quotes would range from the urbane, “the pen is mightier than the muscle”, to somewhat more characteristically humorous: “remember the golden rule: he who has the gold, makes the rules“.

    Well, in the completely unrelated world of PHP programming, this perl of wisdom (sic joke) is worth hanging on to.  Why?  Well, if you have ever used PHP’s variable variables, knowledge of the correct syntax is worth its weight in gold.  It’ll save hours, if not days, of debugging.
    So, anyway, I’ve been coding a calendar system for a valued client for the past ten days or so.  My first attempt I pretty much scrapped as it got too complex and almost impossible to debug.  The second version is much better, except for one issue which has been giving me grief until now.

    Variable variables in PHP are extremely useful, but I throw in a word of caution immediately: use them sparingly.  It can be easy to quickly lose track of what’s called what and why it’s there.  Especially if any single script is 400+ lines long.

    To set a variable variable, it’s easier to start off giving a value to an ordinary variable:

    $myVar = "myVarVar";

    Now, I want to create a variable variable with the name $myVarVar, so this is how it’s done:


    $$myVar = "this is my variable variable";

    To see the contents of the variable variable, you can do either of the following:


    echo $$myVar;     // or
    echo $myVarVar; 

    Both will output “this is my variable variable” to the screen/page.

    Snooker Loopy
    Things start getting interesting when you introduce arrays and loops. Take the following example:


    for($i=0; $i<4; $i++) {
    $myVar = "myVarVar".$i;
    $$myVar = "  Variable variable £".$i;
    }

    creates and produces:

    echo $myVarVar0; // "Variable variable #0"
    echo $myVarVar1; // "Variable variable #1"
    echo $myVarVar2; // "Variable variable #2"
    echo $myVarVar3; // "Variable variable #3"

    Stencil of a shopping cart with the head of th...I

    Last week

    Work

    • [X] It’s all about the shopping cart system :-), but if there’s any time left…
    • [X] Organise and attend various 1-2-1 meetings
    • [-] Update CRM database with new data/purge old
    • [-] Modify company site (content/volume/images)
    • [-] Price review
    • [ ] Review marketing and sketch out action plan
    • [-] Finish templates for sales process
    • [-] Finish help documentation for new web-based calendar tool

    Life

    • [ ] Continue documentation effort for F/LOSS project
    • [X] Kung Fu – reacquaint myself with yellow sash routines
    • [ ] Swimming x 2

    Misc

    • [ ] Cook something I’ve never cooked before
    • [ ] Test a couple of lenses for the DSLR

    This week

    Intentionally short in number but still high in volume.
    Work

    • [ ] Continue the Zend Framework shopping cart system
    • [ ] Produce marketing data
      – [ ] Mail merge
      – [ ] Review & print
      – [ ] Envelope
    • [ ] Attend networking training
    • [ ] Attend other networking event (optional)

    Life

    • [ ] Continue documentation effort for F/LOSS project
    • [ ] Swimming x 1 
    • [ ] Attend wedding party

    Misc

    • [ ] Get presents/cards
    • [ ] Cook something I’ve never cooked before
    • [ ] Test a couple of lenses for the DSLR
    Enhanced by Zemanta

    I think it may be a good idea to start calling this “Fortnightly [p]review”…


    Last week

    Work
    • [-] Update CRM database with new data/purge old
    • [X] Layout fixes for customer web site
    • [-] Modify company site (content/volume/images)
    • [ ] Price review
    • [ ] Review marketing and sketch out action plan
    • [-] Draft templates for sales process
    • [-] Add help documentation for new web-based calendar tool
    • [X] Hosting set-up
    • [X] Prepare for new project (TBC)
    • [X] Complete SVN/Bugzilla integration project
    • [X] Housekeeping
    Life
    • [ ] Continue documentation effort for F/LOSS project
    • [X] Kung Fu
    • [X] Swimming x 2
    • [X] Finish sci-fi book
    • [X] Continue Personal Development
    Misc
    • [-] Uphold commitments @ old residence – see through to completion
    • [X] Cook something I’ve never cooked before (excludes dog, cat, rat, etc)
    • [X] Check out lenses for the DSLR

    This week
    Work

    • [ ] It’s all about the shopping cart system :-), but if there’s any time left…
    • [ ] Organise and attend various 1-2-1 meetings
    • [-] Update CRM database with new data/purge old
    • [-] Modify company site (content/volume/images)
    • [ ] Price review
    • [ ] Review marketing and sketch out action plan
    • [-] Finish templates for sales process
    • [-] Finish help documentation for new web-based calendar tool

    Life

    • [ ] Continue documentation effort for F/LOSS project
    • [ ] Kung Fu – reacquaint myself with yellow sash routines
    • [ ] Swimming x 2

    Misc

    • [ ] Cook something I’ve never cooked before
    • [ ] Test a couple of lenses for the DSLR
    Enhanced by Zemanta

    In the fast lane for the past fortnight, hence no preview/review last week.

    Last week 

    Work

    • [x] Layout work for customer project
    • [ ] Kexi – liaise on mailing list re testing issues
    • [-] CMS development
      • [X] Feature-freeze spec
      • [-] Roadmap & assign target dates
      • [ ] Soft launch on test web site
    • [X] Create new web forms
    • [X] Further company web site changes
    • [-] Complete SVN/Bugzilla integration project
    • [ ] PSP account – set up and integrate
    • [ ] Update networking calendar & set new contacts targets

    Life

    • [ ] Continue documentation effort for F/LOSS project
    • [-] 2 swims – 1 mile each
    • [X] Kung Fu
    • [X] Cook something “new”!
    • [X] Address issues with service providers
    • [X] Blood service – re-arrange donation

    Misc

    • [-] Uphold commitments @ old residence – see through to completion
    • [X] Sign up to new charitable cause

    This week

    Work

    • [ ] Update CRM database with new data/purge old
    • [ ] Layout fixes for customer web site
    • [ ] Modify company site (content/volume/images)
    • [ ] Price review
    • [ ] Review marketing and sketch out action plan
    • [ ] Draft templates for sales process
    • [ ] Add help documentation for new web-based calendar tool
    • [ ] Hosting set-up
    • [ ] Prepare for new project (TBC)
    • [ ] Complete SVN/Bugzilla integration project
    • [ ] Housekeeping

    Life

    • [ ] Continue documentation effort for F/LOSS project
    • [ ] Kung Fu
    • [ ] Swimming x 2
    • [ ] Finish sci-fi book
    • [ ] Continue Personal Development

    Misc

    • [-] Uphold commitments @ old residence – see through to completion
    • [ ] Cook something I’ve never cooked before (excludes dog, cat, rat, etc)
    • [ ] Check out lenses for the DSLR

    An absolutely fantastic weekend really gives you renewed strength for the week ahead.  This is a busy week outside of work, though, so a refined set of objectives is the order of the day.

    Work

    • [ ] Layout work for customer project
    • [ ] Kexi – liaise on mailing list re testing issues
    • [ ] CMS development
      • [ ] Feature-freeze spec
      • [ ] Roadmap & assign target dates
      • [ ] Soft launch on test web site
    • [ ] Create new web forms
    • [ ] Further company web site changes
    • [ ] Complete SVN/Bugzilla integration project
    • [ ] PSP account – set up and integrate
    • [ ] Update networking calendar & set new contacts targets

    Life

    • [ ] Continue documentation effort for F/LOSS project
    • [ ] 2 swims – 1 mile each
    • [ ] Kung Fu
    • [ ] Cook something “new”!
    • [-] Address issues with service providers
    • [ ] Blood service – re-arrange donation

    Misc

    • [ ] Uphold commitments @ old residence – see through to completion
    • [ ] Sign up to new charitable cause

    My “Get real! :-)” week was pretty good.  Lots achieved.

    Work

    • [X] Approve new service Ts & Cs
    • [ ] Kexi – liaise on mailing list re testing issues…
    • [X] Small updates to client web site
    • [X] Database updates to client site
    • [-] Layout work for high priority customer project (linked with CMS dev)
    • [ ] CMS development
    • [ ] Feature-freeze spec
    • [ ] Roadmap & assign target dates
    • [ ] Soft launch on test web site
  • [-] Complete additional web forms to service other business areas (really!)
  • [-] Business web site changes –  higher priority
  • [-] Complete SVN/Bugzilla integration project.
  • [-] Networking event
  • [X] Clarify new sales process
  • [X] Re-evaluate financial goals for August/September and prioritise accordingly.

    Unplanned extras

  • Resolved a situation with web hosting accounts unable to access email.
  • Revised UML Use Cases & Activity Diagrams and put into action for sales process revision.
  • Life

    • [X] Pick up files from a cool F/LOSS project and start documenting…
    • [-] 2 swims – 1 mile each
    • [-] Cook something “new”!
    • [X] Social life: this week, it’s on Thursday! 🙂
    • [-] Address issues with service providers
    • [-] Finish the book Getting Things Done
    • If time, use orgmode in more of a GTD-style method

    Misc

    My life doesn’t revolve around the television.  I don’t watch any terrestrial broadcasts.  I am especially uninterested in “prime”-time offerings (e.g. soaps). Ugh.  Instead…

    This week 

    It’s a sea-change.  Day off planned, plus lots of stuff happening outside of work mean I’m taking a break from planning anything at all.  A number of loose ends to tie up and various new ideas to ponder mean I’ll still be busy thinking all week.  🙂

    “Hindsight is a beautiful thing”, I was recently reminded.  With hindsight, last week wasn’t the super-catch-up exercise I’d hoped.  But, instead, it was a good week for new ideas (all captured, naturally).

    Last week:

    Get back on track!

    Work

    • [-] WAITING: SEO customer project
    • [X] Database update customer project. Rebuild Kexi from source and test after a fix from lead developer
    • [-] WAITING: PHP calendar development for customer
    • [-] Visual design/template revision work for customer
    • [ ] Get list together of targets for Project “L” and plan launch
    • [-] Create additional web forms to service other business areas
    • [ ] Minor company homepage change
    • [-] Review structure of site and content; trim.
    • [-] Complete SVN/Bugzilla integration project.

    Life

    • [X] Tax return
    • [-] Siu Lim Tao / stretching
    • [ ] Pick up files for F/LOSS project and start documenting…
    • [ ] 2 swims, 1 mile each
    • [X] Some personal correspondance/organisation to be achieved.
    • [XX] Social life 🙂
    • [X] Looking forward to meal with family friends this weekend

    Misc

    Would like to see more:

    This week:

    Get real! 🙂

    Work

    • [ ] Approve new service Ts & Cs
    • [ ] Kexi – liaise on mailing list re testing issues…
    • [ ] Small updates to client web site
    • [ ] Database updates to client site
    • [ ] Layout work for high priority customer project (linked with CMS dev)
    • [ ] CMS development
      • [ ] Feature-freeze spec
      • [ ] Roadmap & assign target dates
      • [ ] Soft launch on test web site
    • [-] Complete additional web forms to service other business areas (really!)
    • [ ] Business web site changes –  higher priority
    • [ ] Complete SVN/Bugzilla integration project.
    • [ ] Networking event
    • [ ] Clarify new sales process
    • [ ] Re-evaluate financial goals for August/September and prioritise accordingly.Unplanned extras
    • Resolved a situation with web hosting accounts unable to access email.
    • Revised UML Use Cases and put into action for sales process revision.

    Life

    • [ ] Pick up files from a cool F/LOSS project and start documenting…
    • [ ] 2 swims – 1 mile each
    • [ ] Cook something “new”!
    • [ ] Social life: this week, it’s on Thursday! 🙂
    • [ ] Address issues with service providers
    • [ ] Finish the book Getting Things Done
    • If time, use orgmode in more of a GTD-style method

    Misc

    My life doesn’t revolve around the television.  I don’t watch any terrestrial broadcasts.  I am especially uninterested in “prime”-time offerings (e.g. soaps). Ugh.  Instead…

    Bit late to say week commencing yesterday, but never mind! Last week continued the tradition, this summer at least, of unending hot, sticky days.  Regardless, it was a good week for many reasons, though perhaps not the best in history 🙂

    Last week:

    Work

    • [-] SEO customer project
    • [-] Database update customer project. Test out Kexi
    • [-] PHP calendar development for customer
    • [X] Visual design/template revision work for customer
    • [ ] Get list together of targets for Project “L” and plan launch
    • [X] [Arrange to] visit datacenter for scheduled maintenance – the machines, not me 🙂
    • [ ] Create additional web forms to service other business areas
    • [ ] Minor company homepage change
    • [ ] Review structure of site and content; trim.
    • [ ] Complete SVN/Bugzilla integration project.

    I have continued to make more progress on project “W”, such that it’s starting to take on momentum of its own.  With luck, August will see it come to fruition.

    Life

    • [ ] Tax return
    • [ ] Siu Lim Tao / stretching
    • [ ] Properly start my involvement in an open source project
    • [X] 2 swims, 1 mile each
    • [ ] One more form/session of exercise (run? weights?)
    • [X] Grocery shop
    • [X] Social life 🙂

    I took to playing with Android on my Samsung Omnia during the weekend.  Linux (the OS in general, not just the kernel) is so hackable it’s great.  Managed to work around a low memory condition issue.

    Misc

    Saw:

    This week:

    Get back on track!

    Work

    • [-] WAITING: SEO customer project
    • [ ] Database update customer project. Rebuild Kexi from source and test after a fix from lead developer
    • [ ] WAITING: PHP calendar development for customer
    • [ ] Visual design/template revision work for customer
    • [ ] Get list together of targets for Project “L” and plan launch
    • [ ] Create additional web forms to service other business areas
    • [ ] Minor company homepage change
    • [ ] Review structure of site and content; trim.
    • [ ] Complete SVN/Bugzilla integration project.

    Life

    • [ ] Tax return
    • [ ] Siu Lim Tao / stretching
    • [ ] Pick up files for F/LOSS project and start documenting…
    • [ ] 2 swims, 1 mile each
    • [ ] Some personal correspondance/organisation to be achieved.
    • [ ] Social life 🙂
    • [ ] Looking forward to meal with family friends this weekend

    Misc

    Would like to see more:

      Last week was fantastic. Lots of stuff achieved, plus a few blockers along the way which have spilled over into this week and new challenges. To top off last week, a close friend of mine had a great birthday BBQ on Saturday and then became a father on Sunday. Congrats to them!

      Last week:

      Work

      • [X] Development work on 2 customer projects
      • [X] Stay in touch prospective clients/leads
      • [ ] Get list together of targets for Project “L” and plan launch
      • [X] Review charity project costings: is there a more cost-effective approach?
      • [ ] [Arrange to] visit datacenter for scheduled maintenance – the machines, not me 🙂
      • [ ] Create additional web forms to service other business areas
      • [ ] Minor company homepage change
      • [ ] Review structure of site and content; trim.
      • [ ] Complete SVN/Bugzilla integration project.
      • [X] Complete new cashflow tool.

      ** DONE Investigate why CentOS box is looking for dpkg (Debian packager) in cron job
      ** DONE Revise Project “W” PDF
      ** WAITING Put project “W” site online?

      Life

      • [ ] Tax return
      • [-] Practice Siu Lim Tao and stretching
      • [X] Clean house
      • [X] Try to get a bit of Family Guy in

      ** DONE Clean car

      Misc

      • [X] Decide on Slovakia trip
      • [X] Learn GnuCash
      • [X] A few more CDs to add to the collection

      This Week

      Work

      • [ ] SEO customer project
      • [ ] Database update customer project. Test out Kexi
      • [ ] PHP calendar development for customer
      • [ ] Visual design/template revision work for customer
      • [ ] Get list together of targets for Project “L” and plan launch
      • [ ] [Arrange to] visit datacenter for scheduled maintenance – the machines, not me 🙂
      • [ ] Create additional web forms to service other business areas
      • [ ] Minor company homepage change
      • [ ] Review structure of site and content; trim.
      • [ ] Complete SVN/Bugzilla integration project.

      An unscheduled but important piece of work is also project “W”. I have made significant progress on this over the weekend and need to keep the pace up!

      Life

      • [ ] Tax return
      • [ ] Siu Lim Tao / stretching
      • [ ] Properly start my involvement in an open source project
      • [ ] 2 swims, 1 mile each
      • [ ] One more form/session of exercise (run? weights?)
      • [ ] Grocery shop
      • [ ] Social life 🙂

      Misc

      Would like to see more: