search
HomeBackend DevelopmentPHP Tutorial请使用过PHP框架的过来说两句吧

看来搞PHP不学框架真是麻烦事。基本上我一面试人家就要以最短的时间内把网站弄好,不学框架不行了。


但在PHP框架里,那个运行效率相对较高。希望用过框架做产品的说下,估计外包行业的应该最了解了。


回复讨论(解决方案)

PHP的效率不在于你用了什么框架,而在于你本身代码的质量以及数据处理这块。
   对于企业来说,用一个规范来换取一丁点的性能牺牲还是值得的,PHP框架里面,首先国产的thinkphp要学好吧,学好一门后就不怕了,因为框架的基础思想都是一样的,再触类旁通的了解一下其它框架,比如CI、YII等,我说的是了解看,这样即使面试官问你一些小问题,你也能答上来。
   面试过了什么都好说,之后不是有适应期么,那个时候你再突击深入,工作中慢慢实践。。。

学习框架,网站开发和维护都比较方便,原生的php代码,你需要去搭建底层,不利于短期项目。

学习框架,网站开发和维护都比较方便,原生的php代码,你需要去搭建底层,不利于短期项目。



大公司的项目基本上都是原生的PHP,它们不用网上这些流行的框架的,除非这个产品是卖给别的公司的。但关键是大公司不那么好进。

建议学习thinkphp 中文文档比较全面。我们公司全部使用think框架

  比较流行的有thinkphp ci yii

建议学习thinkphp 中文文档比较全面。我们公司全部使用think框架


我们公司的用的是国外的KOHANA框架,每次找资料得去看官网,都是英文的。thinkphp国内框架不错的。


建议学习thinkphp 中文文档比较全面。我们公司全部使用think框架


我们公司的用的是国外的KOHANA框架,每次找资料得去看官网,都是英文的。thinkphp国内框架不错的。

thinkphp我一直不怎么敢用,因为似乎漏洞也不少。反正我知道网上泄漏的方维社会分享系统,漏洞超级多。而且thinkphp给我的感觉就是笨重。其它thinkphp框架的产品我还没有接触过。



建议学习thinkphp 中文文档比较全面。我们公司全部使用think框架


我们公司的用的是国外的KOHANA框架,每次找资料得去看官网,都是英文的。thinkphp国内框架不错的。

thinkphp我一直不怎么敢用,因为似乎漏洞也不少。反正我知道网上泄漏的方维社会分享系统,漏洞超级多。而且thinkphp给我的感觉就是笨重。其它thinkphp框架的产品我还没有接触过。
那你用KOHANA框架吧。。。一起学习。有不懂的可以问我。不过我认为每个框架都有优缺点。用之前好好选择吧,。

推荐thinkphp

国内的  tp 挺不错的。

目前正在使用thinkphp框架,感觉不错

小弟去年年底才开始找工作,之前学了thinkPHP,但是面试的单位都嫌tp太轻量级了,现在工作的单位都是用的zend framework.

小弟去年年底才开始找工作,之前学了thinkPHP,但是面试的单位都嫌tp太轻量级了,现在工作的单位都是用的zend framework.


这个公司的产品不杂地。可以测试一下压力。不是我吹。并发1000不知道这款zend framework能不能爬下。


小弟去年年底才开始找工作,之前学了thinkPHP,但是面试的单位都嫌tp太轻量级了,现在工作的单位都是用的zend framework.


这个公司的产品不杂地。可以测试一下压力。不是我吹。并发1000不知道这款zend framework能不能爬下。

一堆高水平的PHP专家编写的框架被你这一句扁到底了。。。


学习框架,网站开发和维护都比较方便,原生的php代码,你需要去搭建底层,不利于短期项目。



大公司的项目基本上都是原生的PHP,它们不用网上这些流行的框架的,除非这个产品是卖给别的公司的。但关键是大公司不那么好进。

大公司?一年有上千万给几十个技术人员开工资的大公司?那不自己开发,养那么多贵人干嘛。。

否则还是用现成的吧,不然也就是拿人家现成的拼合下,能比市面上主流的几个框架水平高多少?



小弟去年年底才开始找工作,之前学了thinkPHP,但是面试的单位都嫌tp太轻量级了,现在工作的单位都是用的zend framework.


这个公司的产品不杂地。可以测试一下压力。不是我吹。并发1000不知道这款zend framework能不能爬下。

一堆高水平的PHP专家编写的框架被你这一句扁到底了。。。

你并发一个页面试试看不就知道了。

准备试试CI。谢谢各位。

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
How to make PHP applications fasterHow to make PHP applications fasterMay 12, 2025 am 12:12 AM

TomakePHPapplicationsfaster,followthesesteps:1)UseOpcodeCachinglikeOPcachetostoreprecompiledscriptbytecode.2)MinimizeDatabaseQueriesbyusingquerycachingandefficientindexing.3)LeveragePHP7 Featuresforbettercodeefficiency.4)ImplementCachingStrategiessuc

PHP Performance Optimization Checklist: Improve Speed NowPHP Performance Optimization Checklist: Improve Speed NowMay 12, 2025 am 12:07 AM

ToimprovePHPapplicationspeed,followthesesteps:1)EnableopcodecachingwithAPCutoreducescriptexecutiontime.2)ImplementdatabasequerycachingusingPDOtominimizedatabasehits.3)UseHTTP/2tomultiplexrequestsandreduceconnectionoverhead.4)Limitsessionusagebyclosin

PHP Dependency Injection: Improve Code TestabilityPHP Dependency Injection: Improve Code TestabilityMay 12, 2025 am 12:03 AM

Dependency injection (DI) significantly improves the testability of PHP code by explicitly transitive dependencies. 1) DI decoupling classes and specific implementations make testing and maintenance more flexible. 2) Among the three types, the constructor injects explicit expression dependencies to keep the state consistent. 3) Use DI containers to manage complex dependencies to improve code quality and development efficiency.

PHP Performance Optimization: Database Query OptimizationPHP Performance Optimization: Database Query OptimizationMay 12, 2025 am 12:02 AM

DatabasequeryoptimizationinPHPinvolvesseveralstrategiestoenhanceperformance.1)Selectonlynecessarycolumnstoreducedatatransfer.2)Useindexingtospeedupdataretrieval.3)Implementquerycachingtostoreresultsoffrequentqueries.4)Utilizepreparedstatementsforeffi

Simple Guide: Sending Email with PHP ScriptSimple Guide: Sending Email with PHP ScriptMay 12, 2025 am 12:02 AM

PHPisusedforsendingemailsduetoitsbuilt-inmail()functionandsupportivelibrarieslikePHPMailerandSwiftMailer.1)Usethemail()functionforbasicemails,butithaslimitations.2)EmployPHPMailerforadvancedfeatureslikeHTMLemailsandattachments.3)Improvedeliverability

PHP Performance: Identifying and Fixing BottlenecksPHP Performance: Identifying and Fixing BottlenecksMay 11, 2025 am 12:13 AM

PHP performance bottlenecks can be solved through the following steps: 1) Use Xdebug or Blackfire for performance analysis to find out the problem; 2) Optimize database queries and use caches, such as APCu; 3) Use efficient functions such as array_filter to optimize array operations; 4) Configure OPcache for bytecode cache; 5) Optimize the front-end, such as reducing HTTP requests and optimizing pictures; 6) Continuously monitor and optimize performance. Through these methods, the performance of PHP applications can be significantly improved.

Dependency Injection for PHP: a quick summaryDependency Injection for PHP: a quick summaryMay 11, 2025 am 12:09 AM

DependencyInjection(DI)inPHPisadesignpatternthatmanagesandreducesclassdependencies,enhancingcodemodularity,testability,andmaintainability.Itallowspassingdependencieslikedatabaseconnectionstoclassesasparameters,facilitatingeasiertestingandscalability.

Increase PHP Performance: Caching Strategies & TechniquesIncrease PHP Performance: Caching Strategies & TechniquesMay 11, 2025 am 12:08 AM

CachingimprovesPHPperformancebystoringresultsofcomputationsorqueriesforquickretrieval,reducingserverloadandenhancingresponsetimes.Effectivestrategiesinclude:1)Opcodecaching,whichstorescompiledPHPscriptsinmemorytoskipcompilation;2)DatacachingusingMemc

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

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

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools