大神请进
我是一名VC++的程序员 我同时也是一名美工 因为我以前专注软件界面开发
对于C++前台程序和服务端有很好的熟练程度
我现在左思右想终于辞掉工作下定决心,转到web开发上来做B/S
不知道是不是一个错误的选择 我在C/S开发上可以说算是精通
说这个并不是想炫耀自己 我只是想知道 以这个样子的我
在没有收入的情况下 要学多久可以独立开发应用类网站
我要学的有php ajax html css 其余的在C/S开发中已经很好掌握
说明一点 就是各位大神 自己高仿一个类似人人网 美丽说 开心网 威客平台 这类的网站
照葫芦画瓢 需要多久你才能做完 独立做完!
再次卑躬屈膝请各位高人给指条明路 让我下个狠心。
需要一点动力 忘理解心情 请认真回答
------解决方案--------------------
大神 能不要来抢我们的饭碗吗?
话说 c++ cs精通的话你不应该走这条路.
如果你非要走 按照你现在的经验 我猜2-3个月就能上手开工了,不过你上面举例的网站可区别很大的....
我不希望你下这个狠心.如果你非要 你去抢java的饭碗吧。那个更适合你 哈哈哈
------解决方案--------------------
Web是个无底洞,我要是你就拿着C/C++的铁饭碗不放了..
------解决方案--------------------
仅国内就有上百万个网站,你觉得自己有什么独特的想法吗?
------解决方案--------------------
相对来说,关于PHP学习资料、问题解答确实是遍地开花,虽说现在PHP已经过了鼎盛的时期,但也是日趋成熟,PHP现在是胜在应用的人多,而且也很容易上手,现阶段学习PHP也是个好时候,LZ有过开发的经验,相信也学习也更加容易...支持楼主了...
------解决方案--------------------
不知楼主你咋想的。实在要转你也应该去转object-c。
很多做c++的人认为web开发很容易,源于脚本语言的语法简单,并且不需要考虑内存管理,也不需要了解操作系统。其实真的想进入web开发领域,可不仅仅是php/java/.net ajax html css这些。需要掌握很多很多东西才能成为一名合格的开发人员。
你提到了开心网,人人网这些。这只是表象。一个干3、5年的php程序员,要想实现其功能都是完全可以的。但他的难点在于对大数据量和高并发的处理。这就需要从代码的性能优劣,到服务器的架构部署,负载均衡的合理应用。从前年开始流行起来的nosql,就是为解决这些问题而生。我们也时时刻刻都在不停的学习。
可能唯一的优势就是对于这些脚本语言的学习会容易一些。但很多技术和理念,对于你来说完全是从零开始。所以我认为你这个转型成本很大。不太现实。
------解决方案--------------------
想转到B/S就学java吧,B/S虽然不需要了解那么多的API但是要考虑的是服务器的承受力,大数据量交互的状况下如何让网站流畅访问,还有就是高并发等状况
而且有一点你需要考虑清楚,那就是B/S和C/S很大的一点不同在于,B/S要不断的学新东西,而且更新换代很快.c++这几年下来编码不算大,相对来说需要学的不是那么多.
希望能和你聊一下,可以加我QQ9256114
------解决方案--------------------
单纯php其实也赚不了多少大钱,你选这个选错了
除非做一些针对单一客户的项目,这个某程度上不算web了
但选web倒不能说你选错了,web很广泛,发挥的空间大
我这样粗略跟你说
php做量,特点就是快,写的时候要时刻记住不要舍弃这点,总之就是要为服务器省资源
java做架构,目前来说,从国内到国际,几乎没有涉及银行/金融的网站不用java的
.net做应用,基于M$一家独大的原因,越是网上办公,.net的预制件越多
C家做核心,语言掩盖之下还能用C做服务器应用,提供接口给其他语言用
上面这些估计你都知道,即使不知道也能猜到
php两大缺点:
1.php的函数命名混乱,至今都是被取消的对象
2.php不支持unicode文件名,至今都是被诟病的对象――虽然php6号称全面支持unicode,但目前处于半舍弃停止开发状态,已经启动php7项目了
最后,知足常乐,不满足不是错,多懂一些绝对是好事,但从此放弃C的话,这边无论谁都会觉得你2B的

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 has shaped the network over the past few decades and will continue to play an important role in web development. 1) PHP originated in 1994 and has become the first choice for developers due to its ease of use and seamless integration with MySQL. 2) Its core functions include generating dynamic content and integrating with the database, allowing the website to be updated in real time and displayed in personalized manner. 3) The wide application and ecosystem of PHP have driven its long-term impact, but it also faces version updates and security challenges. 4) Performance improvements in recent years, such as the release of PHP7, enable it to compete with modern languages. 5) In the future, PHP needs to deal with new challenges such as containerization and microservices, but its flexibility and active community make it adaptable.

The core benefits of PHP include ease of learning, strong web development support, rich libraries and frameworks, high performance and scalability, cross-platform compatibility, and cost-effectiveness. 1) Easy to learn and use, suitable for beginners; 2) Good integration with web servers and supports multiple databases; 3) Have powerful frameworks such as Laravel; 4) High performance can be achieved through optimization; 5) Support multiple operating systems; 6) Open source to reduce development costs.

PHP is not dead. 1) The PHP community actively solves performance and security issues, and PHP7.x improves performance. 2) PHP is suitable for modern web development and is widely used in large websites. 3) PHP is easy to learn and the server performs well, but the type system is not as strict as static languages. 4) PHP is still important in the fields of content management and e-commerce, and the ecosystem continues to evolve. 5) Optimize performance through OPcache and APC, and use OOP and design patterns to improve code quality.

PHP and Python have their own advantages and disadvantages, and the choice depends on the project requirements. 1) PHP is suitable for web development, easy to learn, rich community resources, but the syntax is not modern enough, and performance and security need to be paid attention to. 2) Python is suitable for data science and machine learning, with concise syntax and easy to learn, but there are bottlenecks in execution speed and memory management.

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.

Using preprocessing statements and PDO in PHP can effectively prevent SQL injection attacks. 1) Use PDO to connect to the database and set the error mode. 2) Create preprocessing statements through the prepare method and pass data using placeholders and execute methods. 3) Process query results and ensure the security and performance of the code.


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

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

Dreamweaver Mac version
Visual web development tools

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

SublimeText3 Chinese version
Chinese version, very easy to use

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool