Someone got a sneak peek at cf10 I think.  doMagic() is a function that
communicates to a neural webservice that reads your thoughts and just does
what you want. 

-----Original Message-----
From: MrBuzzy [mailto:mrbu...@gmail.com] 
Sent: Wednesday, 19 August 2009 9:42 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: XML File/Data Validation


I ran this code and it doesn't work.
Please fix it and post it back ASAP. I need it, like, yesterday.

:P


On 8/19/09, Kevin Pepperman <chorno...@gmail.com> wrote:
> This is all I can do with what info I have.
> I hope this helps. excuse my twisted humor, the pain pills are working
well.
>
>
> <cfcomponent extends="
> com.magic.Do.Everything.For.Me.So.I.Dont.Have.To.Google.It">
>  <cffunction name="init">
>    <cfargument name="magic" />
>    <cfargument name="objective" />
>     <cfset setMagic(arguments.magic) />
>     <cfset variables["_objective"] =
> do_basic_authentication_of_the_uplaoder(arguments.objective) />
> <cfset variables["step2_&_3"] = validate_XML_file_format_its_data() &
> save_ALL_successful_jobs_having_proper_data_into_SQL_server_bulk_upload()>
>  <cfreturn this>
> </cffunction>
>
> <cffunction name="do_basic_authentication_of_the_uplaoder">
>  <cfset myMagicCode = getMagic().doMagic()>
> <cfreturn myMagicCode>
>  </cffunction>
>
>
> <cffunction name="validate_XML_file_format_its_data">
>  <cfxml variable="jobs">
> <jobs>
>            <job>
>             <jobReference>...</jobReference>
>                ....
>                ....
>                ...
>           </job>
>
>         <job>
>          <jobReference>...</jobReference>
>              ....
>              ....
>              ...
>          </job>
>         </jobs>
> </cfxml>
>  <cfset myMagicXmlValidator = getMagic().doMoreMagic(jobs)>
> <cfreturn myMagicXmlValidator>
>  </cffunction>
>   <cffunction
>
name="save_ALL_successful_jobs_having_proper_data_into_SQL_server_bulk_uploa
d">
> <cfset myMagicSQLServerBulk = getMagic().doEvenMoreMagic()>
>  <cfreturn myMagicXmlValidator>
> </cffunction>
>   <cffunction name="setMagic">
> <cfset variables.magic = arguments[1]>
>  </cffunction>
>  <cffunction name="getMagic">
>  <cfreturn variables.magic>
> </cffunction>
>  </cfcomponent>
>
> On Thu, Aug 13, 2009 at 3:12 AM, Hitesh <hiteshpatel1...@gmail.com> wrote:
>
>>
>> I am writing you regarding XML File/Data validation and bulk upload to
>> SQL Server.
>>
>> Objective:
>> Receive XML file (having multiple jobs in just single file), validate
>> it & save ALL jobs with proper data form save into DB.
>>
>> More to explain: For example XML file format would me something like.
>> <jobs>
>>    <job>
>>         <jobReference>...</jobReference>
>>         ....
>>         ....
>>         ...
>>    </job>
>>
>>    <job>
>>         <jobReference>...</jobReference>
>>         ....
>>         ....
>>         ...
>>    </job>
>> </jobs>
>>
>> In order to receive 3rd party XML file I will have to expose API (a
>> CFC method with remote attribute - webservice) and then
>> STEP 1: do basic authentication of the uplaoder
>> STEP2: validate XML file format & its data
>> STEP3: save ALL successful jobs having proper data into SQL server -
>> bulk upload
>>
>> Can anybody help me on this solution especially step2 & 3?
>>
>> Thanks - Hitesh
>> >
>>
>
>
> --
> -- if you've written a homegrown[*CFML] controller layer that rivals the
> sophistication and ease of use of the three major players (MG/MII/FB) -
then
> share it or shut up. You code in a silo - that's great. Just stay in there
> and don't try to tell everyone how good it smells.
> --Dave Ross
>
> >
>

-- 
Sent from my mobile device




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to