what was i thinking...

Compatibility Between VS.NET and MonoDevelop in Open Source Team Development 

Thursday, November 17, 2005 3:29:00 PM Categories: Development mojoPortal Open Source
Rate this Content 0 Votes

As you probably know if you've been following my progress with mojoPortal, I've been developing in VS.NET 2003 on Windows and doing test deployments on a linux machine with mono/xsp/mod_mono/apache2 every step of the way to make sure mojoPortal is truly cross platform. What you may not know is one of the other main contributors, Dean Brettle, has been doing all of his work in MonoDevelop on linux. We use the same svn repository hosted on forge.Novell.com and it has worked out very well. Dean did the setup for MonoDevelop and we have to coordinate a little. If I add a file in VS.NET it doesn't automatically get added to the MonoDevelop project but it shows up in the file system and can easily be added. Same thing when files are added in MonoDevelop and commited to svn, it shows up in my file system and I have to right click it and include it in the project. It actually flows very smoothly.

One drawback in MonoDevelop is the fact that you can't debug ASP.NET apps but we make a lot of use of log4net which makes it inexpensive to leave a lot of debug logging code in there that you can turn of and on using the config file for log4net. There is work underway to get debugging working in MonoDevelop so it can only get better from here. I finally got setup last weekend with MonoDevelop 0.7 on Suse 10 and was able to pull the mojoPortal code down from svn and build it in MonoDevelop and it worked. So we have true cross platform development going on this project. I think that is pretty cool!
Dean also used MonoDevelop to develop NeatUpload a really sweet upload control for ASP.NET that provides a progress bar and can handle large uploads gracefully. I think its the only one out there that works cross platform and is free.

I'm a little worried how the transition to ASP.NET 2.0/VS 2005 will affect our cross platform development environment. Specifically, I'm worried about the way ASP.NET control declarations are hidden in partial class files generated down in the deep bowels of temp folders. If you don't know what I mean I'm talking about how when you create a page or control in a VS 2005 web project and say you either drag a control onto the design surface or you enter in in markup in html view. Lets just say a TextBox for example. In VS 2003 before you could programatically access this TextBox it had to be declared in your code behind file. If you used the designer it would be in a hidden section but it would be there and if you removed it you could not compile. In VS 2005 by contrast it will compile without that but the part of it that contains the control declarations will be compiled down deep in the temp folders using generated code or something like that. I'm not entirely clear on all this so feel free to correct me in comments. So I'm thinking this code generation is done by VS.NET and not the runtime though this is what I'm not sure of yet and need to learn more. If my understanding is correct then there could be a problem pulling the code from svn into MonoDevelop and not being able to compile because the partial classes containg the control declarations don't exisit on disk within the project. If that is true then MonoDevelop would either need to generate its own partial class files or the Developer would have to create them manually. I really hope I'm wrong on this but that is my current impression.

I've got a face for Radio 

Wednesday, October 26, 2005 2:59:13 PM Categories: Humor mojoPortal Technology
Rate this Content 0 Votes

They've posted the mp3 of the Nashville .NET Rocks show  with my little interview for anyone who is interested.

I talked about mojoPortal, The Mono Project and the Mono Live CD, you can get the mp3 here

.NET Rocks VS 2005 Road Trip Visits Nashville 

Monday, October 24, 2005 8:35:21 PM Categories: Developer Resources Development Software
Rate this Content 0 Votes

I've been listening to .NET Rocks on my 50 minute drive to work for most of the summer and fall and I was very fortunate tonight to catch Carl Franklin and Richard Campbell at the Nashville Visual Studio .NET Users group meeting where they were putting on a presentation as part of their .NET Rocks VS 2005 Road Trip. It was great getting to meet those guys in person, after listening so long I felt like I knew them but they are even more fun in real life.  Billy Hollis was also there which was very cool. Carl's presentation was on the cool things coming in VB.NET 2005 and Richard talked about the cool new things in the 2.0 version of the compact framework as well as some great info on the latest mobile hardware in the phone and pda space. They had a lot of cool mobile device toys to show off.  I learned a lot from both of them. During the shwag giveaway at the end of their presentation Carl played and sang several versions of Clementine in the vein of a lot of different artists, it was hysterical, there were versions like the Beach Boys, Neil Young, Black Sabbath, Willie Nelson, and more. Apparently this is known as the Clementine Principle. Carl is just a great musician.

Since they always give away a lot of shwag on their shows I thought I would give them some shwag for a change so I burned some copies of the Mono Live CD and gave them to Carl and Richard. After the presentation some of us went out and had a beer with them in their RV and they recorded a .NET Rocks show with us! I got a brief interview and talked with them about mojoPortal, my cross platform web site framework project as well as The Mono Project and the Mono Live CD. It was a lot of fun, I can't wait to hear the mp3 when it comes out. Way cool!

LDAP Thrashing rescued by SLES 9 

Sunday, October 23, 2005 7:08:16 AM Categories: Development mojoPortal Mono Open Source
Rate this Content 0 Votes

For about 3 weekends now I've been thrashing with getting OpenLDAP setup and working on my Suse 9.3 machine so I could test some work contributed to mojoPortal by TJ Fontaine for supporting LDAP authentication. I read a lot of great tutorials but I always ran into some trouble. I did manage to get OpenLDAP running and was able to query it but I had problems getting the YaST and Samba integration working. I would run net getlocalsid and it would say it couldn't get either secret but I figured ok at least I can query it but I needed some users with the right schema elements especially a mail attribute. I was using the Samba shema which has a mail property but when I would try and set that using ldapmodify and a .ldif file it would give errors like that wasn't a valid attribute. I think the trouble had something to do with Samba being setup before I configured LDAP and then trying to change the Samba setup to use LDAP it got funky. I decided to try Edd Dumbill's tutorial on my laptop running the latest greatest Ubuntu breezy but it could not find all the needed packages to follow his instructions. I tried updating my sources.list file to see if some of the other repositories had the libraries but for some reason I could not connect reliably to any of the Ubuntu or Debian repositories. Not sure if this is just traffic problems due to the popularity of Ubuntu and the new release or what. I'm sure a linux super guru could have worked past these issues but for a long time Windows guy trying to learn as he goes its been quite a struggle with obstacles at every step. I do plan to give it another try soon with SUSE 10 for my own learning benefit but for now I just needed the shortest path to getting a working LDAP implementation so I can get back to working on mojoPortal.

Then it hit me (just like in the Novell ads ;D) maybe SLES 9 has an easier setup for LDAP, there must be some value added above and beyond what comes in the free version so I downloaded the 30 day eval version last night and installed it this morning. Sure enough you can configure LDAP as part of the install process. Unless I missed something this was not in the Suse 9.3 install. Anyway 30 minutes later I have a working LDAP server and 15 minutes after that I was able to login against it (in mojoPortal) using TJ's changes! Whoohoo!

Now I can get to the parts I need to do like implementing the other 2 data layers to support the new fields and creating upgrade scripts and other things to integrate TJ's changes. I have 30 days before my eval of SLES 9 runs out so I better get working! After that I need to test against Active Directory, in theory it should work the same way. TJ's implementation uses the Novell.Directory.Ldap library that comes with mono. I put this dll into the bin folder of my app on my Windows development machine and was able to compile against it and run under the .NET framework so it will work for mojoPortal installations under Windows or mono.

Its been a long time... 

Saturday, September 17, 2005 4:56:41 AM Categories: Music
Rate this Content 0 Votes

Its been over a year since I've played a live music show but I've got a Blind Joe Love blues gig coming up Saturday, October 1st opening up for Fluid Ounces at The Boro Bar & Grill, 1211 Greenland Dr, Murfreesboro, TN

Anyone in the area, hope you can make it. I'll be playing old time acoustic blues in the styles of Robert Johnson, Mississippi Fred McDowell, Big Bill Broonzy and Blind Boy Fuller

Another Release of mojoPortal 

Sunday, September 11, 2005 12:12:24 PM Categories: mojoPortal
Rate this Content 0 Votes

A new release of mojoPortal, an object oriented web site framework targeting mono is now available on the download page.
Highlights of this release are:

  • better CSS organisation and 2 great looking new skins by Jasmin Savard
  • improvements to forum administration and menu system by Dean Brettle
  • improvements for blog category management
  • Dutch Culture file by Jan Hussaarts
  • a number of bug fixes

A new Release of mojoPortal is ready 

Monday, August 29, 2005 6:00:38 PM Categories: mojoPortal Open Source
Rate this Content 0 Votes

A new release of mojoPortal, an Object Oriented Web Site Framework for mono, is now available on the download page.

New this release is the inclusion of NeatUpload by Dean Brettle. NeatUpload, licensed under the LGPL, is an ASP.NET HttpModule for handling file uploads gracefully with a progress bar. It works on Windows with IIS or on Linux/Mac OS X with mono using XSP web server or using mod_mono with apache web server. Pretty sweet! Dean developed this specifically for mojoPortal but I'm sure it will be used in countless ASP.NET projects once the word gets out about it.  I really can't imagine an ASP.NET developer that won't want to use it. Previously, mojoPortal shipped with SlickUpload which was disabled by default because it only works on Windows. A similar commercial control ABCUpload I've used before also does not, as far as I know, work under mono. Great work Dean!
Here's a screenshot of the progress bar in action:

you can even stop the upload midstream by clicking the icon.

Also new  is the final release of version 2.0 of FCKEditor, previously we were using RC1.

Thanks to Tom Opgenorth for adding a small enhancement to the Links Module to enable specifying the target. He is currently working on adding categories to the Links module allowing you to organize links in a TreeView by category. That will be a cool option. After that project Tom is planning on implementing a new image gallery using nGallery.

mojoPortal now includes, in addition to US English, culture files for Italian, Portuguese, and Czech.  If anyone transaltes to additional languages, please send me the translated files.

What is the Essence of a Wiki? 

Friday, August 19, 2005 6:58:27 PM Categories: Development mojoPortal Software
Rate this Content 1 Votes

I'm planning on making a new Content Module for mojoPortal that will be configurable to accomplish the same tasks as the current Html Module and Blog Module and more. To me things like RSS and Comments, Archive View, Categories, Content Rating, Threaded Discussion are all features I would like to make available for any content in mojoPortal so they should just be settings for the Content Module which will be the core of the CMS and you can turn them on or off to suit your purposes whether you are blogging, writing articles, whatever you just configure the module to accomplish it so there will be no need for a separate Blog module for example.

So now Wikis are all the rage it seems and I want to also make this a configuration option so I'm trying to make sure I understand it and invite any of you reading this to fill in the gaps if I don't have the whole gestalt of what a Wiki is. From what I have seen the most salient feature of what is called a Wiki is the fact that it keeps history of every change and therefore people often allow anyone to edit it which makes it stay up to date better or so the theory goes. To me thats it but since I haven't used a Wiki much I realize I may be missing something. The only other major thing I've noticed is that some Wikis have a kind of Wiki markup language. To me that seems like something only a developer could love and not user friendly at all compared to say FCKeditor. So I'm picturing adding an option to keep every change and make it easy to revert to any version for an Administrator and calling the setting Wiki mode. Does that sound legit or am I totally missing some wikiness? If I'm a total newb on this don't hold back, let me know.

A little Amazon Shopping Spree 

Saturday, July 16, 2005 9:01:34 AM Categories: Book Reviews Development
Rate this Content 0 Votes

Just got some new goodies from Amazon this week. I love books and movies!

I started out years ago developing applications in MS Access, then VB/SQL, and now .NET but I've always been able to focus on business logic rather than real low level stuff.  Since my degree is not in computer science sometimes I feel like I missed out on learning enough of the low level stuff like assembly and C programming and operating system theory.  As I get more and more into Linux I really want to learn these things so I'm queueing up some study material.  I'm about halfway through 2 other books right now, Robert Love's Linux Kernel Develpment and Code Complete 2nd Edition by Steve McConell. This is my second read of Code Complete since I got so much out of his first edition I had to get the upgrade.
The Art of Computer Programming, Volumes 1-3 Boxed Set
Donald Knuth Hardcover Concrete Mathematics: A Foundation for Computer Science (2nd Edition)"
Ronald L. Graham; Hardcover Code: The Hidden Language of Computer Hardware and Software
Charles Petzold Paperback 3:16 Bible Texts Illuminated
Donald Ervin Knuth Paperback Microcosmos"
Claude Nuridsany; DVD;
I find it fascinating that Donald Knuth who is such an amazing computer scientist also has a book about mysteries of the Bible so I have to check it out. That one hasn't come in yet but I'm already perusing The Art of Computer Programming.  It will probably be quite a while before I read and digest all of it, perhaps even several years but I definitely will do it. Its hard to find enough time to do all the things I'm interested in doing especially since most of my free time goes into mojoPortal these days but one thing for sure is I'm never bored.

I can't recommend Microcosmos enough, get it, you will love it. If you've forgotten how magical life really is this movie will help you remember, its just amazingly beautiful.

mojoPortal Release 20050710 

Sunday, July 10, 2005 1:29:08 PM Categories: mojoPortal Open Source
Rate this Content 0 Votes

I just posted a new release of mojoPortal, my open source web site framework for mono on the Download page. 

This release adds the Search feature powered by DotLucene as well as advanced logging capabilities powered by log4net.
The Search is role driven and stays in sync with page view permissions in the db.

There are no changes to the table structures for this release but users of PostgreSQL and MS SQL will need to re-run the stored procedure scripts for upgrading from version 20050618.
You will want to replace every file except maybe your Web.config.

Be sure and back up your site and db before upgrading and as always if you have any trouble please post in the Forums.

Page 11 of 17 << < 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 > >>
Copyright 2003-2010 Joe Audette
Donate Money to support the mojoPortal Project. View Joe Audette's profile on LinkedIn View Joe Audette's profile on The Guild of Accessible Web Designers site