MyStickies Goes Live

Finally, after months of work (part-time) MyStickies is live. What is MyStickies? Sticky notes for the web, and much more. MyStickies is a javascript script that can draw notes on web pages and tag them. The notes are saved to an online account and whenever you come back to the page, the notes will load back up. The account you create on MyStickies.com is also great because you can manage your notes from there. You can see what your most recent notes are. You can view them by domain, or by tag. You can even open them right there to view and/or edit their content. MyStickies Account Area To get started you can go to http://www.mystickies.com/ and signup for an account. To test out the sticky process just press the “Try Me” button on the home page and you’ll get a note. You can also press Alt+Click+Drag to create notes, and if you press Alt+Click on the header of the note you can toggle between colors if you would like your note in green, blue, or gray instead. There are two ways to get that javascript onto your page so you can place notes and see the ones you’ve placed. Those are through a browser extension (Firefox it currently supported with others soon to follow) and through a bookmarklet. The extension makes it so you always have your notes there automatically. The bookmarklet will need to be clicked on every page you want to see or place your notes. If you go the extension route (recommended), make sure you log back into your account after installing the extension so that the account can register with your extension. Now you know why I haven’t posted much for awhile. I still intend to get to the ecommerce tutorial eventually. And write more in the future, but we’ll see how much time I have after MyStickies. We still have many more features in store. We hope to be able to get people linked up with their friends soon. Then they can share a tag of notes with a friend. After that we will be introducing public notes which after being made public anyone can modify (or delete). We’re not sure how that will go over, but no one was sure if wikis would work our when they first came along. We’ll leave the rest of our plans a mystery for now so you can still have some suprises later. MyStickies is a free service and we will keep it free. However, it costs a lot of money for us to keep it up, and there are several ways in which we could fund it to pay for servers, bandwidth, etc. The most attractive way would be to offer additional services for a price, above that of the basic free account. Would people be interested in installing MyStickies on their own websites for a monthly fee. Something that users woiuld see and optionally can use too without an account. This would be a wonderful tool for web development companies for prototyping and letting clients post feature requests on their development site. 37 Signals talks about making the interface a spec which MyStickies could really make easy. I’m sure there are many other uses as well that I haven’t thought of. Let us know what kind of services might be useful.

Project Timer Mac version

The project timer I made a bit ago now has a Mac version available. I also updated the Windows version a little bit. I hope it’s useful!

Downloads

flash_timer-mac-0.1.zip
flash_timer-win-0.1.zip

Let me know what bugs you find, how to duplicate them, etc. Also any additional features you can think of that I may never get to. Thanks!

Flash Project Timer

A project timer is something I have been needing. I have trouble keeping track of hours for projects I have. I usually don’t worry about time traking for my personal projects, which is good because if I thought about all the time I’ve spent (wasted), I might take up a new hobby. But for contract work and for projects at mediaRAIN, I need to keep track of time I spend on each project. I always forget to write something down at the end of the day, and usually can’t remember how long I’ve spent anyway. So, I made a project timer. It actually is built in Macromedia Flash, and made into a nice executable using mProjector. I have yet to start using it for my projects, but it seems to be working pretty well. I thought I would share it in case anyone else needed something like this. It only works on Windows right now, but mProjector can make executables for Mac, so I’ll look at doing a Mac version soon. I used to have a screenshot of the app here. However, it’s flash, so why don’t I just put the swf up? Pretty small, unobtrusive, and hopefully usable. To use, click on the world icon, enter in a new project, hit enter, and then click the green play button to start timing. You can add as many projects as needed and choose them from the drop down that appears when you click the world icon. The timer also minimizes to the system tray. You can make it stay on top of all applications from the right click menu, as well as close it down from there. It doesn’t use the registry or create any files of it’s own. It only uses the Flash SharedObject (which is basically a cookie for Flash). Also, if it works the way it should, you can look at a projects total time, the time for the current day, current week, current month, or even a custom time period. When you click custom, it will ask you for a start day. You can also put in an end day by adding a dash and another full date (e.g. “14/11/2005-18/11/2005”). You may download the following: flash_timer-mac-0.1.zip flash_timer-win-0.1.zip Hope it helps!

ooCommerce Help

We are calling for developers who would like to join in on a fun object oriented PHP 5 ecommerce project entitle ooCommerce. Please email me or leave a comment if you would like to be a developer on this project or help in any way. The project is hosted at SourceForge and currently only has downloads for the template system it will be using, Arras Template. Arras Template has a website at www.arrastemplate.org. We (actually just myself right now) hope for this to be a good learning experience for others and are blogging about our design decisions how we are putting it together along the way. This way it can be more of a case study in progress for others to learn in a more of hands-on way about object oriented programming. Anyone is invited to help out, whether they know object oriented programming or not. If OOP isn’t a strong point, then you can just help coding (with guidance if desired). If it is a strong point, then you can help in the design process as well and post some blog posts too. I can do the design, database, classes, and all, but it would be a better project with more minds at work on it. It will also be finished sometime this century. Thank you for your help.

ooCommerce is Official

ooCommerce is now an offical project of Sourceforge. You will not find much there right now, but I did add Arras to the files/downloads area. We will soon get an ooCommerce website up, possibly a wiki, and start documenting our work. An Arras website is also being set up in a similar fashion.

ooCommerce – A Deeper Look, More Decisions

We’ve broken down our system down into some general parts already. Now it’s time to make some decisions on more specific pieces of ooCommerce and break the system down into some main objects.

What’s in our Model

Well, first off, we know we need a database to store all of our store’s data. We’ll put off the database schema for now. But what we do need to decide is what database to use. And if we want to support several databases (which we do), what should we do to abstract the databases so that we use the same API no matter which database we use.

There are a few object-oriented options out there. My favorite is Creole, a PHP 5 database abstraction layer which has a nice interface. There is also PEAR’s DB which I’ve actually never used and have heard good things about. The good things about these are that they’re already built and they are actively developed which means others are fixing the bugs and adding features so we don’t have to. However, they are large, and the API of Creole is more of what Java programmers are use to and not what PHP developers are use to. We could also create our own object oriented abstraction layer. It would be smaller and use the API we want. Much more simple code. What do you think we should do?

The rest of the model would include the following list of objects, plus maybe a few we havn’t thought of yet:

  • Customer
  • Address Book
  • Address
  • Payment (stored)
  • CustomerGroup
  • Order
  • OrderItem
  • PaymentMethod
  • DeliveryMethod
  • Product
  • ProductReview
  • ProductSpecial
  • Catalog
  • Category
  • ShoppingCart
  • Translator
  • Pages
  • Content
  • Administrator
  • Report

There of course will need to be an object type for each method of payment and other additions like that. But I think we’ve got a pretty good layout here. We may think of other things later, especially when we want to add features.

How Will We Control Our Model

The controller part of our system could be pretty simple, or pretty elaborate. It all depends on what we value the most. If we like simple the best, we can just have a bunch of PHP pages that our use will go to, they will run the code they need to run, using the model objects, and then they will pull in a template and output the results. The URLs for these will be the name of the files, plus any parameters passed in the URL. These will be pretty procedural, although we could make them into classes to keep it object oriented. Another option is to push for search engine optimization by building our system with URLs that represent the page being displayed. If we go simple, we will have a “product.php?id=10” or “product.php?name=james_bond_movie” displaying our products. If we choose the more complex controller we would have “products/james_bond_movie” be our URL, which ranks it higher on the search engines. To do this we would need to use mod_rewrite with Apache and set up our scripts to handle these URLs. But it is very do-able. Do we want full-featured, or do we want simplicity? The value of ooCommerce will be higher with better features to it’s users.

Gotta See The View

There are a million and one template systems out there (I wrote the 1,000,001 template system) and most very similar. Smarty is the most popular it seems. And most are similar to Smarty except less features or slower. I happen to be partial to my templating system, Arras, which is different from most. It is also fast, and small, and fun to use, and easy for designers to do design on. So, I would like to use Arras.

So, what are your thoughts? Please give feedback on the following design decisions. We would love to get input.

  • What database abstraction layer should we use?
  • Any additional classes I forgot in the model?
  • Go for a simpler controller, or nicer URLs?
  • Use Arras for the template system or something else?
« Previous Page — Next Page »