Tuesday, October 21, 2014

ColdFusion Summit 14 Presentation Slides and Code

Well, I would like to start this post by thanking everyone involved in this year's CFSummit. By everyone, I do mean each individual person involved even the attendees as without you there is no conference. It was truly a great experience! This being my first time speaking publicly, I can't deny that my nerves where getting the best of me but after a few minutes it just felt like being on stage again after so many years, just without a physical instrument.  I truly hope some of you walked away with helpful knowledge and I am always available to talk, so feel free to email me and as long as my schedule allows I will reply within a day's time.

I have added my slides to the GitHub repo with my presentation code under the /slides folder. So if you have pulled the repo, just do a new pull to get the slides or they can be downloaded using the following link.

https://github.com/GiancarloGomez/ColdFusion-CFSummit14-WebSockets/blob/master/slides/realtime-with-websockets.pdf?raw=true

All the code base is available publicly so feel free to download and play with.

https://github.com/GiancarloGomez/ColdFusion-CFSummit14-WebSockets/

My friend did record my presentation but unfortunately it is in different formats and in 3 parts in order for it to have fit in our memory card. I am reviewing it and I am going to attempt to paste all together into one clip and I will post if successful.

Again thank you everyone! This might be a new thing for me and hopefully I will be given the opportunity to present again.

Monday, September 22, 2014

ColdFusion 11 Update 1 Finally Out!!

So finally the bugs for IIS 8 Issues have been pushed out to the public!!! Go get it now thru your server updates.

REMEMBER ON IIS YOU NEED TO RE-CONFIGURE YOUR CONNECTORS AFTER THE UPDATE!!!

You can find this normally under  {cf_install_home}/cfusion/runtime/bin/wsconfig

Also remember, right click and select "Run as Administrator"

Adobe's Notes:
http://helpx.adobe.com/coldfusion/kb/coldfusion-11-update-1.html

Friday, May 16, 2014

ColdFusion 11 and IIS 8+ Woes

If for any reason you seem to be banging your head against the wall because you installed ColdFusion 11 on a Windows OS with IIS 8+ (Windows 8 or Server 2012) and are dealing with a first request delay that is unexplainably long 12-15 secs than don't worry you are not alone.

I created the following bug in Adobe's bug base and today an engineer called me and confirmed the issue from the details I emailed. The issue is basically as follows.

The first request to ColdFusion after any of the following events cause a delay of 12+ seconds, after that everything works great. The events that cause this issue are as follows:

  1. Restart ColdFusion
  2. Recycle an App Pool in IIS
  3. Restart IIS from GUI or Command iisreset
  4. Edit a Web.Config file (recycle the App Pool)
Just to make sure it was not OS specific I enabled the embedded web server and installed Apache on one of my Windows VMs and the issue did not exists in either. On my Mac I did not experience the issue either so in the end it appears it is an issue with the connector and IIS App Pool timeout or recycles.

The engineer did state he was able to replicate and they will start working on it on Monday May 19th. If you ran into this post thru a search I will make sure to update or follow the bug I linked to above.

I also noticed that my ehcache files are now created at the root of my site if I am using secondary cache in an ORM app which I will be submitting another bug for.

The issues above occurred for me in the following configurations.
  • Windows 8.1 w/ IIS 8.5
  • Server 2012 w/ IIS 8
  • Server 2012 R2 w/ IIS 8.5
* Slow Initial Request on IIS 8 w/ ColdFusion 11


Monday, May 5, 2014

ORM Event Handling and ColdFusion 11

If you are banging your head against the wall because your new install of ColdFusion 11 is crashing your app and you are using ORM Event Handling all you need to do is update your CFC with 2 new functions introduced in 11. These functions are as follows:

public void function preFlush(any entities){};
public void function postFlush(any entities){};

Thank you CF Engineers for making this such a fun Monday. That is sarcasm in case you guys do not understand it.

Thursday, April 17, 2014

New Screenshot Discovery on my Mac today

So anyone who knows me knows that I love Macs and recommend them highly to any new or old PC user. One thing I love is how easy it is to take screenshots. There are 4 keyboard shortcuts which I use all the time and they are as follows:

Command-Shift-3
Capture the screen to a file
Command-Shift-Control-3
Capture the screen to the Clipboard
Command-Shift-4
Capture a selection to a file
Command-Shift-Control-4
Capture a selection to the Clipboard

The ones I used the most is the Shift+4 options as I have dual screen and sometimes just need to capture a certain area. When I want to email the screenshot, I use the first option as it creates a PNG for me on the desktop (which is what I have it set to do) or if I want to manipulate in any image editor I use the second value to simply save to my clipboard and then paste it right into the application (saves me from having to open the file and dragging into the document I am working on). OK, so for the discovery when I did Command-Shift-Control-4, my thumb hit the spacebar shortly after by mistake and what appeared now was a camera icon and anytime I was over any window it would highlight the window, which pretty much led me to safely assume that if I click to accept that is what I would get a screenshot of. So I did and that is exactly what happened. I think it is great because now it saved me from even having to set the selection area, if what I originally wanted was a screenshot of the application window.

You can manipulate what you want your screenshots to be saved as using terminal commands or with utilities like Cocktail from Maintain which I recommend purchasing. Any

Interested in learning more keyboard shortcuts for your mac? Click here to see them on Apple's website.

Web Analytics