how to get started in writing this Orchard module
Asked Answered
A

1

12

I'm a newbie in Orchard development, and I'm now about to write my first module for it. my requirements will contain a multi-page path in order for the user to complete the order.

1- search for your desired number

2- search results (pick your number).

3- enter your info

4- thank you (log this order)

I don't want someone to do my work, but I need to know where to start, and how to manage my assets, and the most important, is how will I be able to manage the user interaction wit my form.

many many thanks, hope to hear from you.

Update: This has not been finalized yet, as all of the resources I've checked couldn't answer my question. what I need to achieve here is something like a wizard. some steps depending on user inputs. but all the samples was a one-page module with administration page or something. please help.

Arturoartus answered 4/8, 2012 at 14:11 Comment(5)
@DarinDimitrov: well, I've started by watching some videos but I don't know how structure my module well enough for Orchard, also I don't know how to handle responses from my form and display the appropriate step, as well as saving this step into the data store.Arturoartus
see this skywalkersoftwaredevelopment.net/blog/…Courteous
@MohammedElSayed Have you tried looking at some other modules to see how they work? How about looking at some of Orchard's core modules? There are an abundance of third party modules available from the Orchard gallery, and a few that do ecommerce.Sawhorse
@mdm: thanks for the comment, I've installed the source code and took a look on some of the built-in modules, but I've found many parts that need to be there in order for the modules to work (driver, migration, handler, etc) so I've asked this question so I may find someone who has the experience to let me know where and how to start, and the basic building steps that I should follow in order to complete the requirements.Arturoartus
Ok, well you are on the right track. I suggest the next thing you need to do is thoroughly read the tutorial that Andres linked to above (it's a fantastic tutorial and the writer is actually speaking at next month's Orchard conference, so he knows what he is talking about ;) That should help clarify a lot of the questions you have about what components you need to develop - and I'm sure it will help that it is also oriented at an ecommerce solution. If you work through this and still have questions, you will be better placed to ask targeted questions and get better answers. Good luck!Sawhorse
C
5

The best explanation for building a module that I have seen is on www.Pluralsight.com. The content is not free but depending on your situation it may be worth the cost.

Advanced Orchard by Kevin Kuebler

Orchard Fundamentals by Kevin Kuebler

Chanda answered 7/8, 2012 at 12:33 Comment(1)
I have watched those videos and they are a little out of date with the latest version of Orchard, but as a starting point they are excellent. If you are a half decent developer these videos will definitely send you along your way nicely for the cost of a book or two; plus videos on other topics which are actually fantastic.Smoothie

© 2022 - 2024 — McMap. All rights reserved.