cf.Objective 2017 – Desktop version of CF Application with CommandBox

I presented a session on Creating a Desktop version of your CF Application with CommandBox at cf.Objective 2017 earlier this week. This was my 3rd time speaking at cf.Objective, and as usual, it was a privilege and a rewarding experience to speak at this great conference. Many thanks to the conference organizers as well as all the folks that attended my session! Here are the slides and demo code from my talk. Hope you find these useful. Feel free to leave a comment here or send me an email if you have questions. Slides Demo Code
Read More

NCDevCon 2016 – Dependency Injection 101

I presented an introductory session on Dependency Injection at NCDevCon this past weekend. This was my 4th time speaking at NCDevCon, and as usual, it was a privilege and a rewarding experience to speak at this great conference. Many thanks to the conference organizers as well as all the folks that attended my session! Here are the slides and demo code from my talk. Hope you find these useful. Feel free to leave a comment here or send me an email if you have questions. Slides Demo Code
Read More

Changing Google domain passwords with ColdFusion and Dito GAM

For a recent project, I was tasked with creating a service that could synchronously change the Google domain password for any of our domain users. I struggled with the OAuth 2.0 handshake business for a good bit (https://developers.google.com/identity/protocols/OAuth2ServiceAccount), created some badass JWT signatures, I believe got very close to having the authentication setup, but then figured out this other, much simpler way of doing this. So here is a blog post on my findings. Environment: Adobe ColdFusion 11 running on a Windows 2012 R2 server with IIS 8.5. Dito GAM (http://www.ditoweb.com/partner-products/gam-by-dito/) is this great free, open source command line tool to efficiently manage Google domain & user settings. So I…
Read More

Changing LDAP passwords with ColdFusion

Took me a WHILE to figure out how to do this, but finally have it working so I figured I would blog about it. Environment: Adobe ColdFusion 11 running on a Windows 2012 R2 server with IIS 8.5. To begin with, make sure that your server has a SSL certificate installed for the domain that will be making requests to the LDAP server. Here is the code that you need: [java] <cfscript> new_pwd = "NewPwd9!"; new_pwd_quotes = '"' & "#new_pwd#" & '"'; unicode_pwd = new_pwd_quotes.getBytes("UTF-16LE"); adminName = "CN=ADMIN_USER, OU=Special Privileges OU, OU=Users OU, dc=org, dc=com"; adminPwd = "admin"; userToReset = "CN=TEST_USER, OU=Staff, OU=Users OU, dc=org, dc=com"; // Retrieve this info…
Read More

Refactoring Applications Into a MVC Framework

I spoke yesterday at the Adobe CFSummit on refactoring procedural code into MVC Frameworks. Also did the same presentation at NCDevCon last month. It was a great experience speaking at both of these conferences. Many thanks to the conference organizers as well as all the folks that came to my talks! Here are the slides and demo code from my talk. Hope you find these useful. Feel free to leave a comment here or send me an email if you have questions. Slides Demo Code
Read More

ColdFusion script for counting lines of code in directory

Recently I needed a tool to count the total number of lines of code that I had written in all files in a particular directory. I looked around on the web but didn't find anything that quite met my specifications. So I ended up writing a script myself to do this task. It turned out to be fairly straightforward but I have put it up on Github, hoping that it will save some time for someone else, who is looking for something similar: https://github.com/anantunc/linesOfCode You are welcome to use this code for any non-commercial purposes. Please contact me if you plan to use this commercially.
Read More

NCDevCon 2012 – Design Patterns for everyday use (again)

I spoke and volunteered once again at NCDevCon 2012 this past weekend. Got a chance to catch up with a lot of old friends, renew acquaintances and make some new friends. I had a great time and based on what I've heard so far, I wasn't the only one who enjoyed it. Once again, thanks to everyone who came to my session on Design Patterns even though it was the last one on Sunday. I hope you guys managed to get something useful out of it. Here are the slides and the code samples, for your reference. Please feel free to contact me here or via email with any questions…
Read More

cfObjective 2012 – Design Patterns for everyday use

Greetings interweb dwellers! I presented at cfObjective this past Saturday on Design Patterns for everyday use. This talk was intended to be an introduction to design patterns and a demonstration of a few common design patterns in a ColdFusion application. The main point that I wanted people to take away was that design patterns are very useful but they are best practices and not recipes - it is important to determine if they really solve your particular design problem before you implement them. Don't try to fit your problem to a pattern, see if a pattern solves your problem. This was my first time in Minneapolis, first time at cfObjective…
Read More

cf.Objective 2017 – Desktop version of CF Application with CommandBox

I presented a session on Creating a Desktop version of your CF Application with CommandBox at cf.Objective 2017 earlier this week. This was my 3rd time speaking at cf.Objective, and as usual, it was a privilege and a rewarding experience to speak at this great conference. Many thanks to the conference organizers as well as all the folks that attended my session! Here are the slides and demo code from my talk. Hope you find these useful. Feel free to leave a comment here or send me an email if you have questions. Slides Demo Code
Read More

NCDevCon 2016 – Dependency Injection 101

I presented an introductory session on Dependency Injection at NCDevCon this past weekend. This was my 4th time speaking at NCDevCon, and as usual, it was a privilege and a rewarding experience to speak at this great conference. Many thanks to the conference organizers as well as all the folks that attended my session! Here are the slides and demo code from my talk. Hope you find these useful. Feel free to leave a comment here or send me an email if you have questions. Slides Demo Code
Read More

Changing Google domain passwords with ColdFusion and Dito GAM

For a recent project, I was tasked with creating a service that could synchronously change the Google domain password for any of our domain users. I struggled with the OAuth 2.0 handshake business for a good bit (https://developers.google.com/identity/protocols/OAuth2ServiceAccount), created some badass JWT signatures, I believe got very close to having the authentication setup, but then figured out this other, much simpler way of doing this. So here is a blog post on my findings. Environment: Adobe ColdFusion 11 running on a Windows 2012 R2 server with IIS 8.5. Dito GAM (http://www.ditoweb.com/partner-products/gam-by-dito/) is this great free, open source command line tool to efficiently manage Google domain & user settings. So I…
Read More

Changing LDAP passwords with ColdFusion

Took me a WHILE to figure out how to do this, but finally have it working so I figured I would blog about it. Environment: Adobe ColdFusion 11 running on a Windows 2012 R2 server with IIS 8.5. To begin with, make sure that your server has a SSL certificate installed for the domain that will be making requests to the LDAP server. Here is the code that you need: [java] <cfscript> new_pwd = "NewPwd9!"; new_pwd_quotes = '"' & "#new_pwd#" & '"'; unicode_pwd = new_pwd_quotes.getBytes("UTF-16LE"); adminName = "CN=ADMIN_USER, OU=Special Privileges OU, OU=Users OU, dc=org, dc=com"; adminPwd = "admin"; userToReset = "CN=TEST_USER, OU=Staff, OU=Users OU, dc=org, dc=com"; // Retrieve this info…
Read More

Refactoring Applications Into a MVC Framework

I spoke yesterday at the Adobe CFSummit on refactoring procedural code into MVC Frameworks. Also did the same presentation at NCDevCon last month. It was a great experience speaking at both of these conferences. Many thanks to the conference organizers as well as all the folks that came to my talks! Here are the slides and demo code from my talk. Hope you find these useful. Feel free to leave a comment here or send me an email if you have questions. Slides Demo Code
Read More

ColdFusion script for counting lines of code in directory

Recently I needed a tool to count the total number of lines of code that I had written in all files in a particular directory. I looked around on the web but didn't find anything that quite met my specifications. So I ended up writing a script myself to do this task. It turned out to be fairly straightforward but I have put it up on Github, hoping that it will save some time for someone else, who is looking for something similar: https://github.com/anantunc/linesOfCode You are welcome to use this code for any non-commercial purposes. Please contact me if you plan to use this commercially.
Read More

NCDevCon 2012 – Design Patterns for everyday use (again)

I spoke and volunteered once again at NCDevCon 2012 this past weekend. Got a chance to catch up with a lot of old friends, renew acquaintances and make some new friends. I had a great time and based on what I've heard so far, I wasn't the only one who enjoyed it. Once again, thanks to everyone who came to my session on Design Patterns even though it was the last one on Sunday. I hope you guys managed to get something useful out of it. Here are the slides and the code samples, for your reference. Please feel free to contact me here or via email with any questions…
Read More

cfObjective 2012 – Design Patterns for everyday use

Greetings interweb dwellers! I presented at cfObjective this past Saturday on Design Patterns for everyday use. This talk was intended to be an introduction to design patterns and a demonstration of a few common design patterns in a ColdFusion application. The main point that I wanted people to take away was that design patterns are very useful but they are best practices and not recipes - it is important to determine if they really solve your particular design problem before you implement them. Don't try to fit your problem to a pattern, see if a pattern solves your problem. This was my first time in Minneapolis, first time at cfObjective…
Read More

cf.Objective 2017 – Desktop version of CF Application with CommandBox

I presented a session on Creating a Desktop version of your CF Application with CommandBox at cf.Objective 2017 earlier this week. This was my 3rd time speaking at cf.Objective, and as usual, it was a privilege and a rewarding experience to speak at this great conference. Many thanks to the conference organizers as well as all the folks that attended my session! Here are the slides and demo code from my talk. Hope you find these useful. Feel free to leave a comment here or send me an email if you have questions. Slides Demo Code
Read More

NCDevCon 2016 – Dependency Injection 101

I presented an introductory session on Dependency Injection at NCDevCon this past weekend. This was my 4th time speaking at NCDevCon, and as usual, it was a privilege and a rewarding experience to speak at this great conference. Many thanks to the conference organizers as well as all the folks that attended my session! Here are the slides and demo code from my talk. Hope you find these useful. Feel free to leave a comment here or send me an email if you have questions. Slides Demo Code
Read More

Changing Google domain passwords with ColdFusion and Dito GAM

For a recent project, I was tasked with creating a service that could synchronously change the Google domain password for any of our domain users. I struggled with the OAuth 2.0 handshake business for a good bit (https://developers.google.com/identity/protocols/OAuth2ServiceAccount), created some badass JWT signatures, I believe got very close to having the authentication setup, but then figured out this other, much simpler way of doing this. So here is a blog post on my findings. Environment: Adobe ColdFusion 11 running on a Windows 2012 R2 server with IIS 8.5. Dito GAM (http://www.ditoweb.com/partner-products/gam-by-dito/) is this great free, open source command line tool to efficiently manage Google domain & user settings. So I…
Read More

Changing LDAP passwords with ColdFusion

Took me a WHILE to figure out how to do this, but finally have it working so I figured I would blog about it. Environment: Adobe ColdFusion 11 running on a Windows 2012 R2 server with IIS 8.5. To begin with, make sure that your server has a SSL certificate installed for the domain that will be making requests to the LDAP server. Here is the code that you need: [java] <cfscript> new_pwd = "NewPwd9!"; new_pwd_quotes = '"' & "#new_pwd#" & '"'; unicode_pwd = new_pwd_quotes.getBytes("UTF-16LE"); adminName = "CN=ADMIN_USER, OU=Special Privileges OU, OU=Users OU, dc=org, dc=com"; adminPwd = "admin"; userToReset = "CN=TEST_USER, OU=Staff, OU=Users OU, dc=org, dc=com"; // Retrieve this info…
Read More

Refactoring Applications Into a MVC Framework

I spoke yesterday at the Adobe CFSummit on refactoring procedural code into MVC Frameworks. Also did the same presentation at NCDevCon last month. It was a great experience speaking at both of these conferences. Many thanks to the conference organizers as well as all the folks that came to my talks! Here are the slides and demo code from my talk. Hope you find these useful. Feel free to leave a comment here or send me an email if you have questions. Slides Demo Code
Read More

ColdFusion script for counting lines of code in directory

Recently I needed a tool to count the total number of lines of code that I had written in all files in a particular directory. I looked around on the web but didn't find anything that quite met my specifications. So I ended up writing a script myself to do this task. It turned out to be fairly straightforward but I have put it up on Github, hoping that it will save some time for someone else, who is looking for something similar: https://github.com/anantunc/linesOfCode You are welcome to use this code for any non-commercial purposes. Please contact me if you plan to use this commercially.
Read More

NCDevCon 2012 – Design Patterns for everyday use (again)

I spoke and volunteered once again at NCDevCon 2012 this past weekend. Got a chance to catch up with a lot of old friends, renew acquaintances and make some new friends. I had a great time and based on what I've heard so far, I wasn't the only one who enjoyed it. Once again, thanks to everyone who came to my session on Design Patterns even though it was the last one on Sunday. I hope you guys managed to get something useful out of it. Here are the slides and the code samples, for your reference. Please feel free to contact me here or via email with any questions…
Read More

cfObjective 2012 – Design Patterns for everyday use

Greetings interweb dwellers! I presented at cfObjective this past Saturday on Design Patterns for everyday use. This talk was intended to be an introduction to design patterns and a demonstration of a few common design patterns in a ColdFusion application. The main point that I wanted people to take away was that design patterns are very useful but they are best practices and not recipes - it is important to determine if they really solve your particular design problem before you implement them. Don't try to fit your problem to a pattern, see if a pattern solves your problem. This was my first time in Minneapolis, first time at cfObjective…
Read More

cf.Objective 2017 – Desktop version of CF Application with CommandBox

I presented a session on Creating a Desktop version of your CF Application with CommandBox at cf.Objective 2017 earlier this week. This was my 3rd time speaking at cf.Objective, and as usual, it was a privilege and a rewarding experience to speak at this great conference. Many thanks to the conference organizers as well as all the folks that attended my session! Here are the slides and demo code from my talk. Hope you find these useful. Feel free to leave a comment here or send me an email if you have questions. Slides Demo Code
Read More

NCDevCon 2016 – Dependency Injection 101

I presented an introductory session on Dependency Injection at NCDevCon this past weekend. This was my 4th time speaking at NCDevCon, and as usual, it was a privilege and a rewarding experience to speak at this great conference. Many thanks to the conference organizers as well as all the folks that attended my session! Here are the slides and demo code from my talk. Hope you find these useful. Feel free to leave a comment here or send me an email if you have questions. Slides Demo Code
Read More

Changing Google domain passwords with ColdFusion and Dito GAM

For a recent project, I was tasked with creating a service that could synchronously change the Google domain password for any of our domain users. I struggled with the OAuth 2.0 handshake business for a good bit (https://developers.google.com/identity/protocols/OAuth2ServiceAccount), created some badass JWT signatures, I believe got very close to having the authentication setup, but then figured out this other, much simpler way of doing this. So here is a blog post on my findings. Environment: Adobe ColdFusion 11 running on a Windows 2012 R2 server with IIS 8.5. Dito GAM (http://www.ditoweb.com/partner-products/gam-by-dito/) is this great free, open source command line tool to efficiently manage Google domain & user settings. So I…
Read More

Changing LDAP passwords with ColdFusion

Took me a WHILE to figure out how to do this, but finally have it working so I figured I would blog about it. Environment: Adobe ColdFusion 11 running on a Windows 2012 R2 server with IIS 8.5. To begin with, make sure that your server has a SSL certificate installed for the domain that will be making requests to the LDAP server. Here is the code that you need: [java] <cfscript> new_pwd = "NewPwd9!"; new_pwd_quotes = '"' & "#new_pwd#" & '"'; unicode_pwd = new_pwd_quotes.getBytes("UTF-16LE"); adminName = "CN=ADMIN_USER, OU=Special Privileges OU, OU=Users OU, dc=org, dc=com"; adminPwd = "admin"; userToReset = "CN=TEST_USER, OU=Staff, OU=Users OU, dc=org, dc=com"; // Retrieve this info…
Read More

Refactoring Applications Into a MVC Framework

I spoke yesterday at the Adobe CFSummit on refactoring procedural code into MVC Frameworks. Also did the same presentation at NCDevCon last month. It was a great experience speaking at both of these conferences. Many thanks to the conference organizers as well as all the folks that came to my talks! Here are the slides and demo code from my talk. Hope you find these useful. Feel free to leave a comment here or send me an email if you have questions. Slides Demo Code
Read More

ColdFusion script for counting lines of code in directory

Recently I needed a tool to count the total number of lines of code that I had written in all files in a particular directory. I looked around on the web but didn't find anything that quite met my specifications. So I ended up writing a script myself to do this task. It turned out to be fairly straightforward but I have put it up on Github, hoping that it will save some time for someone else, who is looking for something similar: https://github.com/anantunc/linesOfCode You are welcome to use this code for any non-commercial purposes. Please contact me if you plan to use this commercially.
Read More

NCDevCon 2012 – Design Patterns for everyday use (again)

I spoke and volunteered once again at NCDevCon 2012 this past weekend. Got a chance to catch up with a lot of old friends, renew acquaintances and make some new friends. I had a great time and based on what I've heard so far, I wasn't the only one who enjoyed it. Once again, thanks to everyone who came to my session on Design Patterns even though it was the last one on Sunday. I hope you guys managed to get something useful out of it. Here are the slides and the code samples, for your reference. Please feel free to contact me here or via email with any questions…
Read More

cfObjective 2012 – Design Patterns for everyday use

Greetings interweb dwellers! I presented at cfObjective this past Saturday on Design Patterns for everyday use. This talk was intended to be an introduction to design patterns and a demonstration of a few common design patterns in a ColdFusion application. The main point that I wanted people to take away was that design patterns are very useful but they are best practices and not recipes - it is important to determine if they really solve your particular design problem before you implement them. Don't try to fit your problem to a pattern, see if a pattern solves your problem. This was my first time in Minneapolis, first time at cfObjective…
Read More

cf.Objective 2017 – Desktop version of CF Application with CommandBox

I presented a session on Creating a Desktop version of your CF Application with CommandBox at cf.Objective 2017 earlier this week. This was my 3rd time speaking at cf.Objective, and as usual, it was a privilege and a rewarding experience to speak at this great conference. Many thanks to the conference organizers as well as all the folks that attended my session! Here are the slides and demo code from my talk. Hope you find these useful. Feel free to leave a comment here or send me an email if you have questions. Slides Demo Code
Read More

NCDevCon 2016 – Dependency Injection 101

I presented an introductory session on Dependency Injection at NCDevCon this past weekend. This was my 4th time speaking at NCDevCon, and as usual, it was a privilege and a rewarding experience to speak at this great conference. Many thanks to the conference organizers as well as all the folks that attended my session! Here are the slides and demo code from my talk. Hope you find these useful. Feel free to leave a comment here or send me an email if you have questions. Slides Demo Code
Read More

Changing Google domain passwords with ColdFusion and Dito GAM

For a recent project, I was tasked with creating a service that could synchronously change the Google domain password for any of our domain users. I struggled with the OAuth 2.0 handshake business for a good bit (https://developers.google.com/identity/protocols/OAuth2ServiceAccount), created some badass JWT signatures, I believe got very close to having the authentication setup, but then figured out this other, much simpler way of doing this. So here is a blog post on my findings. Environment: Adobe ColdFusion 11 running on a Windows 2012 R2 server with IIS 8.5. Dito GAM (http://www.ditoweb.com/partner-products/gam-by-dito/) is this great free, open source command line tool to efficiently manage Google domain & user settings. So I…
Read More

Changing LDAP passwords with ColdFusion

Took me a WHILE to figure out how to do this, but finally have it working so I figured I would blog about it. Environment: Adobe ColdFusion 11 running on a Windows 2012 R2 server with IIS 8.5. To begin with, make sure that your server has a SSL certificate installed for the domain that will be making requests to the LDAP server. Here is the code that you need: [java] <cfscript> new_pwd = "NewPwd9!"; new_pwd_quotes = '"' & "#new_pwd#" & '"'; unicode_pwd = new_pwd_quotes.getBytes("UTF-16LE"); adminName = "CN=ADMIN_USER, OU=Special Privileges OU, OU=Users OU, dc=org, dc=com"; adminPwd = "admin"; userToReset = "CN=TEST_USER, OU=Staff, OU=Users OU, dc=org, dc=com"; // Retrieve this info…
Read More

Refactoring Applications Into a MVC Framework

I spoke yesterday at the Adobe CFSummit on refactoring procedural code into MVC Frameworks. Also did the same presentation at NCDevCon last month. It was a great experience speaking at both of these conferences. Many thanks to the conference organizers as well as all the folks that came to my talks! Here are the slides and demo code from my talk. Hope you find these useful. Feel free to leave a comment here or send me an email if you have questions. Slides Demo Code
Read More

ColdFusion script for counting lines of code in directory

Recently I needed a tool to count the total number of lines of code that I had written in all files in a particular directory. I looked around on the web but didn't find anything that quite met my specifications. So I ended up writing a script myself to do this task. It turned out to be fairly straightforward but I have put it up on Github, hoping that it will save some time for someone else, who is looking for something similar: https://github.com/anantunc/linesOfCode You are welcome to use this code for any non-commercial purposes. Please contact me if you plan to use this commercially.
Read More

NCDevCon 2012 – Design Patterns for everyday use (again)

I spoke and volunteered once again at NCDevCon 2012 this past weekend. Got a chance to catch up with a lot of old friends, renew acquaintances and make some new friends. I had a great time and based on what I've heard so far, I wasn't the only one who enjoyed it. Once again, thanks to everyone who came to my session on Design Patterns even though it was the last one on Sunday. I hope you guys managed to get something useful out of it. Here are the slides and the code samples, for your reference. Please feel free to contact me here or via email with any questions…
Read More

cfObjective 2012 – Design Patterns for everyday use

Greetings interweb dwellers! I presented at cfObjective this past Saturday on Design Patterns for everyday use. This talk was intended to be an introduction to design patterns and a demonstration of a few common design patterns in a ColdFusion application. The main point that I wanted people to take away was that design patterns are very useful but they are best practices and not recipes - it is important to determine if they really solve your particular design problem before you implement them. Don't try to fit your problem to a pattern, see if a pattern solves your problem. This was my first time in Minneapolis, first time at cfObjective…
Read More

cf.Objective 2017 – Desktop version of CF Application with CommandBox

I presented a session on Creating a Desktop version of your CF Application with CommandBox at cf.Objective 2017 earlier this week. This was my 3rd time speaking at cf.Objective, and as usual, it was a privilege and a rewarding experience to speak at this great conference. Many thanks to the conference organizers as well as all the folks that attended my session! Here are the slides and demo code from my talk. Hope you find these useful. Feel free to leave a comment here or send me an email if you have questions. Slides Demo Code
Read More

NCDevCon 2016 – Dependency Injection 101

I presented an introductory session on Dependency Injection at NCDevCon this past weekend. This was my 4th time speaking at NCDevCon, and as usual, it was a privilege and a rewarding experience to speak at this great conference. Many thanks to the conference organizers as well as all the folks that attended my session! Here are the slides and demo code from my talk. Hope you find these useful. Feel free to leave a comment here or send me an email if you have questions. Slides Demo Code
Read More

Changing Google domain passwords with ColdFusion and Dito GAM

For a recent project, I was tasked with creating a service that could synchronously change the Google domain password for any of our domain users. I struggled with the OAuth 2.0 handshake business for a good bit (https://developers.google.com/identity/protocols/OAuth2ServiceAccount), created some badass JWT signatures, I believe got very close to having the authentication setup, but then figured out this other, much simpler way of doing this. So here is a blog post on my findings. Environment: Adobe ColdFusion 11 running on a Windows 2012 R2 server with IIS 8.5. Dito GAM (http://www.ditoweb.com/partner-products/gam-by-dito/) is this great free, open source command line tool to efficiently manage Google domain & user settings. So I…
Read More

Changing LDAP passwords with ColdFusion

Took me a WHILE to figure out how to do this, but finally have it working so I figured I would blog about it. Environment: Adobe ColdFusion 11 running on a Windows 2012 R2 server with IIS 8.5. To begin with, make sure that your server has a SSL certificate installed for the domain that will be making requests to the LDAP server. Here is the code that you need: [java] <cfscript> new_pwd = "NewPwd9!"; new_pwd_quotes = '"' & "#new_pwd#" & '"'; unicode_pwd = new_pwd_quotes.getBytes("UTF-16LE"); adminName = "CN=ADMIN_USER, OU=Special Privileges OU, OU=Users OU, dc=org, dc=com"; adminPwd = "admin"; userToReset = "CN=TEST_USER, OU=Staff, OU=Users OU, dc=org, dc=com"; // Retrieve this info…
Read More

Refactoring Applications Into a MVC Framework

I spoke yesterday at the Adobe CFSummit on refactoring procedural code into MVC Frameworks. Also did the same presentation at NCDevCon last month. It was a great experience speaking at both of these conferences. Many thanks to the conference organizers as well as all the folks that came to my talks! Here are the slides and demo code from my talk. Hope you find these useful. Feel free to leave a comment here or send me an email if you have questions. Slides Demo Code
Read More

ColdFusion script for counting lines of code in directory

Recently I needed a tool to count the total number of lines of code that I had written in all files in a particular directory. I looked around on the web but didn't find anything that quite met my specifications. So I ended up writing a script myself to do this task. It turned out to be fairly straightforward but I have put it up on Github, hoping that it will save some time for someone else, who is looking for something similar: https://github.com/anantunc/linesOfCode You are welcome to use this code for any non-commercial purposes. Please contact me if you plan to use this commercially.
Read More

NCDevCon 2012 – Design Patterns for everyday use (again)

I spoke and volunteered once again at NCDevCon 2012 this past weekend. Got a chance to catch up with a lot of old friends, renew acquaintances and make some new friends. I had a great time and based on what I've heard so far, I wasn't the only one who enjoyed it. Once again, thanks to everyone who came to my session on Design Patterns even though it was the last one on Sunday. I hope you guys managed to get something useful out of it. Here are the slides and the code samples, for your reference. Please feel free to contact me here or via email with any questions…
Read More

cfObjective 2012 – Design Patterns for everyday use

Greetings interweb dwellers! I presented at cfObjective this past Saturday on Design Patterns for everyday use. This talk was intended to be an introduction to design patterns and a demonstration of a few common design patterns in a ColdFusion application. The main point that I wanted people to take away was that design patterns are very useful but they are best practices and not recipes - it is important to determine if they really solve your particular design problem before you implement them. Don't try to fit your problem to a pattern, see if a pattern solves your problem. This was my first time in Minneapolis, first time at cfObjective…
Read More

cf.Objective 2017 – Desktop version of CF Application with CommandBox

I presented a session on Creating a Desktop version of your CF Application with CommandBox at cf.Objective 2017 earlier this week. This was my 3rd time speaking at cf.Objective, and as usual, it was a privilege and a rewarding experience to speak at this great conference. Many thanks to the conference organizers as well as all the folks that attended my session! Here are the slides and demo code from my talk. Hope you find these useful. Feel free to leave a comment here or send me an email if you have questions. Slides Demo Code
Read More

NCDevCon 2016 – Dependency Injection 101

I presented an introductory session on Dependency Injection at NCDevCon this past weekend. This was my 4th time speaking at NCDevCon, and as usual, it was a privilege and a rewarding experience to speak at this great conference. Many thanks to the conference organizers as well as all the folks that attended my session! Here are the slides and demo code from my talk. Hope you find these useful. Feel free to leave a comment here or send me an email if you have questions. Slides Demo Code
Read More

Changing Google domain passwords with ColdFusion and Dito GAM

For a recent project, I was tasked with creating a service that could synchronously change the Google domain password for any of our domain users. I struggled with the OAuth 2.0 handshake business for a good bit (https://developers.google.com/identity/protocols/OAuth2ServiceAccount), created some badass JWT signatures, I believe got very close to having the authentication setup, but then figured out this other, much simpler way of doing this. So here is a blog post on my findings. Environment: Adobe ColdFusion 11 running on a Windows 2012 R2 server with IIS 8.5. Dito GAM (http://www.ditoweb.com/partner-products/gam-by-dito/) is this great free, open source command line tool to efficiently manage Google domain & user settings. So I…
Read More

Changing LDAP passwords with ColdFusion

Took me a WHILE to figure out how to do this, but finally have it working so I figured I would blog about it. Environment: Adobe ColdFusion 11 running on a Windows 2012 R2 server with IIS 8.5. To begin with, make sure that your server has a SSL certificate installed for the domain that will be making requests to the LDAP server. Here is the code that you need: [java] <cfscript> new_pwd = "NewPwd9!"; new_pwd_quotes = '"' & "#new_pwd#" & '"'; unicode_pwd = new_pwd_quotes.getBytes("UTF-16LE"); adminName = "CN=ADMIN_USER, OU=Special Privileges OU, OU=Users OU, dc=org, dc=com"; adminPwd = "admin"; userToReset = "CN=TEST_USER, OU=Staff, OU=Users OU, dc=org, dc=com"; // Retrieve this info…
Read More

Refactoring Applications Into a MVC Framework

I spoke yesterday at the Adobe CFSummit on refactoring procedural code into MVC Frameworks. Also did the same presentation at NCDevCon last month. It was a great experience speaking at both of these conferences. Many thanks to the conference organizers as well as all the folks that came to my talks! Here are the slides and demo code from my talk. Hope you find these useful. Feel free to leave a comment here or send me an email if you have questions. Slides Demo Code
Read More

ColdFusion script for counting lines of code in directory

Recently I needed a tool to count the total number of lines of code that I had written in all files in a particular directory. I looked around on the web but didn't find anything that quite met my specifications. So I ended up writing a script myself to do this task. It turned out to be fairly straightforward but I have put it up on Github, hoping that it will save some time for someone else, who is looking for something similar: https://github.com/anantunc/linesOfCode You are welcome to use this code for any non-commercial purposes. Please contact me if you plan to use this commercially.
Read More

NCDevCon 2012 – Design Patterns for everyday use (again)

I spoke and volunteered once again at NCDevCon 2012 this past weekend. Got a chance to catch up with a lot of old friends, renew acquaintances and make some new friends. I had a great time and based on what I've heard so far, I wasn't the only one who enjoyed it. Once again, thanks to everyone who came to my session on Design Patterns even though it was the last one on Sunday. I hope you guys managed to get something useful out of it. Here are the slides and the code samples, for your reference. Please feel free to contact me here or via email with any questions…
Read More

cfObjective 2012 – Design Patterns for everyday use

Greetings interweb dwellers! I presented at cfObjective this past Saturday on Design Patterns for everyday use. This talk was intended to be an introduction to design patterns and a demonstration of a few common design patterns in a ColdFusion application. The main point that I wanted people to take away was that design patterns are very useful but they are best practices and not recipes - it is important to determine if they really solve your particular design problem before you implement them. Don't try to fit your problem to a pattern, see if a pattern solves your problem. This was my first time in Minneapolis, first time at cfObjective…
Read More

cf.Objective 2017 – Desktop version of CF Application with CommandBox

I presented a session on Creating a Desktop version of your CF Application with CommandBox at cf.Objective 2017 earlier this week. This was my 3rd time speaking at cf.Objective, and as usual, it was a privilege and a rewarding experience to speak at this great conference. Many thanks to the conference organizers as well as all the folks that attended my session! Here are the slides and demo code from my talk. Hope you find these useful. Feel free to leave a comment here or send me an email if you have questions. Slides Demo Code
Read More

NCDevCon 2016 – Dependency Injection 101

I presented an introductory session on Dependency Injection at NCDevCon this past weekend. This was my 4th time speaking at NCDevCon, and as usual, it was a privilege and a rewarding experience to speak at this great conference. Many thanks to the conference organizers as well as all the folks that attended my session! Here are the slides and demo code from my talk. Hope you find these useful. Feel free to leave a comment here or send me an email if you have questions. Slides Demo Code
Read More

Changing Google domain passwords with ColdFusion and Dito GAM

For a recent project, I was tasked with creating a service that could synchronously change the Google domain password for any of our domain users. I struggled with the OAuth 2.0 handshake business for a good bit (https://developers.google.com/identity/protocols/OAuth2ServiceAccount), created some badass JWT signatures, I believe got very close to having the authentication setup, but then figured out this other, much simpler way of doing this. So here is a blog post on my findings. Environment: Adobe ColdFusion 11 running on a Windows 2012 R2 server with IIS 8.5. Dito GAM (http://www.ditoweb.com/partner-products/gam-by-dito/) is this great free, open source command line tool to efficiently manage Google domain & user settings. So I…
Read More

Changing LDAP passwords with ColdFusion

Took me a WHILE to figure out how to do this, but finally have it working so I figured I would blog about it. Environment: Adobe ColdFusion 11 running on a Windows 2012 R2 server with IIS 8.5. To begin with, make sure that your server has a SSL certificate installed for the domain that will be making requests to the LDAP server. Here is the code that you need: [java] <cfscript> new_pwd = "NewPwd9!"; new_pwd_quotes = '"' & "#new_pwd#" & '"'; unicode_pwd = new_pwd_quotes.getBytes("UTF-16LE"); adminName = "CN=ADMIN_USER, OU=Special Privileges OU, OU=Users OU, dc=org, dc=com"; adminPwd = "admin"; userToReset = "CN=TEST_USER, OU=Staff, OU=Users OU, dc=org, dc=com"; // Retrieve this info…
Read More

Refactoring Applications Into a MVC Framework

I spoke yesterday at the Adobe CFSummit on refactoring procedural code into MVC Frameworks. Also did the same presentation at NCDevCon last month. It was a great experience speaking at both of these conferences. Many thanks to the conference organizers as well as all the folks that came to my talks! Here are the slides and demo code from my talk. Hope you find these useful. Feel free to leave a comment here or send me an email if you have questions. Slides Demo Code
Read More

ColdFusion script for counting lines of code in directory

Recently I needed a tool to count the total number of lines of code that I had written in all files in a particular directory. I looked around on the web but didn't find anything that quite met my specifications. So I ended up writing a script myself to do this task. It turned out to be fairly straightforward but I have put it up on Github, hoping that it will save some time for someone else, who is looking for something similar: https://github.com/anantunc/linesOfCode You are welcome to use this code for any non-commercial purposes. Please contact me if you plan to use this commercially.
Read More

NCDevCon 2012 – Design Patterns for everyday use (again)

I spoke and volunteered once again at NCDevCon 2012 this past weekend. Got a chance to catch up with a lot of old friends, renew acquaintances and make some new friends. I had a great time and based on what I've heard so far, I wasn't the only one who enjoyed it. Once again, thanks to everyone who came to my session on Design Patterns even though it was the last one on Sunday. I hope you guys managed to get something useful out of it. Here are the slides and the code samples, for your reference. Please feel free to contact me here or via email with any questions…
Read More

cfObjective 2012 – Design Patterns for everyday use

Greetings interweb dwellers! I presented at cfObjective this past Saturday on Design Patterns for everyday use. This talk was intended to be an introduction to design patterns and a demonstration of a few common design patterns in a ColdFusion application. The main point that I wanted people to take away was that design patterns are very useful but they are best practices and not recipes - it is important to determine if they really solve your particular design problem before you implement them. Don't try to fit your problem to a pattern, see if a pattern solves your problem. This was my first time in Minneapolis, first time at cfObjective…
Read More

cf.Objective 2017 – Desktop version of CF Application with CommandBox

I presented a session on Creating a Desktop version of your CF Application with CommandBox at cf.Objective 2017 earlier this week. This was my 3rd time speaking at cf.Objective, and as usual, it was a privilege and a rewarding experience to speak at this great conference. Many thanks to the conference organizers as well as all the folks that attended my session! Here are the slides and demo code from my talk. Hope you find these useful. Feel free to leave a comment here or send me an email if you have questions. Slides Demo Code
Read More

NCDevCon 2016 – Dependency Injection 101

I presented an introductory session on Dependency Injection at NCDevCon this past weekend. This was my 4th time speaking at NCDevCon, and as usual, it was a privilege and a rewarding experience to speak at this great conference. Many thanks to the conference organizers as well as all the folks that attended my session! Here are the slides and demo code from my talk. Hope you find these useful. Feel free to leave a comment here or send me an email if you have questions. Slides Demo Code
Read More

Changing Google domain passwords with ColdFusion and Dito GAM

For a recent project, I was tasked with creating a service that could synchronously change the Google domain password for any of our domain users. I struggled with the OAuth 2.0 handshake business for a good bit (https://developers.google.com/identity/protocols/OAuth2ServiceAccount), created some badass JWT signatures, I believe got very close to having the authentication setup, but then figured out this other, much simpler way of doing this. So here is a blog post on my findings. Environment: Adobe ColdFusion 11 running on a Windows 2012 R2 server with IIS 8.5. Dito GAM (http://www.ditoweb.com/partner-products/gam-by-dito/) is this great free, open source command line tool to efficiently manage Google domain & user settings. So I…
Read More

Changing LDAP passwords with ColdFusion

Took me a WHILE to figure out how to do this, but finally have it working so I figured I would blog about it. Environment: Adobe ColdFusion 11 running on a Windows 2012 R2 server with IIS 8.5. To begin with, make sure that your server has a SSL certificate installed for the domain that will be making requests to the LDAP server. Here is the code that you need: [java] <cfscript> new_pwd = "NewPwd9!"; new_pwd_quotes = '"' & "#new_pwd#" & '"'; unicode_pwd = new_pwd_quotes.getBytes("UTF-16LE"); adminName = "CN=ADMIN_USER, OU=Special Privileges OU, OU=Users OU, dc=org, dc=com"; adminPwd = "admin"; userToReset = "CN=TEST_USER, OU=Staff, OU=Users OU, dc=org, dc=com"; // Retrieve this info…
Read More

Refactoring Applications Into a MVC Framework

I spoke yesterday at the Adobe CFSummit on refactoring procedural code into MVC Frameworks. Also did the same presentation at NCDevCon last month. It was a great experience speaking at both of these conferences. Many thanks to the conference organizers as well as all the folks that came to my talks! Here are the slides and demo code from my talk. Hope you find these useful. Feel free to leave a comment here or send me an email if you have questions. Slides Demo Code
Read More

ColdFusion script for counting lines of code in directory

Recently I needed a tool to count the total number of lines of code that I had written in all files in a particular directory. I looked around on the web but didn't find anything that quite met my specifications. So I ended up writing a script myself to do this task. It turned out to be fairly straightforward but I have put it up on Github, hoping that it will save some time for someone else, who is looking for something similar: https://github.com/anantunc/linesOfCode You are welcome to use this code for any non-commercial purposes. Please contact me if you plan to use this commercially.
Read More

NCDevCon 2012 – Design Patterns for everyday use (again)

I spoke and volunteered once again at NCDevCon 2012 this past weekend. Got a chance to catch up with a lot of old friends, renew acquaintances and make some new friends. I had a great time and based on what I've heard so far, I wasn't the only one who enjoyed it. Once again, thanks to everyone who came to my session on Design Patterns even though it was the last one on Sunday. I hope you guys managed to get something useful out of it. Here are the slides and the code samples, for your reference. Please feel free to contact me here or via email with any questions…
Read More

cfObjective 2012 – Design Patterns for everyday use

Greetings interweb dwellers! I presented at cfObjective this past Saturday on Design Patterns for everyday use. This talk was intended to be an introduction to design patterns and a demonstration of a few common design patterns in a ColdFusion application. The main point that I wanted people to take away was that design patterns are very useful but they are best practices and not recipes - it is important to determine if they really solve your particular design problem before you implement them. Don't try to fit your problem to a pattern, see if a pattern solves your problem. This was my first time in Minneapolis, first time at cfObjective…
Read More