Forum for discussing general topics related to Couch.
2 posts Page 1 of 1
I'm currently building a member's-only event website. Currently we're running on Wordpress with an add-on called Event Espresso, and it's work pretty well, but there are certain restrictions and I'm not particularly a fan of Wordpress.

I know CouchCMS quite well, but I'm not sure if everything that I am after is possible:

- Members can register/book a certain number of tickets for an event
- Number of tickets is limited, both on a per user (i.e. Max two tickets per user) and per event (i.e. Max 50 tickets per event)
- Members can change the number of tickets they have booked (i.e. from one ticket to three)
- Members can delete their booking
- We can store details of how many (and which) events each member has attended.

I'm guessing this may be possible with the latest membership features, databound forms, and template relationships.

Any advice is much appreciated! :)
Hello manny :)

For sure DBF, relations, extended-users and the enhanced cms:pages tag do make it possible now to implement the kind of functionality you mentioned.

In fact, of late, I have been witnessing people trying such things out by themselves.

Problem is that for handling such applications, we need to structure our project in a much more planned manner than what simple sites require (i.e. what Couch has been used so far).

Two reasons for that -
1. For your own sanity. Any application created without applying any structure to the code will become unmaintainable/not-understandable very soon.

2. Security. Couch has all the security measures available but they'll need to be applied at proper places (e.g. implementing 'delete' without a security token opens up the app to CSRF).

I've been mulling upon creating a detailed tutorial where we implement such an application from scratch using best practices for structure and security.

I think we'll have a tutorial published soon.

For now, I'd suggest you stick with the WP plugin as duplicating the same using Couch would be a non-trivial task without any documentation to use as a guide.

Thanks.
2 posts Page 1 of 1
cron