How to: create a Products DB, search and gallery for each product?
I am new on Umbraco but I am an experienced senior developer in ASP.NET Web Forms and MVC (C#).I would like to have some guide lines on how to implement my requirements (and if it is possible to do it) with Umbraco.I have a quite simple DB with some products that can be searched through categories (DB Indexes), each product must have a gallery of images and / or videos.As usual there must be "paged" search result page with all the products but must be possible to choice a category to show only products of that kind (always paged).It is possible to do it with Umbraco?Do I have to use add-ons?Do I have to use an e-commerce add-on (though without using the shopping chart)?Can I programming that functionality and where I can find guidelines to do it?Many thanksandrea
The first thing I would do is familiarise yourself with Umbraco and how you create standard pages with it - see http://umbraco.com/help-and-support/video-tutorials.aspx. In particular, understand Document Types which define the fields the type of page can store. Once you do this you will realise that it probably makes more sense to recreate your products database as Umbraco node (pages) rather than try and integrate it. Umbraco is a content-management system and products are just a type of content.
However, if you really must keep your existing database, then you can either create a standard UserControl and add this as a Macro (in WebForms Umbraco) or use C# and Razor in MVC to render out your data as you would in a standard MVC site.
Hi, thank you very much for your reply. I am studying Umbraco, I already know all the fundamentals of it.
I would like to understand the best practices.
I have to create a completely new products DB but I need searching functionalities (paging the result) and a gallery of images and / or videos for each product. Is not a big catalogue so performance is not a problem, what is the best way to proceed?
More in general if I would build more complex data with relations wich would be the best way? Anyway another big requirements is to give to the user a simple way to manage its products: products must be added, deleted and updated by the end user.
I would define a Document Type in Umbraco that has all the properties for your product - name, description, price, images etc. Then I would create each product as a page using a similar structure to below. (You can use the multi-node tree picker to associate multiple images and/or videos stored in the Media Libary with each product).
-Home
-- Products
--- Product One
--- Product Two
You can then use the API to get a list of products, iterate over them and pull in the images. I find the easiest way is using the Razor scripting language and C#.
You can use Examine to peform powerful searches, too.
How to: create a Products DB, search and gallery for each product?
I am new on Umbraco but I am an experienced senior developer in ASP.NET Web Forms and MVC (C#).I would like to have some guide lines on how to implement my requirements (and if it is possible to do it) with Umbraco.I have a quite simple DB with some products that can be searched through categories (DB Indexes), each product must have a gallery of images and / or videos.As usual there must be "paged" search result page with all the products but must be possible to choice a category to show only products of that kind (always paged).It is possible to do it with Umbraco?Do I have to use add-ons?Do I have to use an e-commerce add-on (though without using the shopping chart)?Can I programming that functionality and where I can find guidelines to do it?Many thanksandrea
The first thing I would do is familiarise yourself with Umbraco and how you create standard pages with it - see http://umbraco.com/help-and-support/video-tutorials.aspx. In particular, understand Document Types which define the fields the type of page can store. Once you do this you will realise that it probably makes more sense to recreate your products database as Umbraco node (pages) rather than try and integrate it. Umbraco is a content-management system and products are just a type of content.
However, if you really must keep your existing database, then you can either create a standard UserControl and add this as a Macro (in WebForms Umbraco) or use C# and Razor in MVC to render out your data as you would in a standard MVC site.
Hi,
I would like to understand the best practices.thank you very much for your reply.
I am studying Umbraco, I already know all the fundamentals of it.
I have to create a completely new products DB but I need searching functionalities (paging the result) and a gallery of images and / or videos for each product.
More in general if I would build more complex data with relations wich would be the best way? Anyway another big requirements is to give to the user a simple way to manage its products: products must be added, deleted and updated by the end user.Is not a big catalogue so performance is not a problem, what is the best way to proceed?
I would define a Document Type in Umbraco that has all the properties for your product - name, description, price, images etc. Then I would create each product as a page using a similar structure to below. (You can use the multi-node tree picker to associate multiple images and/or videos stored in the Media Libary with each product).
-Home
-- Products
--- Product One
--- Product Two
You can then use the API to get a list of products, iterate over them and pull in the images. I find the easiest way is using the Razor scripting language and C#.
You can use Examine to peform powerful searches, too.
Thank you very much!
I am going to proceed (and study) in the direction you indicated.
Very kind of you.
andrea
is working on a reply...