🇵🇸 Call for a #CeasefireNOW 🇵🇸

Act Now

Introduction to NHibernate Session at Jordev Was Good

The feedback was very good, and I was glad that everybody liked it. Jordev is really moving ahead, and I am very excited being part of it 🙂 Below is the slide show (it’s an enhanced version from my previous one): Introduction To NHibernate (SlideShare) Code is the same of the previous one which you can download from here

December 5, 2008 · Emad Alashi

My First Talk at JorDev .net

JorDev .net is a .NET user group founded by enthusiastic Jordanian IT professionals. On Wednesday, November 26, I will be doing my first session in a series about NHibernate. Talk Details Overview: NHibernate is an object-relational mapping (ORM) solution for the Microsoft .NET platform. It provides an easy-to-use framework for mapping an object-oriented domain model to a traditional relational database. Its purpose is to relieve the developer from a significant amount of relational data persistence-related programming tasks. NHibernate is free open source software distributed under the GNU Lesser General Public License. Target audience: .NET developers, software designers, software engineers, and software architects. Date: Wednesday, November 26, 2008. Location: MIC (Microsoft Innovation Center, Royal Scientific Society Building, 3rd Floor). Time: 6:30 pm to 8:30 pm (Amman, Jordan local time). For more info: Mohamed Saleh: 0788716457 Ayman Farouk: 0795727344 Reminders Live Calendar Facebook event Outlook Calendar Google Calendar

November 21, 2008 · Emad Alashi

Data Access Within Business Objects -Bunian Design-

In a previous post I showed the general architecture of Bunian. I’d like, in this post, to touch on the Data Access part and how it interacts with the Business Objects. In traditional architectures there are 3 known layers: Data Access, Business, and Presentation. DTO’s (Data Transfer Objects) are used to carry the data back and forth between the layers. Look to the following diagram: Bunian contributors seemed to have the same experience developing against such architecture, so we have decided to go with something different; smart Business Objects with more toward OOP. ...

November 9, 2008 · Emad Alashi

The Story of a Winning Frog (a story we all know, and few comprehend)

If you don’t know it: Once upon a time there was a group of little frogs, who decided to go through a competition to climb a tower. The tower was high and difficult, and no one of the spectator frogs believed that any of the tiny frogs can make it to the top. Little frogs started climbing, while spectators yelling: – “oh my, it’s too high…I don’t think they can make it!” – “they are too young, how possibly can they reach the top?! that’s insane” . . Shouting and yelling continued, while the little frogs surrendering one by one, except for this one little frog who kept going and going, climbing up further and further more. Surprising everyone, that frog made it to the top and he won the race! well…the only reason for his success that…HE WAS DEAF, he simple couldn’t hear the negative shouting of the spectators! ...

October 28, 2008 · Emad Alashi

Bunian Basic Design

Well, it’s moving on, very slow, but it’s moving! If you have been following this blog, then I think you are familiar with Bunian, the open source project for charity organizations. During the last Bunian team meeting at the beginning of this week, the basic design emerged (still being discussed and subject to changes till the minute of this post); we have decided to skip the dummy DTO objects, and to try Business Objects (BO), where most of the business logic lays, rather than in a separate Business Service. ...

October 23, 2008 · Emad Alashi

Successful Meetings Is The Responsibility Of All

Through all the meetings I had in my life (the voluntary and the professional), all meetings shared key points that made it either successful and constructive, or a complete disaster and waste of time! These key points can be summarized into: Meeting is conducted to achieve certain target , a solution to a problem, Keep the focus on that goal Time is valuable, and the participants will be very annoyed when they see their effort and time is wasted on a subject different from the one they originally agreed to sacrifice their time for. if the meeting was anything except resolving the original subject, it is a failure. ...

October 14, 2008 · Emad Alashi

Changing Jobs

Yesterday was my last day in estarta, marking the end of nice period full of experience, knowledge, and amazing friends who have been like a family. And now it’s time to move on, as a Technical Team Leader in esense. The excitement increases as time goes by (since I haven’t started there yet), I have only one week of preparations to step back into this role (yes, I have been TTL before) in this new environment, can’t wait. ...

October 13, 2008 · Emad Alashi

في أي يوم العيد؟

في السنوات الأخيرة، كثر الحديث عن رؤية الهلال، و تحديد بدايات الأشهر القمرية، و لا سيما شهر رمضان و شوال لأهمتيهما. و احتار الناس بين البيانات الرسمية الصادرة عن المؤسسات الحكومية من جهة (نتيجة إدلاء شهود برؤية الهلال)، و المؤسسات الفلكية المتخصصة من جهة أخرى. الموضوع -على عقده- بسيط؛ فلتحديد بادية هذه الأشهر الحساسة تعتمد المؤسسات الحكومية على شهادة مواطنين شهدوا برؤية الهلال، و هذا أمر طيب. لكن المشكلة أن لخمسين عاما خلت من الآن، كانت معظم تلك الشهادات خاطئة و ليس لها أساس من الصحة (و ما زالت)! لم يكن بالإمكان -من خلال الوسائل المتاحة للمؤسسات المسؤولة حينئذ- أن تتأكد من صحتها. كان يكفي أن يكون مسلما عاقلا بالغا راشدا، و لا يزال الأمر كذلك. ...

October 5, 2008 · Emad Alashi

Free Collaboration Software

My previous employer Rapsyx decided lately to publish the light version of it’s prime product RapidOne as free software. RapidOne in short words: RapidOne Team provides a single application to handle communication, workplanning and resource sharing across the organization with a highly innovative storage concept organizing your data naturally With the ability to add a whole set of CRM components depending on the version you choose. Interesting? have a look at the free version here ...

October 4, 2008 · Emad Alashi

NHibernate possible bug in IQuery.List<T>()

recently, we had to clean the database from all the testing data, when an error similar to the following appeared: The value "" is not of type “System.Nullable`1[System.DateTime]” and cannot be used in this generic collection The code I executed was: IQuery query = DbManager.MySession.CreateQuery("select max(dateObject.EndDate) from DateDomain dateObject"); IList<DateTime?> list = query.List<DateTime?>(); When I debugged NHibernate code, I reached to the following AddAll() method in the ArrayHelper class: // NH-specific public static void AddAll(IList to, IList from) { foreach (object obj in from) { to.Add(obj); } } You can find the explanation of the error here. Which brings us to the interesting question: why the implementation of IList Add method doesn’t consider the “nullability” of the T object? and why the parameter is of type IList?! ...

September 21, 2008 · Emad Alashi