A. Bekiaris's Blog
Σεπτέμβριος 2010 - Δημοσιεύσεις
Calculated properties at runtime—TIMES 4
28 Σεπτεμβρίου 10 11:12 πμ
|
tolisss
|
0 σχόλια
In this post you are going to see how you can use on more of eXpand powerfull features. 4 different ways for creating calculated runtime properties are avaliable. XPO way –>Using Code Take a note at the CreateCalculabeMember extension method at the code bellow public class CreateRuntimeCalculatedFieldController : ViewController { public override void CustomizeTypesInfo ( DevExpress . ExpressApp . DC . ITypesInfo typesInfo) { base . CustomizeTypesInfo (typesInfo); var classInfo = XafTypesInfo . XpoTypeInfoSource . XPDictionary . GetClassInfo ( typeof ( Customer ));
Διαβάστε περισσότερα »
Model Distribution with IO Engine
22 Σεπτεμβρίου 10 02:28 μμ
|
tolisss
|
0 σχόλια
ModelDifference module is one of the powerfull modules of eXpand . It really helps in managing your application models. Scenario Your application has been already distributed to your client and you no longer have access to the production database. Your client admin is responsible for that. But since development never stops as you know, you client asked for some model modification and some new application models (lets say 10) have been developed by your team and you want to sent them to the admin to update the application. eXpand IO module is the right one for the job Step1—Create a serialization graph to configure which objects/values you are going to export In order to create a serialization graph for an object type you have 1st to create a Serialization Configuration
Διαβάστε περισσότερα »
Make your navigation behave
20 Σεπτεμβρίου 10 01:03 μμ
|
tolisss
|
0 σχόλια
Xaf provides a very easy to configure navigation system and in this post i will speak about expand approach to make Xaf’s navigation system behave better than the one provided by default. To enable eXpand extended navigation behaviour one can use the ViewShortcutProccesor attribute either at BO level or at View level as shown in the next image Now what this ViewShortcutProccesor can do to speed up your development? Navigate to a detailview using a ReadOnlyParameter the above readonly parameter taken from eXpand feature center and is defined as public class ExternalApplicationKeyParameter : ReadOnlyParameter { public ExternalApplicationKeyParameter () : base ( "ExternalApplicationKey"
Διαβάστε περισσότερα »
Conditional Member Level Security
15 Σεπτεμβρίου 10 11:31 πμ
|
tolisss
|
0 σχόλια
DevExpress has the best support center I have ever seen, their Code Central really rocks and its fill with hundredths' of samples. One of them is is How to implement the MemberLevel security manually (for example, to deny the 'Read' access for declared properties of some business class, and allow access for the inherited properties eXpand has the above example as a module since its version 9 and you can use it by using the Xpand.ExpressApp.MemberLevelSecurity.dll assembly following the standard procedure for registering a xaf module. But in v10 we have boost it a little bit and we have make it conditional so now you can apply multiple Member Access Permissions to a member and by using the criteria member you can force the permission to be applied only to objects
Διαβάστε περισσότερα »
Non constant attributes parameters?
13 Σεπτεμβρίου 10 03:44 μμ
|
tolisss
|
0 σχόλια
Given my previous post Simple maths can boost your app performance did some more thoughts over it in this post .Net compiler says no!! An attribute argument must be a constant expression, typeof expression or array creation expression of an attribute parameter type public class CustomAttribute : Attribute { public CriteriaOperator CriteriaOperator { get ; set ; } public CustomAttribute( CriteriaOperator criteriaOperator) { CriteriaOperator = criteriaOperator; } } [ CustomAttribute ( CriteriaOperator .Parse( "Name=?" , "eXpand" ))] public class Class1 { } the above cannot be compiled BUT XAF SAYS YES Why?
Διαβάστε περισσότερα »
ERP to XAF connection on the fly part1
08 Σεπτεμβρίου 10 08:57 πμ
|
tolisss
|
0 σχόλια
Some years ago (before Xaf was born) you have bought an ERP for your company and you are not satisfied with its Analysis,Reporting,PIvoting,Sceduling etv capabilities and you wish the creator of your ERP to have use Xaf instead. If you are looking for the most painful way to map your ERP database into a Xaf application expand framework has the solution for you its called WorldCreator SqlDBMapper module. That module can map any Sql server database into a Xaf application. Bellow I demo how you can use it. Create an empty eXpand solution or use an existing one and navigate to the persistent assembly listview create a new persistent assembly info object, for the sake of the demo i will map NorthWind database, Use the Tools/Map Database action to connect to a database
Διαβάστε περισσότερα »
Simple maths can boost your app performance
06 Σεπτεμβρίου 10 04:41 μμ
|
tolisss
|
0 σχόλια
Xaf provides methods in your controllers to enable you to customize the types that is using. I am speaking about the CustomizeTypesInfo method internal class MyClass : ViewController { public override void CustomizeTypesInfo(DevExpress.ExpressApp.DC. ITypesInfo typesInfo) { base .CustomizeTypesInfo(typesInfo); } } The thing is that using such decoupled approach can be very dangerous and resource consuming. Take the following example . Say you have 10 classes and you want to customize 2 of them . You also want to decouple the customization logic. Then you probably write one controller like internal class MyController1 : ViewController { public
Διαβάστε περισσότερα »
Custom controls everywhere
01 Σεπτεμβρίου 10 03:22 μμ
|
tolisss
|
0 σχόλια
eXpand have AdditionalViewControlsProvider module that has been design to allow you to add custom controls on a predefined position (Bottom,Top) using its logic architecture ruling system We wanted to add some power to it so in eXpand v10 one is able to position its custom controls any where in the view by setting the rule position to DetailViewItem Then use the Model editor to create an additionalviewcontrol detailview item Associate them with a rule like and finally use the Layout Designer to place them at any position in the View!!! so when you go to the specified view since your rules can be activated uppon any logic your controls visibility will be setup accordingly
Διαβάστε περισσότερα »
Search
Go
Το Ιστολόγιο
Αρχική Σελίδα
Ετικέτες
13.2
ace.c9
AdditionalViewControlsProvider
anonymouslogin
AOP
application framework
aspect-oriented programming
AspxTreeListEditor
AuditTrail
BaseImpl
BDD
Blogging
breaking changes
C#
Code Generation
Code Quality
CodeDom
CodeRush
CodeSmith
Continous Integration
Cookies
Core.Web
Core.Win
CQL
CThru
dashboard
DataStoreAttribute
DBMapper
Design Patterns
Devexpress
DictionaryDifferenceStore
DomainComponents
DSL
DX
DxCore
Dynamic Types
EasyTest
Email
Entity Framework
events
ExcelImporter
eXpand
FormsAuthentication
IO
Logic
MemberlevelSecurity
Merging
ModelArtifactState
ModelDifference
Montly_News
MSpec
navigation
NBehave
NCaousel
NCover
NDepend
open source
performance
PivotChart
PostSharp
propertypathfilter
ProvidedAssociation
refactor
RememberMe
reports
Resharper
runtime members
Scheduler
Scripting
Security
source code
SqlDbMapper
statemachine
SubVersion
survey
TDD
Templating
TestDriven
Thumbnails
ToolTips
TortoiseSVN
training
TreeListEditors
TypeMock
v10
Validation
video
view inheritance
ViewController
ViewVariants
Visual Studio plugins
WCF
WebSitePark
WF
WorldCreator
WorldCreator2
Xaf
Xaf Tips
Xpo
XVideoRental
Πλοήγηση
Αρχική σελίδα
Ιστολόγια
Συζητήσεις
Εκθέσεις Φωτογραφιών
Αρχειοθήκες
Ιστορικό Δημοσιεύσεων
Ιανουάριος 2019 (1)
Οκτώβριος 2018 (1)
Αύγουστος 2018 (1)
Ιούνιος 2018 (1)
Μάρτιος 2018 (1)
Αύγουστος 2017 (2)
Απρίλιος 2016 (1)
Ιούλιος 2014 (1)
Ιούνιος 2014 (1)
Απρίλιος 2014 (1)
Δεκέμβριος 2013 (1)
Νοέμβριος 2013 (7)
Οκτώβριος 2013 (6)
Σεπτέμβριος 2013 (4)
Αύγουστος 2013 (4)
Ιούλιος 2013 (7)
Μάιος 2013 (2)
Απρίλιος 2013 (2)
Μάρτιος 2013 (1)
Φεβρουάριος 2013 (2)
Ιανουάριος 2013 (5)
Δεκέμβριος 2012 (3)
Νοέμβριος 2012 (3)
Σεπτέμβριος 2012 (1)
Αύγουστος 2012 (2)
Μάιος 2012 (1)
Απρίλιος 2012 (1)
Μάρτιος 2012 (2)
Ιανουάριος 2012 (2)
Δεκέμβριος 2011 (4)
Νοέμβριος 2011 (1)
Σεπτέμβριος 2011 (5)
Αύγουστος 2011 (5)
Ιούνιος 2011 (1)
Απρίλιος 2011 (2)
Μάρτιος 2011 (1)
Φεβρουάριος 2011 (2)
Ιανουάριος 2011 (2)
Δεκέμβριος 2010 (3)
Νοέμβριος 2010 (3)
Οκτώβριος 2010 (3)
Σεπτέμβριος 2010 (8)
Αύγουστος 2010 (6)
Ιούλιος 2010 (1)
Μάιος 2010 (3)
Απρίλιος 2010 (5)
Μάρτιος 2010 (9)
Φεβρουάριος 2010 (5)
Ιανουάριος 2010 (3)
Δεκέμβριος 2009 (3)
Νοέμβριος 2009 (8)
Οκτώβριος 2009 (11)
Σεπτέμβριος 2009 (8)
Αύγουστος 2009 (8)
Ιούλιος 2009 (10)
Ιούνιος 2009 (21)
Συνδρομές
RSS 2.0
Atom 0.3