Page 1 of 1
Is AC a full .net 2.0 Project and what about the Data layer
Posted: Wed Mar 11, 2009 2:46 pm
by etasp
Hi
I am new to AC and not able to view any code yet. I see in the feature list that AC is compiled against .net 2.0 - I guess this means its 1.1 just recompiled not rewritten - something that AC's competitors make a big deal able (if they are fully .net 2.0)
Also with reference to stored procedures - these are not mentioned - does this mean that SPs are not implemented in the data layer? Does this mean the Sql is hard coded on the page or worse still in th e.dll's
Thanks for any pointers.
Cheers
Re: Is AC a full .net 2.0 Project and what about the Data layer
Posted: Wed Mar 11, 2009 4:16 pm
by jmestep
It's not a re-write of .net 1.1 and the latest build is compatible with 3.5. Able 5 was .net 1.1 in vb, Able 7 is C# and was a complete re-coding project.
You can see a sample of how the DAL is written on wiki.ablecommerce.com.
Re: Is AC a full .net 2.0 Project and what about the Data layer
Posted: Wed Mar 11, 2009 8:50 pm
by AbleMods
etasp wrote:Also with reference to stored procedures - these are not mentioned - does this mean that SPs are not implemented in the data layer? Does this mean the Sql is hard coded on the page or worse still in th e.dll's
Stored procedures have not been implemented in AC7. The AC7 data access layer uses Microsoft Enterprise data class design. All tables are accessed via strongly-typed data classes available via the CommerceBuilder API library of DLLs. These classes can be referenced anywhere you want to use them with the standard Include statement at the top of your class files.
With a local demo install, you can see many examples of how the data layer is accessed via the included code-behind files. Most people do not need full source to make extensive modifications to an AC7 install. Obviously everyones needs are different, however there is an enormous amount of source code included in the standard install files.
I've been developing in AC7 for 18 months and have never modified the base CommerceBuilder API source code.
Re: Is AC a full .net 2.0 Project and what about the Data layer
Posted: Sat Aug 22, 2009 11:50 am
by Logan Rhodehamel
etasp wrote:I am new to AC and not able to view any code yet. I see in the feature list that AC is compiled against .net 2.0 - I guess this means its 1.1 just recompiled not rewritten - something that AC's competitors make a big deal able (if they are fully .net 2.0)
This is an older post but I noticed this question went unanswered. AC7 was a complete rewrite, targeting for 2.0. It will not compile in 1.1 due to the use of 2.0 specific coding.