Click to search Andy Jarrett.co.uk RSS feed

Loading Twitter

HS+ 5.5 and server side behaviour....well close enough

I'm guessing most people who read this have already seen and read Custom server behaviors in DWMX over at DEVNET. Well HS+ can also do the same....well nearly, just not as powerful.

If any one has read Ray Camden's blog then he has mentioned about putting variables in HS+ snippets. But not only that you can also have the same kind of functionality as DWMX Server behaviors i.e. editable variables. Here's the how part:

  1. In HomeSite+, in the snippet pannel, "Add snippet".
  2. For Description call it "Personalised comment" - eek, my locality comes out in my spelling ;o)
  3. In Start text place
    <!--- $${myComment}
    . The only stipulation here is that it cannot be an UPPER case reserved word from HS+ own variables e.g. MONTH, CURRENTFILE, oh and no spaces either.
  4. In the End text place
    --->

And that's it, you now have a quick editable comment. All thats left to do now is from the snippets pannel execute "Personalised comment".

There you have it, your first customisable snippet.

Comments Comments (0) | Print Print | Send Send | 1332 Views

HS+ 5.5 RDS grinds to a halt

For about the last week or so when ive connected to the Databases in Homesite+ its taken ages to connect to 127.0.0.1, and sometimes timing out.
I did some searching on the web and it was suggested (i cant remember where so no credit, sorry) to increase the timeout to 90. With this done it was working fine, though taking ages still to conenct. Well today i decided to get to the route of the problem.
First thing i did was go into CFADMIN, and check the connections. Oh...my..god this took ages aswell. Then i noticed one of the DSN wasnt validating, i've corrected this and viola, all is well. So the moral to my story, check your DSN's are up-to-date.

Comments Comments (0) | Print Print | Send Send | 851 Views

Snippets anyone?

Snippets are one of the things i love about my Homesite+. At first i wasnt big into them, but slowly ive been building up a collection and now realise how usefull they are in my coding. Actually a few of them i will start to post here, but in the meantime if you love the blighters then get over to dwfaq.com/snippets/ for a good and extensive collection. There is also a newsgroup over at news://support.dwfaq.com/snippets, but i dont think anyone has posted there for while, well excpet for me wanting to find out if there are snippet variables?

Comments Comments (0) | Print Print | Send Send | 815 Views

IDE's

This is one topic i love. There has been two good blog entries and comments recently, one is at Raymond Camden site called Wake up and smell the ide and the other one is over at Sean A Corfield blog, entitled Unbundling Homesite+. Personally im using Homesite+ 5.2, yeah there are a few little bugs but generally it works to my satisfaction. I've also downloaded DWMX 2004 and given the 30 day trial a bash (i still have 6 days left) but i just cant get into it. Personally i dont see it as a true hand coders enviroment, there's something about it which keeps making go back to HS+. Though i got to take my hat of for the WYSIWYG side of it as that has came on leaps and bounds (anyone who used UltraDev would know this), and because of this maybe i've "cheated" and knocked up a couple of big forms quickly. Either way though its just not for me, and the only reason to get my company to upgrade will be for homesite 5.5+.

Ive also just started learning Java and their IDE's full into another whole range of ............well dodginess. The college im learning Java at is using Sun ONE Studio 4. So their we are in class loading this up (this was painfully slow) and 5 minutes later we finally got going. The actual IDE is well....built in Java so runs slow(ish) and is just painful to use, with me and 3 other students all having it crash on us at least once during the lesson. But i am new to it and at the moment looking through goggle for more and maybe better ones. So if you know of any please drop me a comment and let me know :o)

Comments Comments (0) | Print Print | Send Send | 725 Views

Previous Entries

BlogCFC by Raymond Camden + Twitter @AndyJ + ColdFusion jobs + Contact Me + Snippets/Downloads + RSS .