Jump to content

Recommended Posts

Hi guys,

I'm currently creating my first Yii app, and I'm really enjoying it so far. The app will be used to allow users to log their weightlifting workouts and to monitor their strength over time. Part of the app is to allow users to create their own workout routines, so for example a final workout routine might consist of:

 

Legs Routine A

 

Squat

 

Set 1

Target reps: 12

 

Set 2

Target reps: 10

 

Set 3

Target reps: 8

 

Deadlift

 

Set 1

Target reps: 10

 

Set 2

Target reps: 8

 

Set 3

Target reps: 6

 

Seated Calf Raises

 

Set 1

Target reps: 15

 

Set 2

Target reps: 12

 

I know how to display and use these workout routines, but I can't seem to figure out how I can go about building the feature to create them. Ideally I'd like a 'create' page where both the exercises and their sets become repeatable fields, so you can define a certain amount of each. I have attached my database schema (the routine tables are the main ones concerned) and a wireframe design for my desired create routine page to help give you guys an idea on what I'm trying to do. I would really appreciate it if someone could point me in the right direction with this.

 

Many thanks,

Aaron

post-20377-13482403345784_thumb.png

post-20377-13482403346385_thumb.png

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.