本人学习c语言半年有余,现在想学PHP,求经验解决方案
本人学习c语言半年有余,现在想学PHP,求经验
本人学习c语言半年有余,现在想学PHP,求经验,
一般多久可以学出,也就是能胜任一般的网页制作编程!
求经验!
------解决方案--------------------
有c基础,php本身不难
要花点时间在html/css/js上
------解决方案--------------------
有C语言基础,PHP想上手,大概就是一个星期的样子,首先用PHP写一个BBS,学点CSS+DIV+JS(或jquery) 就入门了。
------解决方案--------------------
应该一个月就可以啦 感觉和C没有多大的区别 很快就学会啦 大多数的语言是想通的 希望你能学的更好
------解决方案--------------------
把php 数组、字符串、MySQL 学学,就能开东西了,如果你有基础的话,两三天就能OK,
当然熟练还得一段时间
对http协议什么的也得有了解啊
------解决方案--------------------
真的就那么简单吗?
那些培训学校为什么没有关门呢?
学习c语言半年有余
我倒想问问:为什么要学 C 呢?
是为了通过计算机应用二级吧?拢共二三十的学时就能把 C 学好啦?入门都算不上
不是什么人都适合吃这碗饭的,想清楚了再说
------解决方案--------------------
php还是蛮难的 我的启迪教材是 哈尔冰工业出版社的某书 看了分页的例子 才恍然大悟,在工作中用php慢慢融会贯通
因此我的学习流程是 先基础学学 再找个公司
接着开发网站。
接着开发模板,接着制作框架,接着重构原网站代码,接着重构框架,接着重构js代码,
2010年的水平和2012年有很大差距
------解决方案--------------------
有c的基础就好办了。
学习php前,个人推荐是:hmtl -> css -> javascript -> mysql(也就是SQL语句) -> php。
html,css,javascript主要是用来做前台页面的,有人会问,既然我是学php,做的是后台程序,为什么要学前台制作呢?再说,大公司对于前台,后台,美工等不都有明确分工吗,还用的着我去写?是的,但是那是大公司,对于小公司来讲这些都是要一个人完成的。从页面设计,页面布局,美工,再到后台处理都是一个人或者几个人完成,没有明确的分工。所起必须前台,后台都会。在大公司里面,虽然有明确的分工,前台的这些东西虽然不要求你写,但是你必须看的懂。
mysql要掌握的就是sql语句,无非就是增、删、该、查,还有数据库优化等,这些比较简单,学起来也比较快,也是必须要掌握的知识。
至于ajax,jquery这些知识,当你的php学到一定程度的时候,可以考虑去学这些,因为在很多大型项目里面都要用到ajax,特别是聊天室。
你可以去看看这篇文章:http://www.phpnewer.com/index.php/Rmzy/detail/id/13
------解决方案--------------------
每天都有人来问这个问题。其实答案很简单,关键在于心,想学啥,只要学,就一定能学会。
这个和上学一样。鸟语好不好学,到最后你怎么学的,很显而易见,有的人学的好,有的人学的差。
学习是一辈子的事情,称之为经验的东西, 就是从无到有,从不会到会的积累过程。
至于怎么学,必然有技巧,其中的技巧也是学了之后才掌握的

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



PHP is used to build dynamic websites, and its core functions include: 1. Generate dynamic content and generate web pages in real time by connecting with the database; 2. Process user interaction and form submissions, verify inputs and respond to operations; 3. Manage sessions and user authentication to provide a personalized experience; 4. Optimize performance and follow best practices to improve website efficiency and security.

PHP uses MySQLi and PDO extensions to interact in database operations and server-side logic processing, and processes server-side logic through functions such as session management. 1) Use MySQLi or PDO to connect to the database and execute SQL queries. 2) Handle HTTP requests and user status through session management and other functions. 3) Use transactions to ensure the atomicity of database operations. 4) Prevent SQL injection, use exception handling and closing connections for debugging. 5) Optimize performance through indexing and cache, write highly readable code and perform error handling.

PHP is widely used in e-commerce, content management systems and API development. 1) E-commerce: used for shopping cart function and payment processing. 2) Content management system: used for dynamic content generation and user management. 3) API development: used for RESTful API development and API security. Through performance optimization and best practices, the efficiency and maintainability of PHP applications are improved.

PHP and Python have their own advantages and disadvantages, and the choice depends on project needs and personal preferences. 1.PHP is suitable for rapid development and maintenance of large-scale web applications. 2. Python dominates the field of data science and machine learning.

PHP is a server-side scripting language used for dynamic web development and server-side applications. 1.PHP is an interpreted language that does not require compilation and is suitable for rapid development. 2. PHP code is embedded in HTML, making it easy to develop web pages. 3. PHP processes server-side logic, generates HTML output, and supports user interaction and data processing. 4. PHP can interact with the database, process form submission, and execute server-side tasks.

PHP is suitable for web development and content management systems, and Python is suitable for data science, machine learning and automation scripts. 1.PHP performs well in building fast and scalable websites and applications and is commonly used in CMS such as WordPress. 2. Python has performed outstandingly in the fields of data science and machine learning, with rich libraries such as NumPy and TensorFlow.

PHP makes it easy to create interactive web content. 1) Dynamically generate content by embedding HTML and display it in real time based on user input or database data. 2) Process form submission and generate dynamic output to ensure that htmlspecialchars is used to prevent XSS. 3) Use MySQL to create a user registration system, and use password_hash and preprocessing statements to enhance security. Mastering these techniques will improve the efficiency of web development.

Installing MySQL on CentOS involves the following steps: Adding the appropriate MySQL yum source. Execute the yum install mysql-server command to install the MySQL server. Use the mysql_secure_installation command to make security settings, such as setting the root user password. Customize the MySQL configuration file as needed. Tune MySQL parameters and optimize databases for performance.
