Αύγουστος 2009 - Δημοσιεύσεις

Firefox is DevExpress friendly
26 Αυγούστου 09 12:56 μμ | tolisss | 0 σχόλια   
Did you now that there is a DevExpress search engine provider for FireFox? http://mycroft.mozdev.org/search-engines.html?name=devexpress Just install that beauty and every time you want to search something by using this excellent post Master the Firefox search engine bar with keyboard shortcuts use your keyboard press some keys and you are searching DevExpress Technorati Tags: FireFox , DevExpress

Διαβάστε περισσότερα »

Δημοσίευση στην κατηγορία: ,
ModelArtifact AdditionalViewControlsProvider And MasterDetail videos republished
25 Αυγούστου 09 02:23 μμ | tolisss | 0 σχόλια   
Since I got many complaints about the low resolution of my videos I am on a search for a better video hosting service than YouTube. Robert suggested to use Silverlight service at Blogger Video embedding resolved but this one looks the same as YouToube. After spending some more time on researching on this I came across http://blip.tv/ excellent hosting service To get an idea how good they are I suggest you read their FAQs They accept almost all kinds of  Videos They are free They do not change the video after uploading The customization of the video playback controls is unlimited . You can configure almost anything on their well design interface I am going to use that excellent service to republish my videos So if you want to see those videos again in good

Διαβάστε περισσότερα »

Δημοσίευση στην κατηγορία: , , , , , ,
Blogger Video embedding resolved
25 Αυγούστου 09 02:04 πμ | tolisss | 0 σχόλια   
I recently most ModelArtifactState and with the congratulations for it I got many complains about the video quality. This is because I host my videos to YouTube which has many drawbacks The actual resolution of YouTube videos is limited to 320 x 240 pixels. The video suffers from strong compression (limited to 250 kbps). The YouTube watermark may overlap your video. The customization of the video playback controls is limited. But where to host my files? Little more googling and I came to Google sites that offer 100Mb / per site and 11mb per file limits. I think that is enough After talking to a flash guru like Kostas Efimeros I got the info I need. I should convert my videos to FLV format using for example SUPER which is a free FLV video encoder and use JW FLV

Διαβάστε περισσότερα »

Δημοσίευση στην κατηγορία: ,
Xaf tip # 4
21 Αυγούστου 09 02:18 μμ | tolisss | 0 σχόλια   
This is my 4th post on my Xaf tips series Runtime Member creation on TypesInfo and XPDictionary When you are developing modules and need to generate runtime member you should be carefull which method you choose because the following is valid always Assert.IsNull(XafTypesInfo.Instance.FindTypeInfo( typeof (Country)).CreateMember( "TestMember" , typeof ( string ))); and this one not Assert.IsNull(XafTypesInfo.XpoTypeInfoSource.XPDictionary.GetClassInfo( typeof (Country)).CreateMember( "TestMember" , typeof ( string ))); So to test my sayings create a new Xaf Application add a controller and call public   override   void CustomizeTypesInfo(ITypesInfo typesInfo){     base .CustomizeTypesInfo(typesInfo);    

Διαβάστε περισσότερα »

Δημοσίευση στην κατηγορία: , ,
Bend Xaf Applications with Model Artifact State Module
17 Αυγούστου 09 11:07 πμ | tolisss | 0 σχόλια   
How many times have you said “What a great pattern MVP is!!!” Look for example how is implement the hint engine of main Xaf demo. I will try to explain that implementation. Controllers There is a windowcontroller called AdditionalInfoController and from it 2 controllers derive WebShowAdditionalInfoController and WinShowAdditionalInfoController. What they do? they enable inserting any kind of control as the first control of a view. They are the engine, they implement a behaviour and they also serve as the Observer design pattern Observer pattern: Define a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and updated automatically. I am going to refactor the code from the main demo and create 3 new modules

Διαβάστε περισσότερα »

Δημοσίευση στην κατηγορία: , , , ,
Implementing Master-Detail with No Code
13 Αυγούστου 09 11:31 μμ | tolisss | 0 σχόλια   
  eXpand already has this scenario enabled for windows forms applications. What you have to do is set 2 attributes and you are done!!! You have force your grid to display a child grid view eXpand is hosted at http://code.google.com/p/expandframework/ Technorati Tags: expand , DevExpress , Xaf

Διαβάστε περισσότερα »

Δημοσίευση στην κατηγορία: , ,
Favor composition over inheritance
09 Αυγούστου 09 05:15 μμ | tolisss | 0 σχόλια   
There is a software design principle that states “ Favor composition over inheritance ” Inheritance is a cool way to change behavior. But we know that it's brittle, because the subclass can easily make assumptions about the context in which a method it overrides is getting called. There's a tight coupling between the base class and the subclass, because of the implicit context in which the subclass code I plug in will be called. Composition has a nicer property. The coupling is reduced by just having some smaller things you plug into something bigger, and the bigger object just calls the smaller object back. From an API point of view defining that a method can be overridden is a stronger commitment than defining that a method can be called. That Principe my friends

Διαβάστε περισσότερα »

Δημοσίευση στην κατηγορία: , , ,
Xaf tip #2
02 Αυγούστου 09 11:09 πμ | tolisss | 0 σχόλια   
Just come back from my short holidays this year and I am feeling very relaxed. So I though I should continue my Xaf tips series as I encounter them in my every day work. Be carefull of DevExpress.ExpressApp.DC.TypesInfo.FindTypeInfo method I am only going to say that each time you call the above method if the typeInfo that you expect to get back is not redistered on the system, a new one is going to be created and returned to you. so typesInfo.FindTypeInfo(typeof(Person))!=typesInfo.PersistentTypes.Where(info => info.Type==typeof(Person)).SingleOrDefault() and for you to imagine any kind of conflict you like take into account that a new table named Person is going to be created at your db with the following line if (typesInfo.FindTypeInfo(typeof(Person))!=null)

Διαβάστε περισσότερα »

Δημοσίευση στην κατηγορία: , ,

Search

Go

Το Ιστολόγιο

Ιστορικό Δημοσιεύσεων

Συνδρομές