Hamy, If your last post had to do with CANPRO's comment about "end supports are design assumptions", you appear to not understand the statement. In design, we establish some structural system that is composed of members and their connections. Once we do that, we apply the design loads and perform an analysis. If we analyze the purlins as pinned (an assumption), then we must design a pinned connection in the final product. If we analyze as pinned and provide a fixed connection, our analysis is incorrect when compared to the final product.
Also, designing all these assumed connections may be harder than designing the structural components in your computer model. You will find that making a truly pinned or truly fixed connection is almost impossible. You can get close, but not exact.