Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comment Module and Provider #2

Closed
bordoni opened this issue Apr 25, 2014 · 0 comments
Closed

Comment Module and Provider #2

bordoni opened this issue Apr 25, 2014 · 0 comments

Comments

@bordoni
Copy link
Owner

bordoni commented Apr 25, 2014

Following the pattern created on the Post Provider, the request here is to create a provider for Faker and a module for FakerPress.

Idea on Providers is a Class to create more methods for the Faker class.

The idea for a Module is a Class that will allow you to take the methods from Faker save it to a instance at your Module class statically them save those faked variables to the DataBase.

Follow the ideas on the Post Module and Post Provider to do both.


For the comments Module you should take a look at wp_insert_comment function of WordPress.

Remember that on the comments module you should look for posts that exists before creating the Comments.

@bordoni bordoni added this to the v0.1.0 milestone Apr 25, 2014
@bordoni bordoni changed the title Comments Module and Provider Comment Module and Provider Apr 25, 2014
@bordoni bordoni closed this as completed in 4669460 Jun 7, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants