Programming, technology, and CRM – from a Belgian programmer exiled to Missouri
  • rss
  • Home
  • Contact Me
  • Welcome

Nicolas Galler | May 29, 2007

Found this cool thing by accident today: http://www.fullphat.net/dev/index.htm

Comments
No Comments »
Categories
Interesting
Comments rss Comments rss
Trackback Trackback

Background color in container div cause child divs to disappear in IE6

Nicolas Galler | May 16, 2007

Background-color set in containing divs causes some of the child divs to disappear, sometimes.

Come back here later on.

Check layout for PoolView with background-color set on tbodylt (on SEL)

Comments
No Comments »
Categories
Experiments, Programming
Comments rss Comments rss
Trackback Trackback

HTML and JavaScript syntax Highlighting for Vim

Nicolas Galler | May 11, 2007

This works beautifully:

  • Install the javascript.vim from http://www.vim.org/scripts/script.php?script_id=1491
  • As indicated on that page (but you have to look in the version history comments), edit html.vim and comment out the 2 lines:
    • HtmlHiLink javaScript Special
    • HtmlHiLink javaScriptExpression javaScript

Thanks to Yi Zhao!!!

Comments
No Comments »
Categories
Tricks
Comments rss Comments rss
Trackback Trackback

Instructions for SVN+SSH on Windows (short version)

Nicolas Galler | May 10, 2007
  1. Go download putty. Install the big installer.
  2. Install subversion, and install TortoiseSVN.
  3. Use puttygen to generate a key. Make sure you specify a pass phrase! Save the private key on Windows, and paste the OpenSSH stuff into authorized_keys in Linux.
  4. Have pageant run at startup: create a shortcut under the startup menu and have this command in it:"C:\Program Files\PuTTY\pageant.exe" "E:\Documents\SSH\putty_key.ppk"
    (replace with appropriate path, but don’t remove the quotes)
  5. Start PageAnt, or preferably relog into Windows to make sure it starts automatically.
  6. Now right click in a windows explorer windows and start the tortoiseSVN repo-browser. As the address, specify something like this:
    svn+ssh://username@host/home/nether/SVN

UPDATE – this method is so damn slow over the LAN I really can’t recommend it anymore (I am running a local svnserve now). BUT, I think it might be OK over the web – I believe the issue is there is a huge overhead in establishing the connection, and TortoiseSVN does that (spawning a new SSH or something…) every time I open a folder. It feels like VSS, if you know what I mean. Meanwhile over the internet there is a bigger latency to deal with so the overhead of opening the SSH may not be that noticeable.

Comments
No Comments »
Categories
Tricks
Comments rss Comments rss
Trackback Trackback

ASP.NET / MVP

Nicolas Galler | May 9, 2007

Trying to come up with a simple implementation of the MVP pattern. We want to minimize the fuss, minimize the deviations to standard ASP.NET, maximize testability of the presenters, minimize coupling

Scenario:

  • Main entity (pool). List view, edit view.
  • Sub entity (pool manager). List view, edit view, under the pool view.
  • They need to be edited/saved together. Same screen, same transaction.

The views will be ASP.NET user controls (ascx files):

  • Pool View
  • Pool Manager View

So, there is a hierarchy of view. A pool view contains a pool manager view. There is also a hierarchy of objects, because a pool view represents a pool, and a pool manager view a manager (or list thereof). There needs to be a parallel hierarchy of presenters, right? Or should 1 presenter be responsible for doing it all? No, this would be 2 reponsibilities upon 1 class. Too much.

So, the questions are:

  • Who creates the view?? They are created as ASCX controls.
  • Who creates and initialize the presenters?? The top one is done from the ASPX page. The inside one must be done from the presenter, because the view can’t have a reference to it. The view can return the inner view as a property – easy to implement since its a control contained on the view.
Comments
No Comments »
Categories
Programming
Comments rss Comments rss
Trackback Trackback

Project Creation Wizard

Nicolas Galler | May 3, 2007

Prompt for:
* Aggregate Root (eg SSSWorld.Common)
* Root Folder (eg …..\Projects\SSSWorld\Common\src\Common) -> should be same as solution??
* Sub-Namespace, eg Data for SSSWorld.Common.Data

Tool will determine final location: src\Common\Data
Set version in AssemblyInfo.cs to 1.0.0.*
Check the “generate documentation”

Comments
No Comments »
Categories
Experiments
Comments rss Comments rss
Trackback Trackback

Categories

  • Experiments (4)
  • Interesting (1)
  • MSCRM (1)
  • Programming (60)
  • Rant (3)
  • Saleslogix (34)
  • Tricks (8)
  • Uncategorized (24)

Post History

  • 2010
    • January (3)
    • March (1)
  • 2009
    • March (2)
    • April (1)
    • May (3)
    • June (3)
    • July (1)
    • September (3)
    • October (2)
    • December (5)
  • 2008
    • January (9)
    • February (4)
    • March (9)
    • April (1)
    • May (5)
    • June (8)
    • July (1)
    • August (2)
    • September (1)
    • November (1)
    • December (3)
  • 2007
    • January (3)
    • February (7)
    • March (1)
    • April (3)
    • May (6)
    • June (2)
    • July (1)
    • August (2)
    • September (5)
    • October (3)
    • November (5)
    • December (4)
  • 2006
    • January (2)
    • September (1)
    • November (3)
    • December (4)
  • 2005
    • April (1)

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox