1024programmer PHP Regarding the LazyPHP framework, please give me some advice.

Regarding the LazyPHP framework, please give me some advice.

Regarding the LazyPHP framework, need guidance?
$data[‘title’] = $data[‘top_title’] = ‘Homepage’;
Finally, what does the equal sign “Home Page” mean?
Is the render function equivalent to $ob->assign?

Share to:

——Solution——————–
$data[ ‘title’] = $data[‘top_title’] = ‘Homepage’;
Assign values ​​to $data[‘title’] and $data[‘top_title’] at the same time

The render function is used to load and execute templates
The template is still php-html mixed code
LazyPHP is only responsible for scheduling between modules

The sample files need to be run in an environment with short tags enabled

Since there is no template engine and ORM, 1.18M seems too bloated
——Solution—————- —-

Quote:

$data[‘title’] = $data[‘top_title’] = ‘Home’ ;
Finally, what does the equal sign “Home Page” mean?
Is the render function equivalent to $ob->assign

Lao Han, can you do it?
——Solution——————–
Doesn’t the equal sign mean assignment?

This article is from the internet and does not represent1024programmerPosition, please indicate the source when reprinting:https://www.1024programmer.com/regarding-the-lazyphp-framework-please-give-me-some-advice-3/

author: admin

Previous article
Next article

Leave a Reply

Your email address will not be published. Required fields are marked *

Contact Us

Contact us

181-3619-1160

Online consultation: QQ交谈

E-mail: [email protected]

Working hours: Monday to Friday, 9:00-17:30, holidays off

Follow wechat
Scan wechat and follow us

Scan wechat and follow us

Follow Weibo
Back to top
首页
微信
电话
搜索