Skip to content

Initial Development - Core Blog Class #1

@johnstray

Description

@johnstray

This issue is specifically for tracking the progress of the initial development of the core blog class. The following functions need to be written:

  • Class Constructor
  • Settings Management
    • getAllSettings - Get array of all settings
    • getSetting - Get value of single setting
    • saveSettings - Save settings to file
    • restoreSettings - Restore settings from backup
    • resetSettings - Reset settings to default
  • Post Management
    • getAllPosts - Get array of all posts
    • getRecentPosts - Get array of most recent posts by date
    • getPost - Get array of data for a post
    • savePost - Save a post to file
    • deletePost - Delete a post file
    • restorePost - Restore a post from backup
  • Categories
    • getAllCategories - Get array of all categories
    • getCategory - Get array of posts in category
    • saveCategory - Save category to file
    • deleteCategory - Delete category from file
    • restoreCategories - Restore categories from backup
  • Archives
    • getAllArchives - Get an array of all archives by basis
    • getArchive - Get array of posts in archive
  • Tags
    • getAllTags - Get an array of all tags
    • getTag - Get an array of posts with tag
  • Utilities
    • generateSlug - Generates a slug for a post
    • generateExcerpt - Generates an excerpt from post content
    • generateUrl - Generates a url to a section of the blog
    • searchPosts - Get array of posts filtered by type and keyword
    • validateSetting - Validates the user input for a setting
  • Caching
    • cachePut - Adds an item to the cache
    • cacheGet - Gets an item from the cache
    • rebuildCache - Rebuilds the cached content with data from post

Metadata

Metadata

Assignees

Labels

developmentLabel used to identify issues related to tracking development

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions