jBlogMvc : part 2 Editing, Deleting, Paging Posts and Rss feeds

by Amr Elsehemy 5. October 2008

NOTE: In this series I build a blogengine using ASP.NET MVC and jQuery from scratch in order to learn more about these new technologies. If you haven't read the first post in this series, I would encourage you do to that first, or check out the jBlogMvc category. You can also always subscribe to the feeds.

What about new features this part will cover :

  1. Configuration is saved in the database.
  2. Managing Posts (Editing, Deleting).
  3. Posts are now paged.
  4. Some jquery magic is used.

So, lets have a tour in the project one more time. More...

Currently rated 5.0 by 3 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , ,

jBlogMvc

jBlogMvc : part 1 Building the Administration Area

by Amr Elsehemy 25. September 2008

NOTE: In this series I build a blogengine using ASP.NET MVC and jQuery from scratch in order to learn more about these new technologies. If you haven't read the first post in this series, I would encourage you do to that first, or check out the jBlogMvc category. You can also always subscribe to the feeds.

In this part of the series, I build the administration area of the blog engine I am building using the ASP.NET MVC and jQuery, in this part I will cover more basic features used in any blog engine, so lets get started.

What will part 1 cover ?

Basically it will cover how to build an administration area, I chose the wordpress blog engine and tried to clone its structure and some look and feel of it, the operations I will implement in this part will be :

  • Visitor
    • Login -- I will just reuse the code available with the default project template for membership stuff.
  • Admin
    • Logout
    • Add Post

The stuff I collected and used all over the net from blogs and used in this part can be summarized in the following,

  1. Using membership for validation
  2. Using the Authorize attribute
  3. Using Model Binders
  4. jQuery Client validation
  5. Small validation framework for business rules and server side validation.(originally written by scott gu)
  6. Using nested master pages in ASP.NET MVC
  7. Applying the "Post/Redirect/Get" (aka PRG) pattern.
  8. Applying some css to make it look nice (based on wordpress blogengine admin layout) More...

Currently rated 5.0 by 2 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , ,

jBlogMvc

Introducing jBlogMvc

by Amr Elsehemy 21. September 2008
ok

Long time no posts, well I was studying Sharepoint 2007 technologies and actually started a series for development a while ago I just managed to write two  introductory posts and didn't write more I have some ideas I'd love to share in sharepoint development which I hope to write about them some time in the future and complete the series. However, recently the new ASP.NET MVC framework has gathered some fame and actually I too got attached to it and I am keen to learn new technologies and so, also the jQuery javascript library has been the choice of most the .NET web developers community.

Its Time to Learn

So, I have read alot of blogs and articles on ASP.NET MVC which has a massive amount of resources (while not being beta yet), I also read the excellent book "jQuery in Action" and learned a lot from it I do recommend it for learning jquery. Now its time to utilize this learning in a simple application that experience the stuff I read about, then I stumbled across this article Want To Learn Web Programming? Write A Blog Engine so be it, I will build a (Simple-Fully featured) blog engine in order to learn more and use these two new kids on the block.

Of course, I will use ASP.NET MVC, jquery and finally I will use Sql Express as the datastore and Linq to Sql for dal.More...

Currently rated 4.5 by 2 people

  • Currently 4.5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , ,

jBlogMvc

SP Dev part 2 : Understanding Sharepoint Custom Pages

by Amr Elsehemy 8. August 2008

NOTE: If you haven't read the first post in this series, I would encourage you do to that first, or check out the Sharepoint category. You can also always subscribe to the feeds.

The Sharepoint 2007 System introduces two types of pages the first type usually called Application Pages and other type called Site Pages.

As a sharepoint developer you should know both of these types of pages and when to use them, so let me define them here briefly and show some differences between them to help you decide which type of pages you will want to use when developing in sharepoint.

Application Pages

Application Pages are non customizable and are found in  the C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS, its worthy to note that this physical directory is mapped to the virtual _layouts directory whenever WSS/MOSS creates a new Web application in the IIS. By using this mapping scheme along with some additional processing logic, the WSS/MOSS runtime can make each application page accessible within the context of any site in the farm.

When building custom application pages you should use the Microsoft.Sharepoint.LayoutsPageBase as a base class and should be content pages that reference to the ~/_layouts/application.master master page, Application Pages might include in line code or have a code behind file compiled in a dll, to deploy application pages they should be the LAYOUTS directory and all custom code dlls either in the GAC.More...

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: ,

Sharepoint

SP Dev part 1 : Sharepoint 2007 Development model {Features}

by Amr Elsehemy 6. August 2008

Sharepoint A new feature in the Sharepoint 2007 is the "Feature" development style which means that every tiny and huge development task in the sharepoint is considered a "Feature".

Features can be activated or deactivated through a site administrator, which enables the very simple turn on/off of anything in the site.

Features are used for developing anything starting from a small button to a full site definition and tons of files and functions including webparts, workflows, lists, pages, content types, document libraries and others. I will try to include the development of all these topics in this series wish me luck and provide feedback. More...

Currently rated 4.0 by 2 people

  • Currently 4/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: ,

Sharepoint

Upgraded to BlogEngine 1.4.5

by Amr Elsehemy 31. July 2008

Finally working with fully featured BlogEngine on godaddy the BlogEngine v 1.4.5 has been released and I had the time to update my blog, and finally works as a charm with godaddy shared hosting.

Some features that didn't work with the 1.4 version was the whole new widget system, Profiles and anything that used the BinaryFormatter at the end, which needed a high or full trust while godaddy shared hosting only allows meduim trust.

In version 1.4.5 Mads and the team removed all the BinaryFormatters references and used normal xml serializers save the widget and extension settings.

For all blogengine users using shared hosting, go ahead v 1.4.5 works out of the box, and also check the new features released in the latest version.

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: ,

BlogEngine.NET

Beginning Sharepoint 2007 Development

by Amr Elsehemy 28. July 2008

I mentioned a long while ago that I will work on some sharepoint and workflow foundation in order to enlarge my development knowledge base, I learned some stuff on the way may be all sharepoint and workflows beginners already know them but I love to share them for others.

I will start another series for sharepoint development (for beginners as myself) so If anyone out there finds out a better approach for anything I write or correction welcome for commenting on the posts so all can benefit too.

This series will start with introductory posts that are needed to understand the architecture and object model of sharepoint, these introduction points are all over the web and blogs of sharepoint pros, I will write them again in my wa, then proceed with some basic development then advanced, I don't have an outline for the posts I am gonna write I have some ideas any reader is welcome to add in comments any topic related to sharepoint development wants me to write about, hoping this series be useful like my older one Design Time Support of Custom Controls, so wish me luck.

 

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

Sharepoint

Have been tagged

by Amr Elsehemy 13. July 2008

This blog has been idle for some while, I was very busy, out of mood, studying for my masters and reading new technologies (for me like workflow and sharepoint development and some WCF). I didn't know what time my blogging mood will be back, until my friend Moses insisted to get me back and tagged me in the how I got started in software development, that started a while ago by Michel Eaton. So here we go.

How old were you when you started programming?

10 years old (12 years ago).

How did you get started in programming?

My father used to make simple programs using C that showed dots and stuff I dont get till now Smile, he used to let me write for him some code. Few years more my sister joined computer science and had assignments to program C++ application thats when I really got involved and started to read.(16 years old)

What was your first language?

By that time it was C. 

What was the first real program you wrote? 

My very first own program I wrote was the famous star pyramid using C++, My first windows application and favourite is the MineSweeper, which is my helloworld application that I used for many languages, I used to have the following minesweeper versions (WinForms, WPF, Assembly, Silverlight, OpenGL, DirectX, javascript).

What languages have you used since you started programming?

C, C++, VisualBasic.Net, C#, Java, Assembly, Prolog, Javascript, HTML/XHTML, XAML and lot of other technologies related to development not considered programming language.

What was your first professional programming gig?

Was 4 years ago, I used C# for building winforms applications connecting to databases in my summer training that time.

If you knew then what you know now, would you have started programming? 

OfCourse. I code with passion, love blogging and exploring new technologies around the block. I could have never imagined myself anything other than what am I in now.

What is the one thing you would tell new developers?

Code for fun not for money. Have a life. Don't forget to lie to girls &  Buy your RayBan as Mads said I already got mineCool thank you Mads.

What's the most fun you've ever had ... programming?

Building my very first Minesweeper and talking about it to my very best friend that time.

Now what ..?

First, I'd like to thank my friend Moses for not only tagging me but for making me get back to the blogging mood, I hope to continue blogging regularly like old days.

Second, I'd like to pass this to my favourite bloggers, most of them already have been tagged, I recommend you reading them too, Dave, Matt, Mads, Moses, Joe and Keyvan. And now I tag Bashmohandes to write his story.

Anyone reading this and wants to write about his story just head straight to Michel's post and write him a comment.

Currently rated 5.0 by 3 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

My Site

Moving to Sharepoint and Workflow

by Amr Elsehemy 20. April 2008

My blog has been quiet for a long time now, I had a crowded month I didn't get the time to write anything but I am back to writing I hope so.

Last month I had some working tasks on new technologies (for me) , a new course to study for and of course all my PreMasters studies in my university.

So, I think my focus next blog post will be on the new stuff I learned about Sharepoint 2007 and workflow foundation hope I can write something useful.

By the way I have just passed the 70-631 Exam TS: Configuring Windows SharePoint Services 3.0. So I have a new MCTS in my transcript.

Currently rated 4.3 by 3 people

  • Currently 4.333333/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

Yet another BlogEngine.NET feature that I love

by Amr Elsehemy 25. March 2008

A while ago, Al Nyveldt wrote a post on 5 things he loves about BlogEngine.Net  and I totally agree with him on all the 5 and more coming in the future releases,  Mads Kristensen too wrote and made a video on a the widget framework on a nice feature coming up in the next version of blogengine.net.

BlogEngine.Net is built to take advantage of standards, one standard I loved that is implemented in BlogEngine is the OpenSearch 
standard.More...

Currently rated 5.0 by 3 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: ,

BlogEngine.NET

Powered by BlogEngine.NET 1.4.5.0
Theme by Mads Kristensen

About the author

Amr Elsehemy
MCSD C#.Net,
MCTS Sql 2005,
MCPD Enterprise
avatar
E-mail me Send mail

Sponsors


Calendar

<<  October 2008  >>
MoTuWeThFrSaSu
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789

View posts in large calendar