Entertainment, CodeSeptember 29, 2008 2:43 pm


-     powerful feature of ColdFusion MX that allows developers to introduce object oriented programming techniques

-     collection of functions that relate to a given entity,

-     like for example, a Customer.

-     You could create a customer.cfc that is responsible for the programming logic regarding your customer records. (CRUD functionality) 

 

Benefits

 

Security

-      You can restrict access to a ColdFusion component and it’s functions

Performance

-      ColdFusion Components are faster.

-      They are compiled.

Extensibility

-     It can share methods with other ColdFusion components.

Reusability

-     Standalone piece of code that accepts input and provides output.

-     Once you’ve called a component in a page, you can reuse it without having to call it again in that page.

 

CodeSeptember 20, 2008 2:14 am

<cfif IsDefined(’FORM.btnLogin’)>
<cfquery name="qValidUser" datasource="webfillers">
EXEC sp_login @USERNAME=’#FORM.username#’, @PASSWORD = ‘#FORM.password#’
</cfquery>
<cfif qValidUser.RecordCount EQ 1>
<cfset Session.PERSONID = #qValidUser.PERSONID#>
<cfset Session.USERNAME = #qValidUser.USERNAME#>
<cfset Session.FIRSTNAME = #qValidUser.FIRSTNAME#>
<cfset Session.LASTNAME= #qValidUser.LASTNAME#>
<cfset Session.PERSONTYPE = #qValidUser.PERSONTYPE#>
<cflocation url = "index.cfm">
<cfelse>
    INVALID account
</cfif>
</cfif>
<cfform name="loginform" metiod = "post">
    Username : <cfinput type="text" name="username" required="yes" message="please enter username">
    <br>
    Passoword : <cfinput type="password" name="password" required="yes" message="please enter password">
    <cfinput type="submit" name="btnLogin" value="login">
</cfform>

MovieSeptember 11, 2008 3:36 am

Curtis Plummer - a down-on-his-luck former high school football star - turns his niece, Jasmine, into the quarterback of the local team, the Minden Browns, and gets his stride back when he becomes the team coach. With Curtis as their new leader and their pigtail-wearing star player, this team of misfits wins its way to the Pop Warner Super Bowl and the small city of Minden, Illinois, is ignited with team spirit, town pride and the glory.

The Long Shot 

CAST

  • Ice Cube as Curtis Plummer
  • Keke Palmer as Jasmine Plummer
  • Matt Craven as Coach Fisher
  • Tasha Smith as Claire Plummer
  • Jill Marie Jones as Ronnie Macer
  • Kofi Siriboe as Javy Hall
  • Alan Aisenberg as Feather
  • Debby Ryan as Edith
the longshot

 

BusinessSeptember 10, 2008 2:36 am

In uncertain economic times, you may hesitate to spend money to advance your career. But some investments — of money and time — can really pay off.

One of the main ways to invest in your career is through education.

"Don’t think of it as going back to school, which sounds like you didn’t get it right in the first place and doesn’t feel good," said Libby Pannwitt, principal of the Work Life Design Group, in San Carlos, California. Instead, think of it as a way to broaden your knowledge.

Here are three ways to invest in you career through education, plus three other career investments to consider:

* Get a degree. Complete your bachelor’s degree or get a master’s degree, MBA or even a Ph.D.

"We’re looking at global competition," said Patti Wilson, CEO of CareerCompany.com in Silicon Valley. An advanced degree can help you get promoted or move between industries.

Some people say workers in midcareer or later won’t have time to recoup the cost of an advanced degree. It’s a calculation that may push you toward a program that you can complete while working. But there are other factors to consider, Wilson said. An advanced degree can facilitate the move to consulting for an experienced worker, for example.

* Become certified. Technical fields, project management and human resources are just some fields in which certifications can help advance a career. Certifications are generally less time-consuming and expensive than degree programs.

* Learn cross-cultural communication skills. If you’re working outside your native country and not speaking your native language, consider taking classes in accent reduction and American business etiquette.

How do you know if you need these classes? If you’re lucky, your boss will tell you. But you may simply notice that you’re not getting promoted to positions that require good communication skills.

For native English speakers who were raised in the United States, learning about the business culture of other countries can help further your career, Wilson said.

* Build your brand online. This requires more time than money, although some services may cost you.

Own your own domain name and create a Web page to showcase your work, Wilson said. Keep updated profiles on Facebook, LinkedIn and other social networking sites. Monitor your online presence so that potential employers won’t find anything derogatory about you.

"Being branded online may be on the cutting edge now, but it’s going to be a given in five years," Wilson said.

* Find coaches and mentors. It’s important to have people to help you make critical decisions in your career.

For some people, a paid career counselor or coach is the best approach. Others have one or more mentors who offer informal advice. Which approach is best may depend on how much in-depth help you need.

"Some you pay, and some are free," Wilson said.

* Raise your professional profile. Professional associations require both time and money, but they are a good way to meet people in your industry who work for other companies.

"By serving on a committee or a board, you will gain valuable, marketable leadership experience to parlay at your next job interview," Pannwitt said.