[ Create account | Log-in ] Home ::  Downloads ::  Web links ::  FAQ 
Main Menu

Online
There are 3 unregistered users and 0 registered users on-line.

You can log-in or register for a user account here.



csopf-v0.4.0 is finally out!
Posted Jun 07, 2005 - 10:08 PM


C# Persistent Framework News After procrastinating for over 6 months, Ive finally gotten round to packaging csopf as the next release. One of the delays was because we were creating a production site which was using csopf as the framework, and there were quite a few features to be implemented and bugs exterminated.

Im glad to say that the production website has been running for over 2 months now without much problem, so I'd say that csopf was quite stable. So its ready for its release.

Hope you enjoy it!

Please click here for more information, or download here

Release Name: csopf-v0.4.0

Major changes since v0.3.9

  1. ASP Enabled
  2. Transactions
  3. SearchCriteria
  4. mono compatibility


ASP.NET
csopf now works ASP.NET. Each Session will have its own SQLConnection.
Connections can be defined as "release often"

together with the ASP BaseForm,

  • Auto populates the edit fields
  • Template Driven, so pages can have the same look via inheritence
  • Allows nested pages (modal like behaviour) with correct return paths.
  • Sessions and ViewStates are handled as transparently as possible.
  • On Session expiry/Auth fail, redirect to a specific page.
  • HasShowDebug - optionally shows the messages from the DebugList.
  • NeedsUserLoggedIn / IsAuthenticated : authorizations with AppUser on Page access.
  • Uses Resource Manager for translatable strings, dependant on the Culture


ASP Grid
the framework includes a customized Grid Component (PDASPGrid) which works well with
the PDList. Developer just drops the grid in and immediately has these features.
  • Add, Modify and Delete the items within the grid.
  • On Add or Modify, a ChildPage can be called for a modal-like aditing screen.
  • The Columns for the Grid is defined by "Object.Property" and allows for deep calling like "Object.Child.Property".
  • Renaming and Resizing is also available. Editable in the IDE.


Transactions / Atomic Functions
where the RDBMS supports it, csopf now uses transactions to make sure that updates are atomic.

  • Begin, Commit and Rollback are fully implemented
  • In Memory transaction is implemented (can rollback in memory as well)
  • Works for MySQL (InnoDB), Firebird and MSSQL


Others:
AppUser - A rudimentary User Class is created for Autiding info and authentication.
Authentication is still up to the developer to implement.
PDObject - Hash value: to see if the object isDirty or not.

SearchCriteria
Instead of writing direct SQL which may differ from engine to engine, csopf abstracts the query in objects.
This is not entirely complete yet as it doesnt support subselects, but its "good enough" for now.
csopf will eventually support subqueries in the future.

  • Equal, Like, GreaterThan, GreaterThanEqual, LessThan, LessThanEqual, Between
  • Strings, Dates and Numbers.
  • Different flavours for MySQL, Firebird and MSSQL
  • ASP Component for SearchCriteria. Javascript enabled to auto-toggle "and" when data is keyed in.
  • Escapes out SQL Injection nasties! - parameterized query not implemented yet. This is a workaround.


mono Compatibility
Confirmed that this framework can compile using 'mcs' and the dlls can be used to persist data.
I have tried a rudimentary Gtk# port of the BaseForm, and it works. Will post it up in the next release.

Thanks to: Nick Seng who has contributed a whole load to the ASP.NET implementation.

yk.

 
Login
 



 


 Log in Problems?
 New User? Sign Up!

Related links
· More about C# Persistent Framework News
· News by yoonkit


Most-read story in C# Persistent Framework News:
All about Enums

csopf-v0.4.0 is finally out! | Log-in or register a new user account | 0 Comments
Comments are statements made by the person that posted them.
They do not necessarily represent the opinions of the site editor.

Other Stories
· Downtime ... mysql (Nov 16, 2005)
· Editable Grids, and OnPopulateCell.. Change of param signature (Sep 11, 2005)
· Right hand Column (Sep 02, 2005)
· site down.... (Aug 18, 2005)
· More Apps with csopf (Aug 09, 2005)
· Namespace change for ASP (Aug 09, 2005)
· Searching with subselects (Jul 05, 2005)
· Strange Links. (Jun 16, 2005)
· csopf is listed in the UNDP - International Open Source Network (Jun 14, 2005)
· All about Enums (Jun 10, 2005)

Poll
How do you persist your objects?

· With an Object Persistent Framework
· Manually write out SQL statements
· Object to RDBMS Mapper
· CRUD is Code Gen'ed
· Dont need to - OODB!
· Real men dont store data!

[ Results | Polls ]

Votes: 119
Comments: 0


Login
 



 


 Log in Problems?
 New User? Sign Up!

Past Articles
Friday, June 10
·Namespace change for UIs. (0)
Tuesday, June 07
·csopf-v0.4.0 is finally out! (0)
Monday, June 06
·csopf works with mono (0)
Sunday, June 05
·Revamp to the csopf Website (0)
Sunday, December 05
·Wot?! No Updates?! (219)
Monday, October 18
·Transactions as Well! (124)
Monday, October 11
·ASP.NET.... working on it! (272)
Thursday, September 30
·.Net Reflection and Performance (127)
Wednesday, September 22
·csopf-v0.3.9 - Major Changes (82)
Thursday, September 16
·Work In Progress for v0.3.9 (256)
 Older articles
Home ::  Share your story :: 

Web site powered by PostNuke yoonkits blog Malaysian IndependantDot Net Developers


All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest (c) 2004 by me
This web site was made with PostNuke, a web portal system written in PHP. PostNuke is Free Software released under the GNU/GPL license.
You can syndicate our news using the file backend.php