« Home « Chủ đề program documentation

Chủ đề : program documentation


Có 40+ tài liệu thuộc chủ đề "program documentation"

O'Reilly Network For Information About's Book part 21

tailieu.vn

The Rails version of the app was fast, and faster even than the original Java version. But Ruby on Rails shines on the turns. More importantly, some of the factors worked against Java in the implementation:

O'Reilly Network For Information About's Book part 22

tailieu.vn

(If you use the Windows one-click installer, you'll get RubyGems with that distribution.) If you don't already have one,. You'll begin to get the Rails experience at install time. You'll notice that RubyGems will then attempt to build the documentation for each of the subcomponents and Rails. You can now generate a Rails project. You'll see a directory for each...

O'Reilly Network For Information About's Book part 23

tailieu.vn

You're going to need to update your trails table to point to the right row in the new locations table. ActiveRecord class in the Base module. It's time to modify some of the view code. The view code consists of HTML, with Ruby scripting mixed in, between the <% and %>. First, you'll need to make sure the view has...

O'Reilly Network For Information About's Book part 24

tailieu.vn

In my opinion, Rails represents a significant advance in the state of the art. By guiding your naming strategies in the database, Rails can save you lots of typing, and infer your intent by the consistent names that you provide.. And unlike Python, Groovy, and Lisp, Rails has generated an incredible buzz in the Java community right now.. language whose...

O'Reilly Network For Information About's Book part 25

tailieu.vn

In Ruby, a code block defines the universe for the continuation. You'll use a continuation object to hold the execution state, consisting of the execution stack.. You'll later invoke a call method on the continuation object to restore the system state, replacing the current execution state, including the call stack, with the one in the continuation object. The call returns...

O'Reilly Network For Information About's Book part 26

tailieu.vn

You can specify a link with a code block, so links don't get out of sync. From within the browser, you can open a web-based Smalltalk browser, complete with code. You can also inspect the values of all the objects in the application.. I just want you to see the power of the best continuations-based server. (You can also use...

O'Reilly Network For Information About's Book part 27

tailieu.vn

I'm pretty sure that continuation servers will prove to be important. Like Amazon, Seaside works around this limitation by providing a meaningful piece of the URL, followed by the continuation ID.. Most of the continuations in a server will have. Only the last part of the call stack should be different from one continuation to the next. Still, in the...

O'Reilly Network For Information About's Book part 28

tailieu.vn

SY: Well, I'd say Perl was pretty darn successful, and it's still one of the most popular languages around. Perl filled a desperate niche in the Unix-scripting world, and another with CGI. People keep reinventing or rediscovering it, but Lisp is also a family of families of mutually incompatible designs and implementations, and none of the existing ones looks like...

O'Reilly Network For Information About's Book part 29

tailieu.vn

The Next Big Thing. Of course, the whole premise of this book is arrogant beyond belief. I'm making an incredible number of assumptions and drawing some aggressive conclusions based on little more than a couple of dozen interviews, a keen sense of intuition, and a few massive piles of circumstantial evidence.. Java may need nothing more than a little overhaul....

O'Reilly Network For Information About's Book part 30

tailieu.vn

Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. The author and publisher have taken care in the preparation of this book, but make no expressed or implied warranty of any kind and assume no responsibility for errors or omissions. No liability is assumed for incidental or consequential damages in connection with...

O'Reilly Network For Information About's Book part 31

tailieu.vn

Beman Dawes, thank you for creating Boost in the first place, and for hooking me up with Addison-Wesley. Bjarne Stroustrup, thank you for providing guidance and pointing out important omissions from the nearly finished. Robert Stewart, thank you for the careful technical and general editing of this book. Rob has made this book much more consistent, more readable, and more...

O'Reilly Network For Information About's Book part 32

tailieu.vn

Function Objects and Higher-Order Programming Boost.Bind. Bind is a generalization of the Standard Library binders, bind1st and bind2nd.. This library does not have all of the requirements that are imposed by the Standard Library binders, most notably that there is often no need to provide the typedefs result_type , first_argument_type , and second_argument_type for your classes. It's an important and...

O'Reilly Network For Information About's Book part 33

tailieu.vn

Math and Numerics Boost.Integer. This library provides useful functionality for integer types, such as compile-time constants for the minimum and maximum values, [3] suitably sized types based on the number of required bits, static binary logarithm calculations, and more. The authors of Integer are Beman Dawes and Daryle Walker.. Boost.Interval. The authors of Interval are Guillaume Melquiond, Sylvain Pion, and...

O'Reilly Network For Information About's Book part 34

tailieu.vn

String and Text Processing Boost.Regex. The author of Regex is Dr. Boost.Spirit. The author of Spirit is Joel de Guzman, together with a team of skilled programmers.. Boost.String_algo. The author of String_algo is Pavol Droba.. Boost.Tokenizer. The author of Tokenizer is John Bandela.. Data Structures, Containers, Iterators, and Algorithms Boost.Any. The author of Any is Kevlin Henney.. Boost.Array. The author...

O'Reilly Network For Information About's Book part 35

tailieu.vn

Function Objects and Higher-Order Programming Boost.Bind. Bind is a generalization of the Standard Library binders, bind1st and bind2nd.. This library does not have all of the requirements that are imposed by the Standard Library binders, most notably that there is often no need to provide the typedefs result_type , first_argument_type , and second_argument_type for your classes. It's an important and...

O'Reilly Network For Information About's Book part 36

tailieu.vn

Math and Numerics Boost.Integer. This library provides useful functionality for integer types, such as compile-time constants for the minimum and maximum values, [3] suitably sized types based on the number of required bits, static binary logarithm calculations, and more. The authors of Integer are Beman Dawes and Daryle Walker.. Boost.Interval. The authors of Interval are Guillaume Melquiond, Sylvain Pion, and...

O'Reilly Network For Information About's Book part 37

tailieu.vn

Scoped resources using scoped_ptr and scoped_array make the code easier to write and maintain, and helps in writing exception-safe code.. scoped_ptr. Header: "boost/scoped_ptr.hpp". boost::scoped_ptr is used to ensure the proper deletion of a dynamically allocated object. scoped_ptr has similar characteristics to std::auto_ptr , with the important difference that it doesn't transfer ownership the way an. auto_ptr does. In fact, a...

O'Reilly Network For Information About's Book part 38

tailieu.vn

scoped_array. Header: "boost/scoped_array.hpp". [5] Dynamically allocated arrays are exposed to the same dangers as ordinary pointers, with the added (and all too common) mistake of invoking the delete operator instead of the. I've seen that mistake in places one could hardly imagine, such as in widely used, proprietary container classes! scoped_array does for arrays what scoped_ptr does for pointers to...

O'Reilly Network For Information About's Book part 39

tailieu.vn

Note that it is also possible to test whether a shared_ptr contains a valid pointer by using the implicit Boolean conversion. This function returns true if the shared_ptr is the sole owner of the stored pointer. especially useful for debugging purposes, because it can be used to get snapshots of the reference count at critical points of program execution. For...

O'Reilly Network For Information About's Book part 40

tailieu.vn

There is support for such cases in shared_ptr tHRough what is called custom deleters. To use a FILE* in a shared_ptr , we define a class that is responsible for deallocating the resource.. "shared_ptr example with a custom deallocator.\n";. boost::shared_ptr<FILE>. Note that to get the resource, we need to use the unpronounceable &* idiom, get , or get_pointer on the...