Sunday, November 17, 2013

Cloud Chat library

Hello,

i am glad to announce my last personal project, Cloud Chat Library.

Cloud chat is a javascript chat library that uses angularjs ( http://angularjs.org/ ) and jquery ( http://jquery.com/ ) for user interface and realtime.co framework ( http://framework.realtime.co ) for messaging and storage.

Authentication is provided by facebook api and google api. Looking forward to add more providers.

The project source code is available at github:

https://github.com/mrshogun/cloudchat

And you can use a the following url to use a online version of the library:

http://dl.dropboxusercontent.com/s/sl5azkks6isi42v/cloudchat.js

You can allways use it in your own blog, if you will need any help with it let me know.

If you want to try it, just login at the top of this blog and let people know what do you think about it.


Thursday, August 29, 2013

Javascript Event Manager singleton with jQuery

When building an SPA (single page application) one of the best patterns to use is the event driven pattern. Below is the implementation of a simple event manager to deal with custom events. Hope it will be usefull.



Thursday, April 18, 2013

Syndication Feed

Reading a feed in C# 4.0

Needed references:

- System.ServiceModel


Realtime.co + GrowlForWindows + SyndicationFeed = RealtimeNotifications

Long time no see :)

But it doens't mean i was doing nothing. In fact lately i was going around with some technologies and how to integrate them between each other. Because it requires some code and not only snippets i created a project in codeplex @ https://realtimenotification.codeplex.com/ where you can download the source code and try. Basically what the project dows for now is a integration between the http://realtime.co technology and GrowlForWindows or rss feeds and GrowlForWindows.

If you dont know GrowlForWindows check it at http://www.growlforwindows.com/gfw/ .

The project strutcture is all based in Notifiers. A Notifier can be a publisher or a subscriber, or both.

Some things are still to be done.

- Custom configuration sections for each type of Notifier, wich are called providers.
- Windows Service with integration between the different technologies.
- MSI with custom action to configure the windows service

Those are the big goals for the next weeks, and after that the creation of providers for different technologies.

To see all this working do the following:

- Install growl for windows
- Open the codeplex project solution
- Run the project with name JF.RealtimeNotifications.Test.Console
- Open http://howdoyouphil.blogspot.pt/ in the browser

After this you should see a growl notification appearing.

Hope this can be usefull for you