首页 \ 问答 \ 用C编写的低级问题的示例解决方案[关闭](Sample solutions for low-level problems written in C [closed])

用C编写的低级问题的示例解决方案[关闭](Sample solutions for low-level problems written in C [closed])

有谁知道我在哪里可以找到用C语言编写的低级/系统级应用程序的示例解决方案? 一个非常好的网站或书籍推荐也会很酷。

我已经学习了一些基础知识,但是希望在用C编写的真实解决方案的上下文中看到一些代码,特别是对于较低级别的问题。 例如,Id'对如何在OS编程环境中使用C感兴趣。 C用于低级编程的一些领域是什么?

谢谢。


Does anyone know where I might find sample solutions written in C for low level / systems level applications? A really good website or book recommendation would be cool too.

I've learned some of the basics, but would like to see some code within the context of a real solution written in C, and specifically for a lower-level problem. Id' be interested in how C is used within the context of OS programming, for example. What are some areas where C is used for lower-level programming?

Thanks.


原文:https://stackoverflow.com/questions/6655135
更新时间:2022-05-19 20:05

最满意答案

Struts 2标签有不同类型。

表单标签特别有用,但它们的功能完全取决于所使用的Struts 2主题。 "simple"主题几乎没有超出标准HTML标签的好处。 默认的"xhtml"主题会发出表格行和一些样式。 自定义主题实现您想要的任何功能。 无论主题如何,底层JSP源都不需要改变。

主要优点是:

  • 验证错误消息
  • 表单呈现/样式
  • 框架集成(例如,从操作自动填充的值)

还有一组Dojo(非常弃用)和jQuery标记,它们在自定义标记中包含了大量的JavaScript功能,这使得简单的动态功能变得非常简单。

还有非视图标记,如<s:iterator>等。它们的一些功能是JSTL的副本(在迭代器标记的情况下为<c:forEach> )。 在功能重叠时,在这种情况下使用S2标签没有太多好处。

某些标签没有JSTL模拟,如<s:merge><s:sort> 。 ,该功能是否适用于视图层是一个不同的讨论。 有些提供了与Struts 2的其他方面的集成,如I18N(例如, <s:text> )。 有些人了解Struts 2配置(例如, <s:url> )。

任何自定义标记的目的是简化视图层编程(例如,JSP)。 S2提供了很多标签来帮助解决这个问题。 有些是简单和通用的(非UI标签),而UI标签是使用FreeMarker实现的,并且可以大量定制。


There are different types of Struts 2 tags.

Form tags in particular are beneficial, but their functionality depends entire on the Struts 2 theme being used. The "simple" theme provides almost no benefit beyond standard HTML tags. The default "xhtml" theme emits form table rows and some styling. Custom themes implement whatever functionality you desire. Regardless of the theme the underlying JSP source never needs to change.

The primary advantages being:

  • Validation error messages
  • Form presentation/styling
  • Framework integration (e.g., value automatically filled from action)

There are also a set of Dojo (very deprecated) and jQuery tags that wrap up a fair amount of JavaScript functionality in custom tags, which makes simple dynamic functionality very simple.

There are also non-view tags, like <s:iterator> etc. Some of their functionality is a duplicate of JSTL (<c:forEach> in the case of the iterator tag). There aren't a huge number of benefits to using the S2 tags in this case when functionality overlaps.

Some tags have no JSTL analog, like <s:merge> or <s:sort>. , Whether or not that's functionality suitable for the view layer is a different discussion. Some provide integration into other aspects of Struts 2, like I18N (e.g., <s:text>). Some understand about Struts 2 configuration (e.g., <s:url>).

The purpose of any custom tag is to simplify view layer programming (e.g., JSP). S2 provides a lot of tags to help with that. Some are simple and generic (non-UI tags), while the UI tags are implemented using FreeMarker and are heavily customizable.

相关问答

更多

相关文章

更多

最新问答

更多
  • 获取MVC 4使用的DisplayMode后缀(Get the DisplayMode Suffix being used by MVC 4)
  • 如何通过引用返回对象?(How is returning an object by reference possible?)
  • 矩阵如何存储在内存中?(How are matrices stored in memory?)
  • 每个请求的Java新会话?(Java New Session For Each Request?)
  • css:浮动div中重叠的标题h1(css: overlapping headlines h1 in floated divs)
  • 无论图像如何,Caffe预测同一类(Caffe predicts same class regardless of image)
  • xcode语法颜色编码解释?(xcode syntax color coding explained?)
  • 在Access 2010 Runtime中使用Office 2000校对工具(Use Office 2000 proofing tools in Access 2010 Runtime)
  • 从单独的Web主机将图像传输到服务器上(Getting images onto server from separate web host)
  • 从旧版本复制文件并保留它们(旧/新版本)(Copy a file from old revision and keep both of them (old / new revision))
  • 西安哪有PLC可控制编程的培训
  • 在Entity Framework中选择基类(Select base class in Entity Framework)
  • 在Android中出现错误“数据集和渲染器应该不为null,并且应该具有相同数量的系列”(Error “Dataset and renderer should be not null and should have the same number of series” in Android)
  • 电脑二级VF有什么用
  • Datamapper Ruby如何添加Hook方法(Datamapper Ruby How to add Hook Method)
  • 金华英语角.
  • 手机软件如何制作
  • 用于Android webview中图像保存的上下文菜单(Context Menu for Image Saving in an Android webview)
  • 注意:未定义的偏移量:PHP(Notice: Undefined offset: PHP)
  • 如何读R中的大数据集[复制](How to read large dataset in R [duplicate])
  • Unity 5 Heighmap与地形宽度/地形长度的分辨率关系?(Unity 5 Heighmap Resolution relationship to terrain width / terrain length?)
  • 如何通知PipedOutputStream线程写入最后一个字节的PipedInputStream线程?(How to notify PipedInputStream thread that PipedOutputStream thread has written last byte?)
  • python的访问器方法有哪些
  • DeviceNetworkInformation:哪个是哪个?(DeviceNetworkInformation: Which is which?)
  • 在Ruby中对组合进行排序(Sorting a combination in Ruby)
  • 网站开发的流程?
  • 使用Zend Framework 2中的JOIN sql检索数据(Retrieve data using JOIN sql in Zend Framework 2)
  • 条带格式类型格式模式编号无法正常工作(Stripes format type format pattern number not working properly)
  • 透明度错误IE11(Transparency bug IE11)
  • linux的基本操作命令。。。