Archive for April, 2009
Twitter Weekly Updates for 2009-04-26
- 3 views of Planning module for #activeCollab http://tinyurl.com/cqx4pw #
- Woohoo! Sent a working demo of Planning module for #activeCollab to select few! Fingers crossed! #
- @_robin_sharma So are you just 29? in reply to _robin_sharma #
- @activecollab Yes. I forgot! Continuing with current Model class approach now. Extended Ticket/Milestone/Task classes to support new fields. in reply to activecollab #
- @activecollab – Guess, can’t do a lot of optimization. ActivityLogs, Search index and a few other things will break if I do direct queries. in reply to activecollab #
- @activecollab 1. Use direct db queries instead of classes, 2. Use batch replace into, 3. Batch insert changes to tickets – for the start in reply to activecollab #
- RT @tferriss Hysterical new Onion video – Outsourcing Your Own Job: http://snipurl.com/gc99q #
- Reducing DB queries while saving plan in Planning module for #activeCollab #
Collaborating in web application using SVN
What would you do if you wanted to manage document versions in a web application? You wanted different users to edit a document simultaneously and then for everyone to get the latest copy? Something like Google Docs?
This collaboration need is very similar to how developers use source code control systems. Here’s a typical flow for programmers:
- Set up a repository for code
- Add a file
- Once enough changes are made, commit it to the repository
- Someone else checks out the same file
- Two people simultaneously work on the same file
- They can update their copies to get committed changes from other users
- Committing their copy to the server will make it the latest copy
- Occasionally, there will be conflicts if both programmers edit the same section of code. In that case, they manually resolve it and commit the correct copy.
Collaborating on documents (e.g. Google Docs) is very similar. I don’t know what Google Docs uses for its backend?.
But we are planning to use SVN for a similar need!
- Make a repository of documents
- User A creates a new document and save it – gets committed
- User B open it (checkout), changes it and saves it (update + commit)
- Since we update before commit, changes that other users made will be merged before commit
- In case of conflict, keep local version, discard server version. (this is not ideal, but helps automate things)
How does it sound?
Choosing an Open Source CMS – Book – Now Available
My latest book – Choosing an Open Source CMS: Beginner’s Guide – is now available from PactPub, Amazon and others.
I have also created a special website for the book – www.cmsbook.info. The website is dedicated to readers of the book. I will be writing about choosing a CMS, tips, book excerpts and useful resources there.
- Subscribe to CMS Book’s RSS feed to get notified when it updates.
- Follow me on Twitter!
- Purchase it from PacktPub
Did you read the book? If so, post a comment! I would love to hear your feedback!
Debugging PHP for the first time in 10 years, and loving it!
I have been writing PHP code for 10 years now and have used a variety of ways to debug my code – except the actual runtime debugging! I have used echo statements and log files to debug and solve problems. I knew there is XDebug and Zend Debugger, but never tried them.
Today, I downloaded, setup and used Zend Debugger for the first time. And I loved it! It was awesome to see variable watch, breakpoints and the like. Just loved it!
Why did I use the debugger? I’ve been using Flex Builder myself for last one year heavily and think the debugger is indispensable. I have done some .NET code earlier and love debugger there too. For PHP, it was more like “I don’t need a debugger!” so far.
I dropped that today and embraced a debugger. And I am loving it so far!
Do you use a PHP Debugger?
Twitter Weekly Updates for 2009-04-19
- #Flex should have a strtotime function like PHP (http://php.net/strtotime). Must support US & UK date formats. #
- Must see (or play?) – ToneMatrix – http://lab.andre-michelle.com/tonematrix #
- @kapilb flutter.com is blocked on Magnet’s network too. It’s an online betting site! in reply to kapilb #
- ~4000 downloads within 10 days for our first #iPhone app – http://tinyurl.com/iquotations – better than I expected! #
- Do you feel you missed a lot when you get on Twitter after a long weekend? I did
#

