Will php,html also, want to write a blog to practice practiced hand, but no development experience, do not know how to start, is not to use open source framework what, small white really ask the big God answer
Reply content:
Will php,html also, want to write a blog to practice practiced hand, but no development experience, do not know how to start, is not to use open source framework what, small white really ask the big God answer
I have not written PHP, but is currently writing (Chao) node, the current basic functions have been implemented, presumably the idea is this
1. Login log out (using cookies to judge)
2. Article published, according to different user storage, published time to join the time
3. According to the time, according to the author classification show
4. Implement the editing function after the post publication, delete the function
5. Implement Comment function
6. Add tags, the article Classification module (simple is for example, to three input tags, filled with is filled, not filled is empty)
7. Find an article to edit the open source framework (such as Markdown or Ueditor and other rich text, of course, the message can also be added)
8. Basically finished, the other is the amount of reading or something
9. Landscaping
Caught dead give you a link I'm writing with node
The framework has been used thinkphp, you can look at the document, can not understand the words could be on Lamp兄弟连
the thinkphp of the tutorial, Master crud Basic can start the construction of the ~
Feel that you should have no development experience, according to their own to say, and then look at Typcho what, refactoring = = Hard words can be completed soon
Please attach git address: https://github.com/sheilaCat/miniBlog
Built a simple, independent blog with Php+mysql.
Star I ~star me ~ ~
I used to have the same puzzle with the Lord, watching others use WordPress to build a blog, but I do not, or want to use PHP to build one.
Blog Home
Comment area in the article
[All the others are gone, still quite complete a simple blog]
This can only be used as an exercise, but I think if I design well, it can be used as a long-term independent blog.
There seems to be nothing to say, the main words, is to do before you have to understand what to do, such as:
1) Home Page page display article thumbnail
2) Archive the list of displayed articles and the time of publication
3) Article full text and comment area
4) Introduction to Yourself
In addition to layout settings, the next is the page design, this is also very important.
With a rough outline, you can start designing the database. Nothing complicated, mainly is to determine what the article needs to store what, publish time, comments, views, etc.
In addition, you can engage in RSS, continue to optimize the interface to do some cool effect.
The most important thing in the process is to record the learning process.
In addition, it is not recommended that you directly git clone my project, you can follow my thoughts to write my own steps.
I wrote when it took half a month, the day class evening time to write, but also to remove the days of lazy cancer attack ...
Finally, after writing this exercise, go to the PHP bar, this study of PHP is no use. If you are html/css, you can get a wave. Over.
Attach the idea I wrote:
1, the first design
2. Build a static page
3, add the function, the most basic is the comment (message board), and then some pagination and so on
Please accept ~
You can take a look at the code of the Open source blog, see how others write, what the structure is, what it takes.
Blogging can be used wordpress
, small white will also be used. You can write a Wordpress
theme for yourself.
The individual wrote two based on PHP: I94web long AI Net
HabariSerendipityExpressionEngineb2evolutionNucleus CMS